patch lib.xsl to fix samba 4.8.0 build (https://forums.funtoo.org/topic/1257-samba-installation-fails-due-to-manpage/) [release 1.79.2-2mamba;Wed May 09 2018]
This commit is contained in:
parent
4ea27f8ad8
commit
f6e70fbda5
25
docbook-xsl-1.79.2-samba-4.8.1.patch
Normal file
25
docbook-xsl-1.79.2-samba-4.8.1.patch
Normal file
@ -0,0 +1,25 @@
|
||||
--- docbook-xsl-1.79.2/lib/lib.xsl.orig 2016-12-09 23:41:39.000000000 +0100
|
||||
+++ docbook-xsl-1.79.2/lib/lib.xsl 2018-05-09 13:50:28.378383717 +0200
|
||||
@@ -6,7 +6,11 @@
|
||||
|
||||
This module implements DTD-independent functions
|
||||
|
||||
- ******************************************************************** --><xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0">
|
||||
+ ******************************************************************** -->
|
||||
+<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
|
||||
+ xmlns:str="http://exslt.org/strings"
|
||||
+ exclude-result-prefixes="str"
|
||||
+ version="1.0">
|
||||
|
||||
<xsl:template name="dot.count">
|
||||
<!-- Returns the number of "." characters in a string -->
|
||||
@@ -52,6 +56,9 @@
|
||||
<xsl:param name="replacement"/>
|
||||
|
||||
<xsl:choose>
|
||||
+ <xsl:when test="function-available('str:replace')">
|
||||
+ <xsl:value-of select="str:replace($string, string($target), string($replacement))"/>
|
||||
+ </xsl:when>
|
||||
<xsl:when test="contains($string, $target)">
|
||||
<xsl:variable name="rest">
|
||||
<xsl:call-template name="string.subst">
|
@ -1,6 +1,6 @@
|
||||
Name: docbook-xsl
|
||||
Version: 1.79.2
|
||||
Release: 1mamba
|
||||
Release: 2mamba
|
||||
Summary: Norman Walsh's XSL stylesheets for DocBook XML
|
||||
Group: Applications/Publishing
|
||||
Vendor: openmamba
|
||||
@ -12,6 +12,7 @@ Source1: %{name}.Makefile
|
||||
Source2: https://github.com/docbook/xslt10-stylesheets/releases/download/release%2F%{version}/docbook-xsl-nons-%{version}.tar.bz2
|
||||
Patch0: docbook-xsl-marginleft.patch
|
||||
Patch1: docbook-xsl-listblock.patch
|
||||
Patch2: docbook-xsl-1.79.2-samba-4.8.1.patch
|
||||
License: Distributable
|
||||
## AUTOBUILDREQ-BEGIN
|
||||
## AUTOBUILDREQ-END
|
||||
@ -28,6 +29,7 @@ These XSL stylesheets allow you to transform any DocBook XML document to other f
|
||||
#%patch0 -p1 -b .marginleft
|
||||
#%patch1 -p1 -b .listblock
|
||||
#cp %{SOURCE1} Makefile
|
||||
%patch2 -p1
|
||||
|
||||
%build
|
||||
|
||||
@ -118,6 +120,9 @@ exit 0
|
||||
#%doc BUGS README RELEASE-NOTES.* TODO doc docsrc
|
||||
|
||||
%changelog
|
||||
* Wed May 09 2018 Silvan Calarco <silvan.calarco@mambasoft.it> 1.79.2-2mamba
|
||||
- patch lib.xsl to fix samba 4.8.0 build (https://forums.funtoo.org/topic/1257-samba-installation-fails-due-to-manpage/)
|
||||
|
||||
* Sat Dec 23 2017 Silvan Calarco <silvan.calarco@mambasoft.it> 1.79.2-1mamba
|
||||
- update to 1.79.2
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user