aboutsummaryrefslogtreecommitdiffstats
path: root/print/virtualpaper
diff options
context:
space:
mode:
authorjdp <jdp@FreeBSD.org>1997-07-11 13:19:18 +0800
committerjdp <jdp@FreeBSD.org>1997-07-11 13:19:18 +0800
commit417a1c2a18348ec2430681f1f01820abf32698bb (patch)
treeee5e103db02365e9cc055559ba2b3b3c7109e332 /print/virtualpaper
parent97aeb5dcf22e83673d0cfa0fa3009cf317cfa4a8 (diff)
downloadfreebsd-ports-gnome-417a1c2a18348ec2430681f1f01820abf32698bb.tar.gz
freebsd-ports-gnome-417a1c2a18348ec2430681f1f01820abf32698bb.tar.zst
freebsd-ports-gnome-417a1c2a18348ec2430681f1f01820abf32698bb.zip
Fix PR ports/3572 by using mkfifo instead of mknod. Update for new
shared library version numbers in the modula-3-lib port. PR: Closes ports/3572 Submitted by: gjm11@dpmms.cam.ac.uk (Gareth McCaughan)
Diffstat (limited to 'print/virtualpaper')
-rw-r--r--print/virtualpaper/Makefile6
-rw-r--r--print/virtualpaper/files/patch-ab19
2 files changed, 22 insertions, 3 deletions
diff --git a/print/virtualpaper/Makefile b/print/virtualpaper/Makefile
index 0ae0cde9a4a9..5dec86b7da7e 100644
--- a/print/virtualpaper/Makefile
+++ b/print/virtualpaper/Makefile
@@ -3,7 +3,7 @@
# Date created: 13 June 1996
# Whom: jkh
#
-# $Id: Makefile,v 1.4 1996/11/27 12:08:48 asami Exp $
+# $Id: Makefile,v 1.5 1997/03/27 18:35:41 jdp Exp $
#
DISTNAME= virtualpaper-1.4
@@ -13,8 +13,8 @@ DISTFILES= sources.tar.Z
MAINTAINER= jdp@FreeBSD.org
-BUILD_DEPENDS= m3build-4:${PORTSDIR}/lang/modula-3
-LIB_DEPENDS= m3\\.4\\.:${PORTSDIR}/lang/modula-3-lib
+BUILD_DEPENDS= m3build-5:${PORTSDIR}/lang/modula-3
+LIB_DEPENDS= m3\\.5\\.:${PORTSDIR}/lang/modula-3-lib
DIST_SUBDIR= virtualpaper-1.4
MAN1= LecternClient.1 Lectern.1 BuildLectern.1 EditLectern.1
diff --git a/print/virtualpaper/files/patch-ab b/print/virtualpaper/files/patch-ab
new file mode 100644
index 000000000000..f3f0c6eae178
--- /dev/null
+++ b/print/virtualpaper/files/patch-ab
@@ -0,0 +1,19 @@
+Use mkfifo instead of mknod to create a FIFO. Mknod require root
+privileges.
+
+Index: buildlectern/src/POSIX/OSUtilsPosix.m3
+--- OSUtilsPosix.m3.orig Mon May 20 13:04:46 1996
++++ OSUtilsPosix.m3 Thu Jul 10 21:03:34 1997
+@@ -32,10 +32,10 @@
+ VAR pFifo: TEXT := NIL;
+
+ PROCEDURE CreateFifo(p: TEXT) RAISES {OSError.E} =
+- CONST Mode = Unix.fifo_special + Unix.MROWNER + Unix.MWOWNER;
++ CONST Mode = Unix.MROWNER + Unix.MWOWNER;
+ BEGIN
+ <* ASSERT pFifo=NIL *>
+- IF Unix.mknod(M3toC.TtoS(p), Mode, 0) < 0 THEN
++ IF Unix.mkfifo(M3toC.TtoS(p), Mode) < 0 THEN
+ OSErrorPosix.Raise();
+ END;
+ pFifo := p;