summaryrefslogtreecommitdiffstats
path: root/comms
diff options
context:
space:
mode:
authorjmz <jmz@FreeBSD.org>2003-02-05 20:33:44 +0000
committerjmz <jmz@FreeBSD.org>2003-02-05 20:33:44 +0000
commit42ec7d18a22ff4ad16f4e63d1367738968c437ea (patch)
tree8aacfc758a793d9e935e0f6283aaced42a326ece /comms
parente7155cc3abadb255ce4ffc6862d746b7edabea7e (diff)
downloadFreeBSD-ports-42ec7d18a22ff4ad16f4e63d1367738968c437ea.zip
FreeBSD-ports-42ec7d18a22ff4ad16f4e63d1367738968c437ea.tar.gz
Fix build on 5.0.
Diffstat (limited to 'comms')
-rw-r--r--comms/mgetty+sendfax/Makefile3
-rw-r--r--comms/mgetty+sendfax/files/patch-e12
2 files changed, 15 insertions, 0 deletions
diff --git a/comms/mgetty+sendfax/Makefile b/comms/mgetty+sendfax/Makefile
index 0d7cbdf..cb58cb8 100644
--- a/comms/mgetty+sendfax/Makefile
+++ b/comms/mgetty+sendfax/Makefile
@@ -7,12 +7,15 @@
PORTNAME= mgetty
PORTVERSION= 1.1.30.12.16
+PORTREVISION= 1
CATEGORIES= comms
MASTER_SITES= ftp://alpha.greenie.net/pub/mgetty/source/1.1/
DISTNAME= mgetty1.1.30-Dec16
MAINTAINER= jmz@FreeBSD.org
+USE_PERL5= yes
+
WRKSRC= ${WRKDIR}/mgetty-1.1.30
MAKE_FLAGS= prefix=${PREFIX} -f
MAN1= autopvf.1 \
diff --git a/comms/mgetty+sendfax/files/patch-e b/comms/mgetty+sendfax/files/patch-e
new file mode 100644
index 0000000..e5b2479
--- /dev/null
+++ b/comms/mgetty+sendfax/files/patch-e
@@ -0,0 +1,12 @@
+--- logfile.c.orig Wed Feb 5 21:21:46 2003
++++ logfile.c Wed Feb 5 21:22:20 2003
+@@ -56,8 +56,8 @@
+ /* Most systems have these variables but do not declare them. On many
+ of those systems that _do_ declare them, it won't hurt */
+
+-extern int sys_nerr;
+ #if !defined(__NetBSD__) && !defined( __FreeBSD__ ) && !defined(__OpenBSD__) && !defined(__GLIBC__) && !defined(__MACH__)
++extern int sys_nerr;
+ extern char *sys_errlist[];
+ #endif
+
OpenPOWER on IntegriCloud