Changes 1.1.27: Portability: * xincludestyle wasn't protected with LIBXML_XINCLUDE_ENABLED, * Portability fix for testThreads.c, * FreeBSD portability fixes, * check for gmtime - on mingw* hosts will enable date-time function, * use only native crypto-API for mingw* hosts, * autogen: Only check for libtoolize, * minimal mingw support, * configure: acconfig.h is deprecated since autoconf-2.50, * Fix a small out of tree compilation issue, * Fix python generator to not use deprecated xmllib, * link python module with python library Documentation: * Tiny doc improvement, * Various documentation fixes for docs on internals Bug fixesdiff -r1.89 -r1.90 pkgsrc/textproc/libxslt/Makefile
(adam)
@@ -1,39 +1,37 @@ | @@ -1,39 +1,37 @@ | |||
1 | # $NetBSD: Makefile,v 1.89 2012/06/14 07:43:19 sbd Exp $ | 1 | # $NetBSD: Makefile,v 1.90 2012/09/15 10:26:02 adam Exp $ | |
2 | 2 | |||
3 | DISTNAME= libxslt-1.1.26 | 3 | DISTNAME= libxslt-1.1.27 | |
4 | PKGREVISION= 3 | |||
5 | CATEGORIES= textproc | 4 | CATEGORIES= textproc | |
6 | MASTER_SITES+= ftp://xmlsoft.org/libxslt/ | 5 | MASTER_SITES= ftp://xmlsoft.org/libxslt/ \ | |
7 | #MASTER_SITES= ${MASTER_SITE_GNOME:=sources/libxslt/1.1/} | 6 | http://xmlsoft.org/sources/ | |
8 | 7 | |||
9 | MAINTAINER= pkgsrc-users@NetBSD.org | 8 | MAINTAINER= pkgsrc-users@NetBSD.org | |
10 | HOMEPAGE= http://xmlsoft.org/XSLT/ | 9 | HOMEPAGE= http://xmlsoft.org/XSLT/ | |
11 | COMMENT= XSLT parser library from the GNOME project | 10 | COMMENT= XSLT parser library from the GNOME project | |
12 | LICENSE= mit # with advertisement clause | 11 | LICENSE= mit # with advertisement clause | |
13 | 12 | |||
14 | PKG_INSTALLATION_TYPES= overwrite pkgviews | 13 | PKG_INSTALLATION_TYPES= overwrite pkgviews | |
15 | PKG_DESTDIR_SUPPORT= user-destdir | 14 | PKG_DESTDIR_SUPPORT= user-destdir | |
16 | 15 | |||
17 | USE_TOOLS+= gmake perl | |||
18 | USE_LIBTOOL= yes | 16 | USE_LIBTOOL= yes | |
19 | PKGCONFIG_OVERRIDE= libxslt.pc.in | 17 | USE_TOOLS+= gmake perl | |
20 | PKGCONFIG_OVERRIDE+= libexslt.pc.in | |||
21 | ||||
22 | GNU_CONFIGURE= yes | 18 | GNU_CONFIGURE= yes | |
23 | CONFIGURE_ARGS+= --with-libxml-prefix=${BUILDLINK_PREFIX.libxml2} | 19 | CONFIGURE_ARGS+= --with-libxml-prefix=${BUILDLINK_PREFIX.libxml2} | |
24 | CONFIGURE_ARGS+= --without-python | 20 | CONFIGURE_ARGS+= --without-python | |
25 | CONFIGURE_ARGS+= --with-html-subdir=libxslt | 21 | CONFIGURE_ARGS+= --with-html-subdir=libxslt | |
26 | 22 | |||
23 | PKGCONFIG_OVERRIDE= libxslt.pc.in | |||
24 | PKGCONFIG_OVERRIDE+= libexslt.pc.in | |||
27 | TEST_TARGET= check | 25 | TEST_TARGET= check | |
28 | 26 | |||
29 | .include "../../mk/bsd.prefs.mk" | 27 | .include "../../mk/bsd.prefs.mk" | |
30 | .if !empty(MACHINE_PLATFORM:MIRIX-5*) | 28 | .if !empty(MACHINE_PLATFORM:MIRIX-5*) | |
31 | CPPFLAGS+= -Dsocklen_t=int | 29 | CPPFLAGS+= -Dsocklen_t=int | |
32 | .endif | 30 | .endif | |
33 | 31 | |||
34 | post-extract: | 32 | post-extract: | |
35 | cp ${WRKSRC}/libxslt/libxslt.syms ${WRKSRC}/libxslt/libxslt_solaris.syms | 33 | cp ${WRKSRC}/libxslt/libxslt.syms ${WRKSRC}/libxslt/libxslt_solaris.syms | |
36 | 34 | |||
37 | .if ${OPSYS} == "SunOS" | 35 | .if ${OPSYS} == "SunOS" | |
38 | BUILDLINK_TRANSFORM+= rename:-Wl,./libxslt.syms:-Wl,./libxslt_solaris.syms | 36 | BUILDLINK_TRANSFORM+= rename:-Wl,./libxslt.syms:-Wl,./libxslt_solaris.syms | |
39 | .endif | 37 | .endif |
@@ -1,10 +1,7 @@ | @@ -1,10 +1,7 @@ | |||
1 | $NetBSD: distinfo,v 1.53 2012/03/12 18:26:35 tez Exp $ | 1 | $NetBSD: distinfo,v 1.54 2012/09/15 10:26:02 adam Exp $ | |
2 | 2 | |||
3 | SHA1 (libxslt-1.1.26.tar.gz) = 69f74df8228b504a87e2b257c2d5238281c65154 | 3 | SHA1 (libxslt-1.1.27.tar.gz) = f8072177f1ffe1b9bb8759a9e3e6349e1eac1f66 | |
4 | RMD160 (libxslt-1.1.26.tar.gz) = fc7630352ae5772d25fc8132a373d477fb8d8d5f | 4 | RMD160 (libxslt-1.1.27.tar.gz) = 004d6ce93e714ae436c93d85a275b0b901e0a7e7 | |
5 | Size (libxslt-1.1.26.tar.gz) = 3401513 bytes | 5 | Size (libxslt-1.1.27.tar.gz) = 3427310 bytes | |
6 | SHA1 (patch-aa) = 6a6b05d3166ce722a6da867fa1701179b9bfa6c2 | 6 | SHA1 (patch-ae) = 40ce3940a93b6a2dc804f62676909d3313e0ea52 | |
7 | SHA1 (patch-ae) = ea154e23704cbd73e3199271e2d0d4a80b2832e8 | 7 | SHA1 (patch-ah) = 03e641c6e36a80d39824fcb6a0d681784b20dff3 | |
8 | SHA1 (patch-ag) = 956ad89edc6dbbca499fb5b82cf2ed98589362a9 | |||
9 | SHA1 (patch-ah) = 61a9e9a142d6ffc3d378eebeca2b3b91148d7e78 | |||
10 | SHA1 (patch-libxslt_pattern.c) = 22ce9bf24c9a5cc8253586d01c97b2774ea9f94e |
@@ -1,12 +1,12 @@ | @@ -1,12 +1,12 @@ | |||
1 | $NetBSD: patch-ae,v 1.4 2007/08/29 23:26:45 wiz Exp $ | 1 | $NetBSD: patch-ae,v 1.5 2012/09/15 10:26:02 adam Exp $ | |
2 | 2 | |||
3 | --- libexslt/date.c.orig 2007-08-23 08:20:52.000000000 -0400 | 3 | --- libexslt/date.c.orig 2012-09-12 05:58:38.000000000 +0000 | |
4 | +++ libexslt/date.c | 4 | +++ libexslt/date.c | |
5 | @@ -31,6 +31,7 @@ | 5 | @@ -31,6 +31,7 @@ | |
6 | #if HAVE_LOCALTIME_R /* _POSIX_SOURCE required by gnu libc */ | 6 | #if defined(HAVE_LOCALTIME_R) && defined(__GLIBC__) /* _POSIX_SOURCE required by gnu libc */ | |
7 | #ifndef _AIX51 /* but on AIX we're not using gnu libc */ | 7 | #ifndef _AIX51 /* but on AIX we're not using gnu libc */ | |
8 | #define _POSIX_SOURCE | 8 | #define _POSIX_SOURCE | |
9 | +#define _POSIX_C_SOURCE 199506L /* POSIX.1c */ | 9 | +#define _POSIX_C_SOURCE 199506L /* POSIX.1c */ | |
10 | #endif | 10 | #endif | |
11 | #endif | 11 | #endif | |
12 | 12 |
@@ -1,38 +1,38 @@ | @@ -1,38 +1,38 @@ | |||
1 | $NetBSD: patch-ah,v 1.1 2010/09/08 13:53:00 tez Exp $ | 1 | $NetBSD: patch-ah,v 1.2 2012/09/15 10:26:02 adam Exp $ | |
2 | 2 | |||
3 | fix syms file for stricter solaris ld | 3 | Fix syms file for stricter solaris ld | |
4 | 4 | |||
5 | --- libxslt/libxslt_solaris.syms.orig 2010-08-23 15:27:58.923572700 -0500 | 5 | --- libxslt/libxslt_solaris.syms.orig 2012-09-15 09:51:49.000000000 +0000 | |
6 | +++ libxslt/libxslt_solaris.syms 2010-08-23 15:32:43.661353200 -0500 | 6 | +++ libxslt/libxslt_solaris.syms | |
7 | @@ -107,7 +107,7 @@ | 7 | @@ -107,7 +107,7 @@ LIBXML2_1.0.11 { | |
8 | xsltFreeCompMatchList; | 8 | xsltFreeCompMatchList; | |
9 | xsltFreeTemplateHashes; | 9 | xsltFreeTemplateHashes; | |
10 | xsltGetTemplate; | 10 | xsltGetTemplate; | |
11 | - xsltMatchPattern; | 11 | - xsltMatchPattern; | |
12 | +# xsltMatchPattern; | 12 | +# xsltMatchPattern; | |
13 | xsltTestCompMatchList; | 13 | xsltTestCompMatchList; | |
14 | 14 | |||
15 | # preproc | 15 | # preproc | |
16 | @@ -406,7 +406,7 @@ | 16 | @@ -407,7 +407,7 @@ LIBXML2_1.1.18 { | |
17 | global: | 17 | global: | |
18 | 18 | |||
19 | # xsltInternals | 19 | # xsltInternals | |
20 | - xsltConstNamespaceNameXSLT; # variable | 20 | - xsltConstNamespaceNameXSLT; # variable | |
21 | +# xsltConstNamespaceNameXSLT; # variable | 21 | +# xsltConstNamespaceNameXSLT; # variable | |
22 | xsltExtensionInstructionResultFinalize; | 22 | xsltExtensionInstructionResultFinalize; | |
23 | xsltExtensionInstructionResultRegister; | 23 | xsltExtensionInstructionResultRegister; | |
24 | xsltInitCtxtKey; | 24 | xsltInitCtxtKey; | |
25 | @@ -415,24 +415,24 @@ | 25 | @@ -416,24 +416,24 @@ LIBXML2_1.1.18 { | |
26 | xsltInit; | 26 | xsltInit; | |
27 | 27 | |||
28 | # xsltInternals | 28 | # xsltInternals | |
29 | - xsltParseAnyXSLTElem; | 29 | - xsltParseAnyXSLTElem; | |
30 | - xsltParseSequenceConstructor; | 30 | - xsltParseSequenceConstructor; | |
31 | - xsltPointerListAddSize; | 31 | - xsltPointerListAddSize; | |
32 | - xsltPointerListClear; | 32 | - xsltPointerListClear; | |
33 | - xsltPointerListCreate; | 33 | - xsltPointerListCreate; | |
34 | - xsltPointerListFree; | 34 | - xsltPointerListFree; | |
35 | +# xsltParseAnyXSLTElem; | 35 | +# xsltParseAnyXSLTElem; | |
36 | +# xsltParseSequenceConstructor; | 36 | +# xsltParseSequenceConstructor; | |
37 | +# xsltPointerListAddSize; | 37 | +# xsltPointerListAddSize; | |
38 | +# xsltPointerListClear; | 38 | +# xsltPointerListClear; | |
@@ -48,23 +48,24 @@ fix syms file for stricter solaris ld | @@ -48,23 +48,24 @@ fix syms file for stricter solaris ld | |||
48 | +# xsltStyleStylesheetLevelGetExtData; | 48 | +# xsltStyleStylesheetLevelGetExtData; | |
49 | 49 | |||
50 | # xsltInternals | 50 | # xsltInternals | |
51 | - xsltTransStorageAdd; | 51 | - xsltTransStorageAdd; | |
52 | - xsltTransStorageRemove; | 52 | - xsltTransStorageRemove; | |
53 | +# xsltTransStorageAdd; | 53 | +# xsltTransStorageAdd; | |
54 | +# xsltTransStorageRemove; | 54 | +# xsltTransStorageRemove; | |
55 | xsltUninit; | 55 | xsltUninit; | |
56 | - xsltXSLTAttrMarker; # variable | 56 | - xsltXSLTAttrMarker; # variable | |
57 | +# xsltXSLTAttrMarker; # variable | 57 | +# xsltXSLTAttrMarker; # variable | |
58 | } LIBXML2_1.1.9; | 58 | } LIBXML2_1.1.9; | |
59 | 59 | |||
60 | LIBXML2_1.1.20 { | 60 | LIBXML2_1.1.20 { | |
61 | @@ -475,5 +475,9 @@ | 61 | @@ -476,6 +476,10 @@ LIBXML2_1.1.26 { | |
62 | 62 | |||
63 | # transform | 63 | # transform | |
64 | xsltProcessOneNode; | 64 | xsltProcessOneNode; | |
65 | + | 65 | + | |
66 | +# Solaris ld needs explicit auto-reduction (or, alternatively, "-B local") | 66 | +# Solaris ld needs explicit auto-reduction (or, alternatively, "-B local") | |
67 | + local: | 67 | + local: | |
68 | + *; | 68 | + *; | |
69 | } LIBXML2_1.1.25; | 69 | } LIBXML2_1.1.25; | |
70 | 70 | |||
71 | LIBXML2_1.1.27 { |