diff options
author | hasso <hasso@pkgsrc.org> | 2009-04-07 17:25:54 +0000 |
---|---|---|
committer | hasso <hasso@pkgsrc.org> | 2009-04-07 17:25:54 +0000 |
commit | 95becabb671a02357aadeaa38f36370b354648d5 (patch) | |
tree | 36906d24ab9cd36f08105e936833bcfc1eec0abb | |
parent | 875f8920682bd5a730a50c1824fcfda6a521280f (diff) | |
download | pkgsrc-95becabb671a02357aadeaa38f36370b354648d5.tar.gz |
Make it compile on DragonFly master.
-rw-r--r-- | time/sunbird/distinfo | 4 | ||||
-rw-r--r-- | time/sunbird/patches/patch-br | 22 |
2 files changed, 19 insertions, 7 deletions
diff --git a/time/sunbird/distinfo b/time/sunbird/distinfo index d9d6fe82395..346178d0ede 100644 --- a/time/sunbird/distinfo +++ b/time/sunbird/distinfo @@ -1,4 +1,4 @@ -$NetBSD: distinfo,v 1.9 2007/03/02 09:34:18 ghen Exp $ +$NetBSD: distinfo,v 1.10 2009/04/07 17:25:54 hasso Exp $ SHA1 (sunbird-0.3.1.source.tar.bz2) = f8a397746f0e3abf15273de5232c447746a8d370 RMD160 (sunbird-0.3.1.source.tar.bz2) = b2fe3d03ce20500641e18da07fafda031d7b882e @@ -26,7 +26,7 @@ SHA1 (patch-bb) = e9d6fb2fd23765963fa69685d40189c6a810db07 SHA1 (patch-bm) = 99276d866a1b9ae108fcde5d198f80231fdffd2b SHA1 (patch-bo) = 05b13cec917445eb9e99c1619ae89e86e660d945 SHA1 (patch-bq) = c178922beb612f8ff659c909b8873bf6a0077916 -SHA1 (patch-br) = 17bb5d7ceaa31ed78fb4003e4763adcd07517a15 +SHA1 (patch-br) = 5e0bb533d65726ec439d625f55dbb50846e641cb SHA1 (patch-bs) = b1e929f13bec6525a251203328b3e5e35ec45f1e SHA1 (patch-bu) = 76e0f7b3789ecdfda0a92d969efaec82fa36d283 SHA1 (patch-bv) = aa54e6552c9a25eb17a0aa9f500980853d076853 diff --git a/time/sunbird/patches/patch-br b/time/sunbird/patches/patch-br index 526f1f75428..1a85ad921fa 100644 --- a/time/sunbird/patches/patch-br +++ b/time/sunbird/patches/patch-br @@ -1,8 +1,20 @@ -$NetBSD: patch-br,v 1.2 2006/06/27 11:11:52 joerg Exp $ +$NetBSD: patch-br,v 1.3 2009/04/07 17:25:55 hasso Exp $ ---- nsprpub/pr/src/misc/prnetdb.c.orig 2006-02-28 00:03:51.000000000 +0000 -+++ nsprpub/pr/src/misc/prnetdb.c -@@ -325,7 +325,7 @@ _pr_QueryNetIfs(void) +--- nsprpub/pr/src/misc/prnetdb.c.orig 2008-05-02 11:18:14 +0300 ++++ nsprpub/pr/src/misc/prnetdb.c 2009-04-04 19:53:32 +0300 +@@ -114,6 +114,11 @@ PRLock *_pr_dnsLock = NULL; + #define _PR_HAVE_5_ARG_GETPROTO_R + #endif + ++#if __DragonFly_version >= 200202 ++#define _PR_HAVE_GETPROTO_R ++#define _PR_HAVE_5_ARG_GETPROTO_R ++#endif ++ + /* BeOS has glibc but not the glibc-style getprotobyxxx_r functions. */ + #if (defined(__GLIBC__) && __GLIBC__ >= 2 && !defined(XP_BEOS)) + #define _PR_HAVE_GETPROTO_R +@@ -331,7 +336,7 @@ _pr_QueryNetIfs(void) } #elif (defined(DARWIN) && defined(HAVE_GETIFADDRS)) || defined(FREEBSD) \ @@ -11,7 +23,7 @@ $NetBSD: patch-br,v 1.2 2006/06/27 11:11:52 joerg Exp $ /* * Use the BSD getifaddrs function. -@@ -2111,7 +2111,17 @@ PR_IMPLEMENT(PRAddrInfo *) PR_GetAddrInf +@@ -2023,7 +2028,17 @@ PR_IMPLEMENT(PRAddrInfo *) PR_GetAddrInf */ hints.ai_socktype = SOCK_STREAM; |