Allow building with libxml 2.9.
This commit is contained in:
parent
3b47bdc5a7
commit
e303191ee3
3 changed files with 7 additions and 7 deletions
|
@ -1,8 +1,8 @@
|
|||
$NetBSD: distinfo,v 1.3 2012/06/18 01:11:20 dholland Exp $
|
||||
$NetBSD: distinfo,v 1.4 2012/12/25 21:04:32 joerg Exp $
|
||||
|
||||
SHA1 (microdc2-0.15.6.tar.gz) = d39fedfb817203b70854aaff3a9e7fb2f2f317d2
|
||||
RMD160 (microdc2-0.15.6.tar.gz) = c7e05994c9012f4774c1de6eaea7ee3225c63336
|
||||
Size (microdc2-0.15.6.tar.gz) = 639392 bytes
|
||||
SHA1 (patch-aa) = 8801a9442911a6cdd3d154724db4ecc65965dd39
|
||||
SHA1 (patch-ab) = 4c3ba21543e92078d16b7535eec5fd27c8a93617
|
||||
SHA1 (patch-ac) = 88c73f1067bb96c66de716244b3866df1a51190f
|
||||
SHA1 (patch-ab) = 557541ae05484690002c7d9fa2f1533220ea190b
|
||||
SHA1 (patch-ac) = 47ccedc9305c75f2926f4ff910345eeba0dc8478
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
$NetBSD: patch-ab,v 1.2 2012/06/18 01:11:20 dholland Exp $
|
||||
$NetBSD: patch-ab,v 1.3 2012/12/25 21:04:32 joerg Exp $
|
||||
|
||||
--- configure.orig 2006-12-24 18:45:07.000000000 +0000
|
||||
+++ configure
|
||||
|
@ -8,7 +8,7 @@ $NetBSD: patch-ab,v 1.2 2012/06/18 01:11:20 dholland Exp $
|
|||
fi
|
||||
- if test $LIBXML2_VERSION -ge 2616; then
|
||||
+ good_libxml2=no
|
||||
+ case "$LIBXML2_VERSION" in 27*|28*) good_libxml2=yes;; esac
|
||||
+ case "$LIBXML2_VERSION" in 27*|28*|29*) good_libxml2=yes;; esac
|
||||
+ test $LIBXML2_VERSION -ge 2616 && good_libxml2=yes
|
||||
+ if test $good_libxml2 = yes; then
|
||||
cat >>confdefs.h <<\_ACEOF
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
$NetBSD: patch-ac,v 1.1 2008/10/02 16:34:18 joerg Exp $
|
||||
$NetBSD: patch-ac,v 1.2 2012/12/25 21:04:32 joerg Exp $
|
||||
|
||||
--- configure.ac.orig 2006-12-24 18:43:36.000000000 +0000
|
||||
+++ configure.ac
|
||||
|
@ -8,7 +8,7 @@ $NetBSD: patch-ac,v 1.1 2008/10/02 16:34:18 joerg Exp $
|
|||
fi
|
||||
- if test $LIBXML2_VERSION -ge 2616; then
|
||||
+ good_libxml2=no
|
||||
+ case "$LIBXML2_VERSION" in 27*) good_libxml2=yes;; esac
|
||||
+ case "$LIBXML2_VERSION" in 27*|28*|29*) good_libxml2=yes;; esac
|
||||
+ test $LIBXML2_VERSION -ge 2616 && good_libxml2=yes
|
||||
+ if test $good_libxml2 = yes; then
|
||||
AC_DEFINE([HAVE_LIBXML2])
|
||||
|
|
Loading…
Reference in a new issue