summaryrefslogtreecommitdiff
path: root/comms/mgetty+sendfax/patches
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
commitb48fd375df3c9672911a269bab2a7a7194a57668 (patch)
treecd042f79627168d17a9e35dc4edf6038769072c2 /comms/mgetty+sendfax/patches
parent24fa2e6f99db4af704aec0a4e45a19449c8ac213 (diff)
downloadpkgsrc-b48fd375df3c9672911a269bab2a7a7194a57668.tar.gz
Make this compile on NetBSD-current.
Diffstat (limited to 'comms/mgetty+sendfax/patches')
-rw-r--r--comms/mgetty+sendfax/patches/patch-af17
1 files changed, 17 insertions, 0 deletions
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(),