summaryrefslogtreecommitdiff
path: root/comms/mgetty+sendfax
diff options
context:
space:
mode:
authorfredb <fredb@pkgsrc.org>2003-09-25 20:27:12 +0000
committerfredb <fredb@pkgsrc.org>2003-09-25 20:27:12 +0000
commit9822853b79d024fe786349c99c6f007ef1880164 (patch)
treecd042f79627168d17a9e35dc4edf6038769072c2 /comms/mgetty+sendfax
parent23e32f03a1e5f792611b2f67e29d30752c93b3f2 (diff)
downloadpkgsrc-9822853b79d024fe786349c99c6f007ef1880164.tar.gz
Make this compile on NetBSD-current.
Diffstat (limited to 'comms/mgetty+sendfax')
-rw-r--r--comms/mgetty+sendfax/distinfo3
-rw-r--r--comms/mgetty+sendfax/patches/patch-af17
2 files changed, 19 insertions, 1 deletions
diff --git a/comms/mgetty+sendfax/distinfo b/comms/mgetty+sendfax/distinfo
index 3e3b76044a4..4b20d377cec 100644
--- a/comms/mgetty+sendfax/distinfo
+++ b/comms/mgetty+sendfax/distinfo
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.12 2003/09/20 16:39:34 fredb Exp $
+$NetBSD: distinfo,v 1.13 2003/09/25 20:27:12 fredb Exp $
SHA1 (mgetty1.1.30-Dec16.tar.gz) = aea2a4c999f167e2311e797b164d4797baf328c4
Size (mgetty1.1.30-Dec16.tar.gz) = 969967 bytes
@@ -7,6 +7,7 @@ SHA1 (patch-ab) = ef88867f22b963015b9decaac69829653348c852
SHA1 (patch-ac) = 1ff9866dd8a54fca4fa59d5144117fa3b46a9b4f
SHA1 (patch-ad) = 27fcebfe959a1d24657f504b89017fa3a58ae6c1
SHA1 (patch-ae) = f274db8059463f8b915c2d2faa86aa0e956e5a2c
+SHA1 (patch-af) = 9c4c62ba7f509cbdd4735fe1f08e488cfa769403
SHA1 (patch-ag) = 943aa837a285663ff6cf5ab07c3f908f499c2074
SHA1 (patch-ai) = d3f4795898b435b04124cac5af0289157a86c659
SHA1 (patch-aj) = 37d88c1a4f8d5826f7113dd120c32e89cc442e5d
diff --git a/comms/mgetty+sendfax/patches/patch-af b/comms/mgetty+sendfax/patches/patch-af
new file mode 100644
index 00000000000..c1519f803ff
--- /dev/null
+++ b/comms/mgetty+sendfax/patches/patch-af
@@ -0,0 +1,17 @@
+$NetBSD: patch-af,v 1.5 2003/09/25 20:27:12 fredb Exp $
+
+--- logfile.c.orig 2002-11-25 07:08:26.000000000 -0600
++++ logfile.c
+@@ -56,9 +56,11 @@ extern int atexit _PROTO(( void (*)(void
+ /* Most systems have these variables but do not declare them. On many
+ of those systems that _do_ declare them, it won't hurt */
+
++#if !defined(__NetBSD__)
+ extern int sys_nerr;
+-#if !defined(__NetBSD__) && !defined( __FreeBSD__ ) && !defined(__OpenBSD__) && !defined(__GLIBC__) && !defined(__MACH__)
++# if !defined( __FreeBSD__ ) && !defined(__OpenBSD__) && !defined(__GLIBC__) && !defined(__MACH__)
+ extern char *sys_errlist[];
++# endif
+ #endif
+
+ /* Interactive Unix is a little bit braindead - does not have atexit(),