pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/net/adns Do not define a variable in a header file inc...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/821646b5a75d
branches:  trunk
changeset: 507704:821646b5a75d
user:      minskim <minskim%pkgsrc.org@localhost>
date:      Tue Feb 07 03:48:43 2006 +0000

description:
Do not define a variable in a header file included by multiple .c files.
This makes the package build on Darwin.  Patch from DarwinPorts.

The modified header file is used internally, and never installed.  So
no visible changes to dependent packages.

diffstat:

 net/adns/distinfo         |   3 ++-
 net/adns/patches/patch-af |  13 +++++++++++++
 2 files changed, 15 insertions(+), 1 deletions(-)

diffs (31 lines):

diff -r 728166fac63d -r 821646b5a75d net/adns/distinfo
--- a/net/adns/distinfo Tue Feb 07 03:13:09 2006 +0000
+++ b/net/adns/distinfo Tue Feb 07 03:48:43 2006 +0000
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.10 2005/12/13 16:08:54 joerg Exp $
+$NetBSD: distinfo,v 1.11 2006/02/07 03:48:43 minskim Exp $
 
 SHA1 (adns-1.1.tar.gz) = cd47dfc819b147b3275eaf6316f17f15be7187e5
 RMD160 (adns-1.1.tar.gz) = c6198f864afc40657dd94b7a94cf59a483ab7581
@@ -8,3 +8,4 @@
 SHA1 (patch-ac) = 2928cd6ccd224bc6d355e52b2f8dc149beaaff84
 SHA1 (patch-ad) = 5ce6a933673c82b2058ff67223057bbf18f5d8bb
 SHA1 (patch-ae) = fdcc3815b880538ef2c124c7ff3c0ac74b25a14f
+SHA1 (patch-af) = f1372fe9216161d423602318a812e7f06e0f0a92
diff -r 728166fac63d -r 821646b5a75d net/adns/patches/patch-af
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/net/adns/patches/patch-af Tue Feb 07 03:48:43 2006 +0000
@@ -0,0 +1,13 @@
+$NetBSD: patch-af,v 1.1 2006/02/07 03:48:44 minskim Exp $
+
+--- src/internal.h.orig        2003-06-22 06:58:15.000000000 -0700
++++ src/internal.h
+@@ -160,7 +160,7 @@ union maxalign {
+   void *p;
+   void (*fp)(void);
+   union maxalign *up;
+-} data;
++};
+ 
+ typedef struct {
+   void *ext;



Home | Main Index | Thread Index | Old Index