diff options
author | gdt <gdt@pkgsrc.org> | 2008-03-08 01:10:27 +0000 |
---|---|---|
committer | gdt <gdt@pkgsrc.org> | 2008-03-08 01:10:27 +0000 |
commit | 7151bb535326b0efdb783b06cca58d3ec26bd07f (patch) | |
tree | 40bc4e04d3f3a08519c34fe0c2b82fff0d3bea6c /sysutils/amanda-common | |
parent | cd15aa65a31d9b74202c5c8a0b344beefffd2ad5 (diff) | |
download | pkgsrc-7151bb535326b0efdb783b06cca58d3ec26bd07f.tar.gz |
Mac OS X compatibility fix from Nick Goffee.
Diffstat (limited to 'sysutils/amanda-common')
-rw-r--r-- | sysutils/amanda-common/Makefile | 3 | ||||
-rw-r--r-- | sysutils/amanda-common/distinfo | 3 | ||||
-rw-r--r-- | sysutils/amanda-common/patches/patch-ah | 18 |
3 files changed, 22 insertions, 2 deletions
diff --git a/sysutils/amanda-common/Makefile b/sysutils/amanda-common/Makefile index bb95632633e..1b6a8584faa 100644 --- a/sysutils/amanda-common/Makefile +++ b/sysutils/amanda-common/Makefile @@ -1,7 +1,8 @@ -# $NetBSD: Makefile,v 1.44 2008/02/15 16:23:09 gdt Exp $ +# $NetBSD: Makefile,v 1.45 2008/03/08 01:10:27 gdt Exp $ PKGNAME= amanda-common-${VERS} SVR4_PKGNAME= amaco +PKGREVISION= 1 COMMENT= Common libraries and binaries for Amanda diff --git a/sysutils/amanda-common/distinfo b/sysutils/amanda-common/distinfo index dea6d0cb69f..fc7731fe4b9 100644 --- a/sysutils/amanda-common/distinfo +++ b/sysutils/amanda-common/distinfo @@ -1,4 +1,4 @@ -$NetBSD: distinfo,v 1.8 2008/02/15 16:23:09 gdt Exp $ +$NetBSD: distinfo,v 1.9 2008/03/08 01:10:27 gdt Exp $ SHA1 (amanda-2.5.2p1.tar.gz) = 0969376590a93b2c060dbe9d2573bf335614a4c2 RMD160 (amanda-2.5.2p1.tar.gz) = 31a81a7c5c0d953a6dffa575a7c3edc14d41f236 @@ -8,3 +8,4 @@ SHA1 (patch-ac) = e67098e2fb0a0e85837d124e41fd9d1976675f89 SHA1 (patch-ad) = 510e650c9e9976323b1d27a7895cee6281b89dcd SHA1 (patch-af) = 6f996ef8dacb75cf17a47df73024b91ad137315e SHA1 (patch-ag) = 6e79b0e71d37a44b03addae67e361178b537ad8d +SHA1 (patch-ah) = aecd08fd2a1982ac8ab62aa85979958b73fd038c diff --git a/sysutils/amanda-common/patches/patch-ah b/sysutils/amanda-common/patches/patch-ah new file mode 100644 index 00000000000..3b43ab5dc86 --- /dev/null +++ b/sysutils/amanda-common/patches/patch-ah @@ -0,0 +1,18 @@ +$NetBSD: patch-ah,v 1.1 2008/03/08 01:10:27 gdt Exp $ + +Work around a problem linking to _environ in Mac OS X. + +--- common-src/alloc.c.orig 2007-05-07 16:46:45.000000000 -0400 ++++ common-src/alloc.c +@@ -37,6 +37,11 @@ + #define MIN_ALLOC 64 + static char *internal_vstralloc(const char *, va_list); + ++#ifdef __APPLE__ ++#include <crt_externs.h> ++#define environ (* _NSGetEnviron()) ++#endif ++ + /* + *===================================================================== + * debug_caller_loc -- keep track of all allocation callers |