pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/security/netramet Use declaration of sys_nerr from <er...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/71254b00a936
branches:  trunk
changeset: 471290:71254b00a936
user:      markd <markd%pkgsrc.org@localhost>
date:      Wed Mar 24 11:32:07 2004 +0000

description:
Use declaration of sys_nerr from <errno.h> rather than redeclaring it.
Fixes problem seen in bulk builds.

diffstat:

 security/netramet/distinfo         |   3 ++-
 security/netramet/patches/patch-ac |  14 ++++++++++++++
 2 files changed, 16 insertions(+), 1 deletions(-)

diffs (30 lines):

diff -r 6e7a072b2603 -r 71254b00a936 security/netramet/distinfo
--- a/security/netramet/distinfo        Wed Mar 24 02:33:20 2004 +0000
+++ b/security/netramet/distinfo        Wed Mar 24 11:32:07 2004 +0000
@@ -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 -r 6e7a072b2603 -r 71254b00a936 security/netramet/patches/patch-ac
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/security/netramet/patches/patch-ac        Wed Mar 24 11:32:07 2004 +0000
@@ -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



Home | Main Index | Thread Index | Old Index