summaryrefslogtreecommitdiffstats
path: root/main/gnome-doc-utils/xslt.patch
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2010-01-26 13:32:33 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2010-01-26 13:32:33 +0000
commit87f8759070b371700c85cc7194f07e2fc149e131 (patch)
tree21060a1437e5d1122eb5503c342fdba27d84bb1c /main/gnome-doc-utils/xslt.patch
parent08bbe196fd37738e5dbc7769900ac5a9e861fffd (diff)
downloadaports-87f8759070b371700c85cc7194f07e2fc149e131.tar.bz2
aports-87f8759070b371700c85cc7194f07e2fc149e131.tar.xz
main/gnome-doc-utils: upgraded to 0.18.1
provide a workaround for broken xsltproc. seems like xsltproc does not handle inputfiles from - (stdin) properly.
Diffstat (limited to 'main/gnome-doc-utils/xslt.patch')
-rw-r--r--main/gnome-doc-utils/xslt.patch17
1 files changed, 17 insertions, 0 deletions
diff --git a/main/gnome-doc-utils/xslt.patch b/main/gnome-doc-utils/xslt.patch
new file mode 100644
index 000000000..bc9784fdf
--- /dev/null
+++ b/main/gnome-doc-utils/xslt.patch
@@ -0,0 +1,17 @@
+--- gnome-doc-utils-0.18.1/doc/xslt/Makefile.in.orig
++++ gnome-doc-utils-0.18.1/doc/xslt/Makefile.in
+@@ -947,11 +947,11 @@
+ all: $(xsldoc_docs) $(xsldoc_xmls)
+
+ $(xsldoc_docs): $(xsldoc_xsls) xsldoc.awk xsldoc-fill.xsl
+- $(GDU_AWK) -f "$(srcdir)/xsldoc.awk" "$(filter %/$(basename $(notdir $@)).xsl,$(xsldoc_xsls))" \
+- | xsltproc -o "$@" \
++ $(GDU_AWK) -f "$(srcdir)/xsldoc.awk" "$(filter %/$(basename $(notdir $@)).xsl,$(xsldoc_xsls))" > $@.tmp
++ xsltproc -o "$@" \
+ --stringparam basename "$(basename $(notdir $@))" \
+ --stringparam xsl_file "$(filter %/$(basename $(notdir $@)).xsl,$(xsldoc_xsls))" \
+- "$(srcdir)/xsldoc-fill.xsl" -
++ "$(srcdir)/xsldoc-fill.xsl" $@.tmp && rm -f $@.tmp
+
+ $(xsldoc_xmls): xsldoc-docbook.xsl
+ $(xsldoc_xmls): C/%.xml : C/%.xsldoc