pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/devel/libdaemon Fix build problem under Mac OS X (Leop...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/df0978ad46e5
branches:  trunk
changeset: 563501:df0978ad46e5
user:      tron <tron%pkgsrc.org@localhost>
date:      Mon Aug 17 10:26:17 2009 +0000

description:
Fix build problem under Mac OS X (Leopard?).

diffstat:

 devel/libdaemon/distinfo         |   3 ++-
 devel/libdaemon/patches/patch-aa |  15 +++++++++++++++
 2 files changed, 17 insertions(+), 1 deletions(-)

diffs (30 lines):

diff -r 79cbf7464f27 -r df0978ad46e5 devel/libdaemon/distinfo
--- a/devel/libdaemon/distinfo  Mon Aug 17 07:57:48 2009 +0000
+++ b/devel/libdaemon/distinfo  Mon Aug 17 10:26:17 2009 +0000
@@ -1,5 +1,6 @@
-$NetBSD: distinfo,v 1.2 2009/08/16 14:24:01 wiz Exp $
+$NetBSD: distinfo,v 1.3 2009/08/17 10:26:17 tron Exp $
 
 SHA1 (libdaemon-0.13.tar.gz) = 2c67eedf0dfe303a86bee64feba3e40d21abbd01
 RMD160 (libdaemon-0.13.tar.gz) = 7fc41dc7a147d969b29e5a359442716859de7e0e
 Size (libdaemon-0.13.tar.gz) = 368119 bytes
+SHA1 (patch-aa) = 6cb29631560af24ec1c3a362352f02d7ea1327d2
diff -r 79cbf7464f27 -r df0978ad46e5 devel/libdaemon/patches/patch-aa
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/libdaemon/patches/patch-aa  Mon Aug 17 10:26:17 2009 +0000
@@ -0,0 +1,15 @@
+$NetBSD: patch-aa,v 1.1 2009/08/17 10:26:17 tron Exp $
+
+--- libdaemon/dfork.c.orig     2008-07-28 20:37:56.000000000 +0100
++++ libdaemon/dfork.c  2009-08-17 11:23:13.000000000 +0100
+@@ -662,6 +662,10 @@
+     return r;
+ }
+ 
++#if !defined(_NSIG) && defined(__DARWIN_NSIG)
++#define       _NSIG   __DARWIN_NSIG
++#endif
++
+ int daemon_reset_sigsv(const int except[]) {
+     int sig;
+ 



Home | Main Index | Thread Index | Old Index