fix problem with sys_errlist; still doesn't build though.
This commit is contained in:
parent
bf0d52187d
commit
71ec4f5b75
3 changed files with 23 additions and 5 deletions
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
15
net/nocol/patches/patch-strerror_c
Normal file
15
net/nocol/patches/patch-strerror_c
Normal file
|
@ -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
|
||||
|
Loading…
Reference in a new issue