pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/net/nocol fix problem with sys_errlist; still doesn't ...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/9f72ce977665
branches:  trunk
changeset: 593285:9f72ce977665
user:      dholland <dholland%pkgsrc.org@localhost>
date:      Mon Oct 03 06:59:49 2011 +0000

description:
fix problem with sys_errlist; still doesn't build though.

diffstat:

 net/nocol/distinfo                 |   5 +++--
 net/nocol/patches/patch-an         |   8 +++++---
 net/nocol/patches/patch-strerror_c |  15 +++++++++++++++
 3 files changed, 23 insertions(+), 5 deletions(-)

diffs (63 lines):

diff -r 8bb032ad77b8 -r 9f72ce977665 net/nocol/distinfo
--- a/net/nocol/distinfo        Mon Oct 03 06:45:30 2011 +0000
+++ b/net/nocol/distinfo        Mon Oct 03 06:59:49 2011 +0000
@@ -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-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 -r 8bb032ad77b8 -r 9f72ce977665 net/nocol/patches/patch-an
--- a/net/nocol/patches/patch-an        Mon Oct 03 06:45:30 2011 +0000
+++ b/net/nocol/patches/patch-an        Mon Oct 03 06:59:49 2011 +0000
@@ -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 -r 8bb032ad77b8 -r 9f72ce977665 net/nocol/patches/patch-strerror_c
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/net/nocol/patches/patch-strerror_c        Mon Oct 03 06:59:49 2011 +0000
@@ -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
+ 



Home | Main Index | Thread Index | Old Index