1a06b0d5d7
```sh git grep -l '^patch_args=-Np0' "srcpkgs/$1*/template" | while read template; do for p in ${template%/template}/patches/*; do sed -i ' \,^[+-][+-][+-] /dev/null,b /^[*-]\+ [0-9]\+\(,[0-9]\+\)\? [*-]\+$/b s,^[*][*][*] ,&a/, /^--- /{ s,\(^--- \)\(./\)*,\1a/, s,[.][Oo][Rr][Ii][Gg]\([ /]\),\1, s/[.][Oo][Rr][Ii][Gg]$// s/[.]patched[.]\([^.]\)/.\1/ h } /^+++ -/{ g s/^--- a/+++ b/ b } s,\(^+++ \)\(./\)*,\1b/, ' "$p" done sed -i '/^patch_args=/d' $template done ```
28 lines
1 KiB
Diff
28 lines
1 KiB
Diff
From 178df7e2027a28223e5e7e85392d858df63142e7 Mon Sep 17 00:00:00 2001
|
|
From: Daniel Kolesa <daniel@octaforge.org>
|
|
Date: Wed, 9 Sep 2020 22:55:19 +0200
|
|
Subject: [PATCH] use system stylesheets
|
|
|
|
---
|
|
build.xml | 4 ++--
|
|
1 file changed, 2 insertions(+), 2 deletions(-)
|
|
|
|
diff --git build.xml build.xml
|
|
index 57916c0..7adc89a 100644
|
|
--- a/build.xml
|
|
+++ b/build.xml
|
|
@@ -718,9 +718,9 @@
|
|
<factory name="com.icl.saxon.TransformerFactoryImpl"/>
|
|
<xmlcatalog>
|
|
<entity publicid="http://docbook.sourceforge.net/release/xsl/current/html/chunk.xsl"
|
|
- location="${build.dir}/docbook-xsl/docbook/html/chunk.xsl"/>
|
|
+ location="/usr/share/xsl/docbook/html/chunk.xsl"/>
|
|
<entity publicid="http://docbook.sourceforge.net/release/xsl/current/fo/docbook.xsl"
|
|
- location="${build.dir}/docbook-xsl/docbook/fo/docbook.xsl"/>
|
|
+ location="/usr/share/xsl/docbook/fo/docbook.xsl"/>
|
|
</xmlcatalog>
|
|
<sysproperty key="javax.xml.parsers.DocumentBuilderFactory"
|
|
value="org.apache.xerces.jaxp.DocumentBuilderFactoryImpl"/>
|
|
--
|
|
2.28.0
|
|
|