summaryrefslogtreecommitdiff
path: root/security/netramet
diff options
context:
space:
mode:
authormarkd <markd@pkgsrc.org>2004-03-24 11:32:07 +0000
committermarkd <markd@pkgsrc.org>2004-03-24 11:32:07 +0000
commitdc53678309df5fedd2d404d7a20a076cae325037 (patch)
treeec78a47ea69ee003c7dcf1c08b067602e5a027f7 /security/netramet
parentea69671ae86eb511bcbc36141777e1e29e351e73 (diff)
downloadpkgsrc-dc53678309df5fedd2d404d7a20a076cae325037.tar.gz
Use declaration of sys_nerr from <errno.h> rather than redeclaring it.
Fixes problem seen in bulk builds.
Diffstat (limited to 'security/netramet')
-rw-r--r--security/netramet/distinfo3
-rw-r--r--security/netramet/patches/patch-ac14
2 files changed, 16 insertions, 1 deletions
diff --git a/security/netramet/distinfo b/security/netramet/distinfo
index bbca313ea54..379abd5075d 100644
--- a/security/netramet/distinfo
+++ b/security/netramet/distinfo
@@ -1,6 +1,7 @@
-$NetBSD: distinfo,v 1.3 2002/04/03 02:09:54 itojun Exp $
+$NetBSD: distinfo,v 1.4 2004/03/24 11:32:07 markd Exp $
SHA1 (NeTraMet44.tar.gz) = 7848d6aa81b29966127fc78afcd9375c60441a91
Size (NeTraMet44.tar.gz) = 634714 bytes
SHA1 (patch-aa) = 5aa23af5263c719a53a453840646ddc3868d7461
SHA1 (patch-ab) = 10fc930d9673556d7a856c70d3fdcb5be29f23fd
+SHA1 (patch-ac) = 28b5e94acbe3b0d35f05bc36f4008c4957a1c44b
diff --git a/security/netramet/patches/patch-ac b/security/netramet/patches/patch-ac
new file mode 100644
index 00000000000..526303f4eef
--- /dev/null
+++ b/security/netramet/patches/patch-ac
@@ -0,0 +1,14 @@
+$NetBSD: patch-ac,v 1.1 2004/03/24 11:32:07 markd Exp $
+
+--- src/bgp/types/types.h.orig 2004-03-24 23:07:49.000000000 +1200
++++ src/bgp/types/types.h
+@@ -395,7 +395,9 @@ typedef void (*vfp)( void );
+ * under UNIX
+ */
+ #define _sys_errlist sys_errlist
++#if !defined(NETBSD)
+ extern int sys_nerr;
++#endif
+ #if !defined(ALPHA) && !defined(IRIX) && !defined(NETBSD)
+ extern const char *const sys_errlist[];
+ #endif