SOURCES: openoffice-libxslt-1.1.15.patch (NEW) - avoid invalid lib...

saq saq at pld-linux.org
Fri Sep 23 15:29:49 CEST 2005


Author: saq                          Date: Fri Sep 23 13:29:49 2005 GMT
Module: SOURCES                       Tag: HEAD
---- Log message:
- avoid invalid libxslt>=1.1.15-incompatible param usage

---- Files affected:
SOURCES:
   openoffice-libxslt-1.1.15.patch (NONE -> 1.1)  (NEW)

---- Diffs:

================================================================
Index: SOURCES/openoffice-libxslt-1.1.15.patch
diff -u /dev/null SOURCES/openoffice-libxslt-1.1.15.patch:1.1
--- /dev/null	Fri Sep 23 15:29:49 2005
+++ SOURCES/openoffice-libxslt-1.1.15.patch	Fri Sep 23 15:29:44 2005
@@ -0,0 +1,20 @@
+--- officecfg/util/resource.xsl.orig	2005-09-23 14:00:56.000000000 +0200
++++ officecfg/util/resource.xsl	2005-09-23 14:02:14.000000000 +0200
+@@ -84,7 +84,8 @@
+     </xsl:template>
+ 
+     <!-- match all elements that could possibly contain info elements -->
+-    <xsl:template match="info/desc[@xml:lang=$locale]|info/label[@xml:lang=$locale]">
++    <xsl:template match="info/desc|info/label">
++    <xsl:if test="@xml:lang=$locale">
+ 
+         <!-- print TPF's path to current node -->
+         <xsl:for-each select="ancestor-or-self::*">
+@@ -108,6 +109,7 @@
+ 
+         <xsl:apply-templates/>
+ 
++    </xsl:if>
+     </xsl:template>
+ 
+ </xsl:transform>
================================================================



More information about the pld-cvs-commit mailing list