aboutsummaryrefslogtreecommitdiffstats
path: root/print
diff options
context:
space:
mode:
authorbrian <brian@FreeBSD.org>2002-06-06 05:46:08 +0800
committerbrian <brian@FreeBSD.org>2002-06-06 05:46:08 +0800
commitc3e1b5e93bc5a65ef8c113bc2b18e387a39e52f6 (patch)
tree99da9aedaa5077484e7d3b63efcd2f1fc717ccd9 /print
parent71a1405218ab2b49a603a98c3b30c3528f7a8f46 (diff)
downloadfreebsd-ports-gnome-c3e1b5e93bc5a65ef8c113bc2b18e387a39e52f6.tar.gz
freebsd-ports-gnome-c3e1b5e93bc5a65ef8c113bc2b18e387a39e52f6.tar.zst
freebsd-ports-gnome-c3e1b5e93bc5a65ef8c113bc2b18e387a39e52f6.zip
Don't mis-prototype sys_nerr
Diffstat (limited to 'print')
-rw-r--r--print/ghostview/files/patch-aa25
-rw-r--r--print/ghostview/files/patch-ab25
2 files changed, 26 insertions, 24 deletions
diff --git a/print/ghostview/files/patch-aa b/print/ghostview/files/patch-aa
index 62bf2701f2a1..da80bc7b08ef 100644
--- a/print/ghostview/files/patch-aa
+++ b/print/ghostview/files/patch-aa
@@ -1,12 +1,13 @@
-*** misc.c.orig Fri Oct 21 22:36:09 1994
---- misc.c Fri Oct 21 22:36:20 1994
-***************
-*** 61,67 ****
- #include <perror.h>
- #else
- extern int sys_nerr;
-- extern char *sys_errlist[];
- #endif
-
- #include "Ghostview.h"
---- 61,66 ----
+--- misc.c.orig Sat Jul 24 03:29:12 1993
++++ misc.c Wed Jun 5 22:41:39 2002
+@@ -60,8 +60,9 @@
+ #ifdef VMS
+ #include <perror.h>
+ #else
++#ifndef __FreeBSD__
+ extern int sys_nerr;
+-extern char *sys_errlist[];
++#endif
+ #endif
+
+ #include "Ghostview.h"
diff --git a/print/ghostview/files/patch-ab b/print/ghostview/files/patch-ab
index 6efae3f78d8d..9a5135290338 100644
--- a/print/ghostview/files/patch-ab
+++ b/print/ghostview/files/patch-ab
@@ -1,12 +1,13 @@
-*** SelFile.c.orig Fri Oct 21 22:37:11 1994
---- SelFile.c Fri Oct 21 22:37:17 1994
-***************
-*** 46,52 ****
- /* BSD 4.3 errno.h does not declare errno */
- extern int errno;
- extern int sys_nerr;
-- extern char *sys_errlist[];
-
- #include <sys/param.h>
- #include <X11/cursorfont.h>
---- 46,51 ----
+--- SelFile.c.orig Sat Jul 24 03:29:12 1993
++++ SelFile.c Wed Jun 5 22:43:26 2002
+@@ -45,8 +45,9 @@
+ #include <errno.h>
+ /* BSD 4.3 errno.h does not declare errno */
+ extern int errno;
++#ifndef __FreeBSD__
+ extern int sys_nerr;
+-extern char *sys_errlist[];
++#endif
+
+ #include <sys/param.h>
+ #include <X11/cursorfont.h>