pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/textproc/libxml2 Add patch-aj to include resolv.h cond...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/1ae908f1ddb5
branches:  trunk
changeset: 574864:1ae908f1ddb5
user:      obache <obache%pkgsrc.org@localhost>
date:      Wed Apr 28 08:54:30 2010 +0000

description:
Add patch-aj to include resolv.h conditionally.
  https://bugzilla.gnome.org/show_bug.cgi?id=617053
Fixes build on Interix-6.0.

diffstat:

 textproc/libxml2/distinfo         |   3 ++-
 textproc/libxml2/patches/patch-aj |  18 ++++++++++++++++++
 2 files changed, 20 insertions(+), 1 deletions(-)

diffs (36 lines):

diff -r eed8b0412a92 -r 1ae908f1ddb5 textproc/libxml2/distinfo
--- a/textproc/libxml2/distinfo Wed Apr 28 08:15:55 2010 +0000
+++ b/textproc/libxml2/distinfo Wed Apr 28 08:54:30 2010 +0000
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.77 2010/04/13 16:04:09 drochner Exp $
+$NetBSD: distinfo,v 1.78 2010/04/28 08:54:30 obache Exp $
 
 SHA1 (libxml2-2.7.7.tar.gz) = 8592824a2788574a172cbddcdc72f734ff87abe3
 RMD160 (libxml2-2.7.7.tar.gz) = 9f72c778c3e9e348a68eada0cf624c012658c085
@@ -9,3 +9,4 @@
 SHA1 (patch-ad) = cd45da492b02cce9983c46762839f68b8b1e0177
 SHA1 (patch-ae) = b9176919edbf3582cb24aff53f7c4f291e2b78c8
 SHA1 (patch-ag) = 30ec5c8daece4aba75a02bbc13db5373542dea7b
+SHA1 (patch-aj) = 24eb4a08ea4c40be6d75a72cd0bb5280514f73d4
diff -r eed8b0412a92 -r 1ae908f1ddb5 textproc/libxml2/patches/patch-aj
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/textproc/libxml2/patches/patch-aj Wed Apr 28 08:54:30 2010 +0000
@@ -0,0 +1,18 @@
+$NetBSD: patch-aj,v 1.1 2010/04/28 08:54:30 obache Exp $
+
+Inlucde resolv.h conditionally:
+  https://bugzilla.gnome.org/show_bug.cgi?id=617053
+
+--- nanohttp.c.orig    2009-10-19 11:55:48.000000000 +0000
++++ nanohttp.c
+@@ -65,8 +65,10 @@
+ #include <strings.h>
+ #endif
+ #ifdef SUPPORT_IP6
++#ifdef HAVE_RESOLV_H
+ #include <resolv.h>
+ #endif
++#endif
+ #ifdef HAVE_ZLIB_H
+ #include <zlib.h>
+ #endif



Home | Main Index | Thread Index | Old Index