pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/time/sunbird Make it compile on DragonFly master.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/270d760096f1
branches:  trunk
changeset: 556985:270d760096f1
user:      hasso <hasso%pkgsrc.org@localhost>
date:      Tue Apr 07 17:25:54 2009 +0000

description:
Make it compile on DragonFly master.

diffstat:

 time/sunbird/distinfo         |   4 ++--
 time/sunbird/patches/patch-br |  22 +++++++++++++++++-----
 2 files changed, 19 insertions(+), 7 deletions(-)

diffs (55 lines):

diff -r b93728b9c67b -r 270d760096f1 time/sunbird/distinfo
--- a/time/sunbird/distinfo     Tue Apr 07 17:16:45 2009 +0000
+++ b/time/sunbird/distinfo     Tue Apr 07 17:25:54 2009 +0000
@@ -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-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 -r b93728b9c67b -r 270d760096f1 time/sunbird/patches/patch-br
--- a/time/sunbird/patches/patch-br     Tue Apr 07 17:16:45 2009 +0000
+++ b/time/sunbird/patches/patch-br     Tue Apr 07 17:25:54 2009 +0000
@@ -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 @@
  
  /*
   * 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;
  



Home | Main Index | Thread Index | Old Index