[csw-devel] SF.net SVN: gar:[6207] csw/mgar/pkg/libxslt/trunk
bdwalton at users.sourceforge.net
bdwalton at users.sourceforge.net
Sun Sep 6 14:00:13 CEST 2009
Revision: 6207
http://gar.svn.sourceforge.net/gar/?rev=6207&view=rev
Author: bdwalton
Date: 2009-09-06 12:00:13 +0000 (Sun, 06 Sep 2009)
Log Message:
-----------
add patch to stop segfault while debugging
Modified Paths:
--------------
csw/mgar/pkg/libxslt/trunk/Makefile
csw/mgar/pkg/libxslt/trunk/checksums
Added Paths:
-----------
csw/mgar/pkg/libxslt/trunk/files/fix-segfault-in-debug.patch
Modified: csw/mgar/pkg/libxslt/trunk/Makefile
===================================================================
--- csw/mgar/pkg/libxslt/trunk/Makefile 2009-09-06 07:51:46 UTC (rev 6206)
+++ csw/mgar/pkg/libxslt/trunk/Makefile 2009-09-06 12:00:13 UTC (rev 6207)
@@ -14,6 +14,8 @@
DISTFILES += $(call admfiles,CSWlibxsltdevel,)
DISTFILES += $(call admfiles,CSWpylibxslt,)
+PATCHFILES = fix-segfault-in-debug.patch
+
PREREQUISITE_PKGS = CSWlibxml2 CSWlibxml2devel
SPKG_DESC_CSWlibxslt = XSLT engine runtime package
Modified: csw/mgar/pkg/libxslt/trunk/checksums
===================================================================
--- csw/mgar/pkg/libxslt/trunk/checksums 2009-09-06 07:51:46 UTC (rev 6206)
+++ csw/mgar/pkg/libxslt/trunk/checksums 2009-09-06 12:00:13 UTC (rev 6207)
@@ -1,4 +1,5 @@
01dba7c998bd516e5c6845d5babe3d21 download/CSWlibxslt.gspec
9d6a28c9ac7dea73ae95423e2f431fcd download/CSWlibxsltdevel.gspec
1fb5e9ee1b80283247e56231713082e0 download/CSWpylibxslt.gspec
+967047de707d0f20d7fa3b0d0916fdd9 download/fix-segfault-in-debug.patch
e83ec5d27fc4c10c6f612879bea9a153 download/libxslt-1.1.24.tar.gz
Added: csw/mgar/pkg/libxslt/trunk/files/fix-segfault-in-debug.patch
===================================================================
--- csw/mgar/pkg/libxslt/trunk/files/fix-segfault-in-debug.patch (rev 0)
+++ csw/mgar/pkg/libxslt/trunk/files/fix-segfault-in-debug.patch 2009-09-06 12:00:13 UTC (rev 6207)
@@ -0,0 +1,28 @@
+diff --speed-large-files --minimal -Nru libxslt-1.1.24.orig/libxslt/extensions.c libxslt-1.1.24/libxslt/extensions.c
+--- libxslt-1.1.24.orig/libxslt/extensions.c 2008-05-13 17:36:26.000000000 +0200
++++ libxslt-1.1.24/libxslt/extensions.c 2009-08-16 05:00:34.108691758 +0200
+@@ -366,16 +366,17 @@
+ /* determine module directory */
+ ext_directory = (xmlChar *) getenv("LIBXSLT_PLUGINS_PATH");
+
++ if (NULL == ext_directory) {
++ ext_directory = BAD_CAST LIBXSLT_DEFAULT_PLUGINS_PATH();
++ if (NULL == ext_directory)
++ return (-1);
++ }
+ #ifdef WITH_XSLT_DEBUG_EXTENSIONS
+- xsltGenericDebug(xsltGenericDebugContext,
+- "LIBXSLT_PLUGINS_PATH is %s\n", ext_directory);
++ else
++ xsltGenericDebug(xsltGenericDebugContext,
++ "LIBXSLT_PLUGINS_PATH is %s\n", ext_directory);
+ #endif
+
+- if (NULL == ext_directory)
+- ext_directory = BAD_CAST LIBXSLT_DEFAULT_PLUGINS_PATH();
+- if (NULL == ext_directory)
+- return (-1);
+-
+ /* build the module filename, and confirm the module exists */
+ xmlStrPrintf((xmlChar *) module_filename, sizeof(module_filename),
+ BAD_CAST "%s/%s%s",
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
More information about the devel
mailing list