summaryrefslogtreecommitdiff
path: root/comms/mgetty+sendfax/patches
diff options
context:
space:
mode:
authorfredb <fredb>2003-09-25 20:27:12 +0000
committerfredb <fredb>2003-09-25 20:27:12 +0000
commit8707d916942bbd66abaedc5e2c2f8f05695b3b65 (patch)
treecd042f79627168d17a9e35dc4edf6038769072c2 /comms/mgetty+sendfax/patches
parent55774f074bd8b313d89ca0f0c16d3143c8d495a4 (diff)
downloadpkgsrc-8707d916942bbd66abaedc5e2c2f8f05695b3b65.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(),