summaryrefslogtreecommitdiff
path: root/mail/faces/patches/patch-av
diff options
context:
space:
mode:
authortron <tron>2000-09-06 12:31:50 +0000
committertron <tron>2000-09-06 12:31:50 +0000
commit71a4eef1ce2be395a32b69644b3a15abadc72291 (patch)
tree75f3a584988b389ea6c838aedef522ea992b0f2b /mail/faces/patches/patch-av
parent68cfcf68ddfa814f9a1b7c38ef563bb583f5ce5e (diff)
downloadpkgsrc-71a4eef1ce2be395a32b69644b3a15abadc72291.tar.gz
Include "errno.h" instead of defining "sys_errlist" manually to avoid
link time warnings.
Diffstat (limited to 'mail/faces/patches/patch-av')
-rw-r--r--mail/faces/patches/patch-av17
1 files changed, 17 insertions, 0 deletions
diff --git a/mail/faces/patches/patch-av b/mail/faces/patches/patch-av
new file mode 100644
index 00000000000..85be937c961
--- /dev/null
+++ b/mail/faces/patches/patch-av
@@ -0,0 +1,17 @@
+$NetBSD: patch-av,v 1.1 2000/09/06 12:31:50 tron Exp $
+
+--- compface/cmain.c.orig Thu Oct 24 03:28:07 1991
++++ compface/cmain.c Wed Sep 6 14:26:33 2000
+@@ -33,8 +33,12 @@
+
+ /* error handling definitions follow */
+
++#ifdef __NetBSD__
++#include <errno.h>
++#else
+ extern int errno, sys_nerr;
+ extern char *sys_errlist[];
++#endif
+
+ extern void exit P((int)) ;
+