summaryrefslogtreecommitdiff
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
parent68cfcf68ddfa814f9a1b7c38ef563bb583f5ce5e (diff)
downloadpkgsrc-71a4eef1ce2be395a32b69644b3a15abadc72291.tar.gz
Include "errno.h" instead of defining "sys_errlist" manually to avoid
link time warnings.
-rw-r--r--mail/faces/files/patch-sum5
-rw-r--r--mail/faces/patches/patch-af19
-rw-r--r--mail/faces/patches/patch-av17
3 files changed, 36 insertions, 5 deletions
diff --git a/mail/faces/files/patch-sum b/mail/faces/files/patch-sum
index db1c361067b..cf1476d327e 100644
--- a/mail/faces/files/patch-sum
+++ b/mail/faces/files/patch-sum
@@ -1,11 +1,11 @@
-$NetBSD: patch-sum,v 1.8 2000/09/06 12:25:08 tron Exp $
+$NetBSD: patch-sum,v 1.9 2000/09/06 12:31:50 tron Exp $
MD5 (patch-aa) = 052e47d7ef63e511fcd5d2d1cc306ba1
MD5 (patch-ab) = 20c7e9729e4e6362b36ccc5292fabf74
MD5 (patch-ac) = 879d80dffc8849bda76b2a5e1bbecc98
MD5 (patch-ad) = 8c46ea454eaf308aaa2940b051974dfd
MD5 (patch-ae) = f56893cac29f4610d535974407a47fa5
-MD5 (patch-af) = 23e22d4fcbd94ef7f89cb6f87739489e
+MD5 (patch-af) = e7ae9ed5dba73ff5660dfc034c7dcb86
MD5 (patch-ag) = 90af4d1d52cbba989a41178b987662dc
MD5 (patch-ah) = 0222f2df5bf77e662da4e13a672e4461
MD5 (patch-ai) = 434b15d197e77379bb420c9fb0fff138
@@ -21,3 +21,4 @@ MD5 (patch-ar) = 1f692c496ff98cac060c3f560ef9b2f3
MD5 (patch-as) = a43e19748e3bef604d57900618e48895
MD5 (patch-at) = 09190a1be51620a034ee326cc3befd74
MD5 (patch-au) = 17557ea50fc9fbc20faa3fbf8c1d4c6b
+MD5 (patch-av) = e8c5c48214b792bd75cbbdc4162e6dba
diff --git a/mail/faces/patches/patch-af b/mail/faces/patches/patch-af
index b7d20674806..260e00b2d72 100644
--- a/mail/faces/patches/patch-af
+++ b/mail/faces/patches/patch-af
@@ -1,7 +1,7 @@
-$NetBSD: patch-af,v 1.3 2000/07/08 12:47:05 tron Exp $
+$NetBSD: patch-af,v 1.4 2000/09/06 12:31:50 tron Exp $
--- compface/uncmain.c.orig Thu Oct 24 03:28:07 1991
-+++ compface/uncmain.c Sat Jul 8 14:25:27 2000
++++ compface/uncmain.c Wed Sep 6 14:28:50 2000
@@ -18,6 +18,8 @@
#include <fcntl.h>
#include "compface.h"
@@ -11,7 +11,20 @@ $NetBSD: patch-af,v 1.3 2000/07/08 12:47:05 tron Exp $
/* the buffer is longer than needed to handle sparse input formats */
#define FACEBUFLEN 2048
char fbuf[FACEBUFLEN];
-@@ -59,6 +61,13 @@
+@@ -33,8 +35,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)) ;
+
+@@ -59,6 +65,13 @@
while (**argv)
if (*((*argv)++) == '/')
cmdname = *argv; /* find the command's basename */
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)) ;
+