And here is also an update for libxslt. Both diffs have been tested in a bulk
on amd64 already.

Index: Makefile
===================================================================
RCS file: /cvs/ports/textproc/libxslt/Makefile,v
retrieving revision 1.71
diff -p -u -r1.71 Makefile
--- Makefile    15 Oct 2011 12:55:14 -0000      1.71
+++ Makefile    27 Sep 2012 14:20:57 -0000
@@ -3,12 +3,10 @@
 COMMENT-main=          XSLT C Library for GNOME
 COMMENT-python=        Python bindings for libxslt
 
-VERSION=               1.1.26
+VERSION=               1.1.27
 DISTNAME=              libxslt-${VERSION}
 PKGNAME-main=          libxslt-${VERSION}
 PKGNAME-python=        py-libxslt-${VERSION}
-REVISION-main=         3
-REVISION-python=       3
 SHARED_LIBS=           exslt   9.8 \
                        xslt    3.8
 
@@ -42,7 +40,6 @@ LIB_DEPENDS-main=     ${MODGETTEXT_LIB_DEPEN
 
 USE_LIBTOOL=           Yes
 USE_GMAKE=             Yes
-USE_GROFF=             Yes
 CONFIGURE_STYLE=       gnu
 CONFIGURE_ARGS+=       ${CONFIGURE_SHARED} \
                        --with-libxml-include-prefix="${LOCALBASE}/include/" \
@@ -54,7 +51,8 @@ CONFIGURE_ARGS+=      ${CONFIGURE_SHARED} \
 MODULES+=              lang/python
 MODPY_RUNDEP=          No
 BUILD_DEPENDS+=        textproc/libxml,-python
-WANTLIB-python=        ${WANTLIB} gcrypt xml2 exslt xslt
+WANTLIB-python=        ${WANTLIB} gcrypt xml2 exslt xslt pthread util \
+                       ${MODPY_WANTLIB}
 RUN_DEPENDS-python=    ${MODPY_RUN_DEPENDS} \
                        ${MODGETTEXT_RUN_DEPENDS}
 LIB_DEPENDS-python=    textproc/libxslt,-main \
Index: distinfo
===================================================================
RCS file: /cvs/ports/textproc/libxslt/distinfo,v
retrieving revision 1.29
diff -p -u -r1.29 distinfo
--- distinfo    11 Oct 2009 10:40:22 -0000      1.29
+++ distinfo    27 Sep 2012 14:20:57 -0000
@@ -1,5 +1,2 @@
-MD5 (libxslt-1.1.26.tar.gz) = 5h0DZKMBRqqjABKW+FOyuQ==
-RMD160 (libxslt-1.1.26.tar.gz) = /HYwNSrldy0l/IEyo3PUd/uNjV8=
-SHA1 (libxslt-1.1.26.tar.gz) = afdN+CKLUEqH4rJXwtUjgoHGUVQ=
-SHA256 (libxslt-1.1.26.tar.gz) = Vd1StChh+KApidcB73FtYoC/oClx6WfChQFvmcZuPbE=
-SIZE (libxslt-1.1.26.tar.gz) = 3401513
+SHA256 (libxslt-1.1.27.tar.gz) = tqjZpCHyYwmZypHZ+MCR7o6i1YDmvoTB0hsqReEefiY=
+SIZE (libxslt-1.1.27.tar.gz) = 3427310
Index: patches/patch-libxslt_Makefile_in
===================================================================
RCS file: /cvs/ports/textproc/libxslt/patches/patch-libxslt_Makefile_in,v
retrieving revision 1.4
diff -p -u -r1.4 patch-libxslt_Makefile_in
--- patches/patch-libxslt_Makefile_in   11 Oct 2009 10:40:22 -0000      1.4
+++ patches/patch-libxslt_Makefile_in   27 Sep 2012 14:20:57 -0000
@@ -1,7 +1,7 @@
 $OpenBSD: patch-libxslt_Makefile_in,v 1.4 2009/10/11 10:40:22 steven Exp $
---- libxslt/Makefile.in.orig   Thu Sep 24 16:43:14 2009
-+++ libxslt/Makefile.in        Sat Oct 10 18:16:55 2009
-@@ -678,7 +678,7 @@ install-dvi-am:
+--- libxslt/Makefile.in.orig   Wed Sep 12 08:35:34 2012
++++ libxslt/Makefile.in        Thu Sep 27 15:17:07 2012
+@@ -705,7 +705,7 @@ install-dvi-am:
  
  install-exec-am: install-libLTLIBRARIES
        @$(NORMAL_INSTALL)
Index: patches/patch-libxslt_extra_c
===================================================================
RCS file: /cvs/ports/textproc/libxslt/patches/patch-libxslt_extra_c,v
retrieving revision 1.4
diff -p -u -r1.4 patch-libxslt_extra_c
--- patches/patch-libxslt_extra_c       11 Oct 2009 10:40:22 -0000      1.4
+++ patches/patch-libxslt_extra_c       27 Sep 2012 14:20:57 -0000
@@ -1,16 +1,12 @@
 $OpenBSD: patch-libxslt_extra_c,v 1.4 2009/10/11 10:40:22 steven Exp $
---- libxslt/extra.c.orig       Tue May 12 08:29:34 2009
-+++ libxslt/extra.c    Sat Oct 10 18:11:17 2009
-@@ -240,10 +240,9 @@ xsltFunctionLocalTime(xmlXPathParserContextPtr ctxt, i
-     local_tm = localtime(&gmt);
- 
-     /*
--     * Calling localtime() has the side-effect of setting timezone.
--     * After we know the timezone, we can adjust for it
-+     * Correct timezone : offset from UTC in seconds
+--- libxslt/extra.c.orig       Thu Sep 27 15:14:23 2012
++++ libxslt/extra.c    Thu Sep 27 15:14:46 2012
+@@ -243,7 +243,7 @@ xsltFunctionLocalTime(xmlXPathParserContextPtr ctxt, i
+      * Calling localtime() has the side-effect of setting timezone.
+      * After we know the timezone, we can adjust for it
       */
--    lmt = gmt - timezone;
-+    lmt = gmt - local_tm->tm_gmtoff;
- 
-     /*
-      * FIXME: it's been too long since I did manual memory management.
+-#if !defined(__FreeBSD__)
++#if !defined(__FreeBSD__) || !defined(__OpenBSD__)
+     lmt = gmt - timezone;
+ #else /* FreeBSD DOESN'T have such side-ffect */
+     lmt = gmt - local_tm->tm_gmtoff;
Index: patches/patch-python_Makefile_in
===================================================================
RCS file: /cvs/ports/textproc/libxslt/patches/patch-python_Makefile_in,v
retrieving revision 1.10
diff -p -u -r1.10 patch-python_Makefile_in
--- patches/patch-python_Makefile_in    11 Oct 2009 10:40:22 -0000      1.10
+++ patches/patch-python_Makefile_in    27 Sep 2012 14:20:57 -0000
@@ -2,15 +2,15 @@ $OpenBSD: patch-python_Makefile_in,v 1.1
 
 Don't bother installing an empty file.
 
---- python/Makefile.in.orig    Thu Sep 24 16:43:14 2009
-+++ python/Makefile.in Sat Oct 10 18:11:17 2009
-@@ -780,9 +780,6 @@ uninstall-am: uninstall-pythonLTLIBRARIES
+--- python/Makefile.in.orig    Thu Sep 27 15:16:29 2012
++++ python/Makefile.in Thu Sep 27 15:16:57 2012
+@@ -815,9 +815,6 @@ uninstall-am: uninstall-local uninstall-pythonLTLIBRAR
  @WITH_PYTHON_TRUE@install-data-local:
- @WITH_PYTHON_TRUE@    $(mkinstalldirs) $(DESTDIR)$(pythondir)
- @WITH_PYTHON_TRUE@    @INSTALL@ -m 0644 libxslt.py $(DESTDIR)$(pythondir)
--@WITH_PYTHON_TRUE@    $(mkinstalldirs) $(DESTDIR)$(DOCS_DIR)
+ @WITH_PYTHON_TRUE@    $(MKDIR_P) $(DESTDIR)$(pythondir)
+ @WITH_PYTHON_TRUE@    $(INSTALL) -m 0644 libxslt.py $(DESTDIR)$(pythondir)
+-@WITH_PYTHON_TRUE@    $(MKDIR_P) $(DESTDIR)$(DOCS_DIR)
 -@WITH_PYTHON_TRUE@    @(for doc in $(DOCS) ; \
--@WITH_PYTHON_TRUE@       do @INSTALL@ -m 0644 $(srcdir)/$$doc 
$(DESTDIR)$(DOCS_DIR) ; done)
- 
- @WITH_PYTHON_TRUE@$(GENERATED): gen_prog
+-@WITH_PYTHON_TRUE@       do $(INSTALL) -m 0644 $(srcdir)/$$doc 
$(DESTDIR)$(DOCS_DIR) ; done)
  
+ @WITH_PYTHON_TRUE@uninstall-local:
+ @WITH_PYTHON_TRUE@    rm -f $(DESTDIR)$(pythondir)/libxslt.py
Index: patches/patch-tests_docs_Makefile_in
===================================================================
RCS file: /cvs/ports/textproc/libxslt/patches/patch-tests_docs_Makefile_in,v
retrieving revision 1.11
diff -p -u -r1.11 patch-tests_docs_Makefile_in
--- patches/patch-tests_docs_Makefile_in        11 Oct 2009 10:40:22 -0000      
1.11
+++ patches/patch-tests_docs_Makefile_in        27 Sep 2012 14:20:57 -0000
@@ -1,6 +1,6 @@
---- tests/docs/Makefile.in.orig        Thu Sep 24 16:43:15 2009
-+++ tests/docs/Makefile.in     Sat Oct 10 18:11:17 2009
-@@ -468,7 +468,7 @@ distdir: $(DISTFILES)
+--- tests/docs/Makefile.in.orig        Wed Sep 12 08:35:34 2012
++++ tests/docs/Makefile.in     Thu Sep 27 15:17:07 2012
+@@ -477,7 +477,7 @@ distdir: $(DISTFILES)
          fi; \
        done
  check-am: all-am


-- 
Cheers,
Jasper

"Stay Hungry. Stay Foolish"

  • UPDATE: libxml Jasper Lievisse Adriaanse
    • UPDATE: libxslt Jasper Lievisse Adriaanse

Reply via email to