pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/sysutils/amanda-common Mac OS X compatibility fix from...
details: https://anonhg.NetBSD.org/pkgsrc/rev/75ed2eb2ae74
branches: trunk
changeset: 539556:75ed2eb2ae74
user: gdt <gdt%pkgsrc.org@localhost>
date: Sat Mar 08 01:10:27 2008 +0000
description:
Mac OS X compatibility fix from Nick Goffee.
diffstat:
sysutils/amanda-common/Makefile | 3 ++-
sysutils/amanda-common/distinfo | 3 ++-
sysutils/amanda-common/patches/patch-ah | 18 ++++++++++++++++++
3 files changed, 22 insertions(+), 2 deletions(-)
diffs (49 lines):
diff -r b23590cc94e2 -r 75ed2eb2ae74 sysutils/amanda-common/Makefile
--- a/sysutils/amanda-common/Makefile Sat Mar 08 01:09:50 2008 +0000
+++ b/sysutils/amanda-common/Makefile Sat Mar 08 01:10:27 2008 +0000
@@ -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 -r b23590cc94e2 -r 75ed2eb2ae74 sysutils/amanda-common/distinfo
--- a/sysutils/amanda-common/distinfo Sat Mar 08 01:09:50 2008 +0000
+++ b/sysutils/amanda-common/distinfo Sat Mar 08 01:10:27 2008 +0000
@@ -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-ad) = 510e650c9e9976323b1d27a7895cee6281b89dcd
SHA1 (patch-af) = 6f996ef8dacb75cf17a47df73024b91ad137315e
SHA1 (patch-ag) = 6e79b0e71d37a44b03addae67e361178b537ad8d
+SHA1 (patch-ah) = aecd08fd2a1982ac8ab62aa85979958b73fd038c
diff -r b23590cc94e2 -r 75ed2eb2ae74 sysutils/amanda-common/patches/patch-ah
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/sysutils/amanda-common/patches/patch-ah Sat Mar 08 01:10:27 2008 +0000
@@ -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
Home |
Main Index |
Thread Index |
Old Index