aboutsummaryrefslogtreecommitdiffstats
path: root/net
diff options
context:
space:
mode:
authorkris <kris@FreeBSD.org>2002-08-24 04:01:38 +0800
committerkris <kris@FreeBSD.org>2002-08-24 04:01:38 +0800
commitc24035c46f833ee62d92370fbd5456257092d2c4 (patch)
tree2d8eed4d6b225760fff9f192d82737875fd10503 /net
parentd05f469bc7d104f0f47827a84395a4310e591d05 (diff)
downloadfreebsd-ports-gnome-c24035c46f833ee62d92370fbd5456257092d2c4.tar.gz
freebsd-ports-gnome-c24035c46f833ee62d92370fbd5456257092d2c4.tar.zst
freebsd-ports-gnome-c24035c46f833ee62d92370fbd5456257092d2c4.zip
Don't try and guess what the type of sys_nerr is, use <stdio.h> instead.
Diffstat (limited to 'net')
-rw-r--r--net/NeTraMet/files/patch-ab10
-rw-r--r--net/NeTraMet/files/patch-ac10
2 files changed, 20 insertions, 0 deletions
diff --git a/net/NeTraMet/files/patch-ab b/net/NeTraMet/files/patch-ab
new file mode 100644
index 000000000000..2e8a7d40164b
--- /dev/null
+++ b/net/NeTraMet/files/patch-ab
@@ -0,0 +1,10 @@
+--- ./src/bgp/integrat/readbgp.c.orig Fri Aug 23 12:46:49 2002
++++ ./src/bgp/integrat/readbgp.c Fri Aug 23 12:47:36 2002
+@@ -115,7 +115,6 @@
+ #ifdef __unix__
+ #define min(a,b) (((a) < (b)) ? (a) : (b))
+ #define _sys_errlist sys_errlist
+-int sys_nerr;
+ #if !defined(ALPHA) && !defined(IRIX)
+ extern const char *const sys_errlist[];
+ #endif
diff --git a/net/NeTraMet/files/patch-ac b/net/NeTraMet/files/patch-ac
new file mode 100644
index 000000000000..a8d5023085f5
--- /dev/null
+++ b/net/NeTraMet/files/patch-ac
@@ -0,0 +1,10 @@
+--- ./src/bgp/types/types.h.orig Fri Aug 23 12:48:29 2002
++++ ./src/bgp/types/types.h Fri Aug 23 12:48:35 2002
+@@ -392,7 +392,6 @@
+ * under UNIX
+ */
+ #define _sys_errlist sys_errlist
+-extern int sys_nerr;
+ #if !defined(ALPHA) && !defined(IRIX)
+ extern const char *const sys_errlist[];
+ #endif