summaryrefslogtreecommitdiff
path: root/net/nocol
diff options
context:
space:
mode:
authordholland <dholland@pkgsrc.org>2011-10-03 06:59:49 +0000
committerdholland <dholland@pkgsrc.org>2011-10-03 06:59:49 +0000
commit71ec4f5b75f603380efe9d76a50c83ccfffc795b (patch)
treef921cbba53d0d5295524ce78489016d2c3aa9906 /net/nocol
parentbf0d52187d4409d25b8e44ce703c29f71d4f5d6b (diff)
downloadpkgsrc-71ec4f5b75f603380efe9d76a50c83ccfffc795b.tar.gz
fix problem with sys_errlist; still doesn't build though.
Diffstat (limited to 'net/nocol')
-rw-r--r--net/nocol/distinfo5
-rw-r--r--net/nocol/patches/patch-an8
-rw-r--r--net/nocol/patches/patch-strerror_c15
3 files changed, 23 insertions, 5 deletions
diff --git a/net/nocol/distinfo b/net/nocol/distinfo
index f60258e06dd..fccc007cb1c 100644
--- a/net/nocol/distinfo
+++ b/net/nocol/distinfo
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.11 2008/10/02 17:40:43 joerg Exp $
+$NetBSD: distinfo,v 1.12 2011/10/03 06:59:49 dholland Exp $
SHA1 (nocol-4.3.1.tar.gz) = a8cb88727bc3a3ddd544792407d431b3ef13a325
RMD160 (nocol-4.3.1.tar.gz) = 77a57ae447f0a8f1ce2417d9b828710f21865cc8
@@ -14,10 +14,11 @@ SHA1 (patch-aj) = 0eb201f47864132b04702fab4d03e452c07c2e2a
SHA1 (patch-ak) = 8013fbe6dbff80749dbdc0d0fad391741e48a468
SHA1 (patch-al) = aa4fa83d53c72e17ea9ffe2685f326ebbbde9132
SHA1 (patch-am) = 395a5c446ac24cedf90783fc504c8817405d8e37
-SHA1 (patch-an) = ed0e6099bdc29faf90de8b2916c858e8df57e493
+SHA1 (patch-an) = 1a869a8a2e4e0c5a29540bff7d1da76e4d8c74e9
SHA1 (patch-ao) = 114ebcc55d00981cc6709095f3280509880d76eb
SHA1 (patch-ap) = 45f30a886adda7831df056cf0f7a136b97a7e17d
SHA1 (patch-aq) = 13697bbaed2c324851810d6df7677ff807844a6e
SHA1 (patch-ar) = cba8de7526efde9d8598b9119ca8d27e3c60279f
SHA1 (patch-as) = be1b999af6459b83fe7bfcab9e83b2e830198da6
SHA1 (patch-at) = c49b96d1c2158d0a8f67228922f0e4bff5df2908
+SHA1 (patch-strerror_c) = 566959a5784ea640c269b247cdd1ad5ad988882e
diff --git a/net/nocol/patches/patch-an b/net/nocol/patches/patch-an
index f18135bbd9e..76f1366ea87 100644
--- a/net/nocol/patches/patch-an
+++ b/net/nocol/patches/patch-an
@@ -1,13 +1,15 @@
-$NetBSD: patch-an,v 1.1 2005/12/27 13:47:11 joerg Exp $
+$NetBSD: patch-an,v 1.2 2011/10/03 06:59:49 dholland Exp $
---- include/osdefs.h.orig 2005-12-18 20:28:55.000000000 +0000
+Avoid redeclaring sys_errlist.
+
+--- include/osdefs.h.orig 1998-07-31 18:18:38.000000000 +0000
+++ include/osdefs.h
@@ -79,7 +79,7 @@
# define NOINITGROUPS
#endif
-#if defined(BSDI) || defined(FREEBSD) || defined(LINUX2)
-+#if defined(BSDI) || defined(FREEBSD) || defined(LINUX2) || defined(__DragonFly__)
++#if defined(BSDI) || defined(FREEBSD) || defined(LINUX2) || defined(__NetBSD__) || defined (__OpenBSD__) || defined(__DragonFly__)
# ifndef HAVESYSERR
# define HAVESYSERR
# endif
diff --git a/net/nocol/patches/patch-strerror_c b/net/nocol/patches/patch-strerror_c
new file mode 100644
index 00000000000..5c646ee0572
--- /dev/null
+++ b/net/nocol/patches/patch-strerror_c
@@ -0,0 +1,15 @@
+$NetBSD: patch-strerror_c,v 1.1 2011/10/03 06:59:49 dholland Exp $
+
+Don't redeclare libc symbols.
+
+--- lib/strerror.c~ 1997-02-18 12:50:13.000000000 +0000
++++ lib/strerror.c
+@@ -11,7 +11,7 @@
+ char *strerror(n)
+ int n;
+ {
+-#if !defined(__FreeBSD__) && !defined(__BSDI__)
++#if !defined(__FreeBSD__) && !defined(__BSDI__) && !defined(__NetBSD__) && !defined(__OpenBSD__) && !defined(__DragonFly__) && !defined(__linux__)
+ extern char *sys_errlist[];
+ #endif
+