summaryrefslogtreecommitdiff
path: root/package/libxslt
diff options
context:
space:
mode:
authorPeter Korsgaard <peter@korsgaard.com>2014-10-11 19:49:02 +0200
committerPeter Korsgaard <peter@korsgaard.com>2014-10-12 07:46:29 +0200
commitf1ade06b84fcfb4623e22299ef3ce86b77e78a25 (patch)
tree0b172a7830e374acdf73cf4281b7cff5773f8243 /package/libxslt
parent25b1d130f4178820c222f9f176ef60a1591aad8a (diff)
libxslt: add upstream patch to fix --maxvars handling
Needed to build the manual in PDF format if the host doesn't have a fixed xsltproc. (by make host-libxsltproc; PATH=output/host/usr/bin:$PATH make manual-pdf) Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
Diffstat (limited to 'package/libxslt')
-rw-r--r--package/libxslt/0001-Make-maxvars-option-work.patch30
1 files changed, 30 insertions, 0 deletions
diff --git a/package/libxslt/0001-Make-maxvars-option-work.patch b/package/libxslt/0001-Make-maxvars-option-work.patch
new file mode 100644
index 0000000000..d37cf62c91
--- /dev/null
+++ b/package/libxslt/0001-Make-maxvars-option-work.patch
@@ -0,0 +1,30 @@
+From 5af7ad745323004984287e48b42712e7305de35c Mon Sep 17 00:00:00 2001
+From: Per Hedeland <per@hedeland.org>
+Date: Fri, 13 Dec 2013 14:43:06 +0100
+Subject: [PATCH] Make --maxvars option work
+
+From upstream: https://gitorious.org/libxslt/libxslt/commit/5af7ad745323004984287e48b42
+
+Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
+---
+ xsltproc/xsltproc.c | 4 ++++
+ 1 file changed, 4 insertions(+)
+
+diff --git a/xsltproc/xsltproc.c b/xsltproc/xsltproc.c
+index b22df37..66d8cbb 100644
+--- a/xsltproc/xsltproc.c
++++ b/xsltproc/xsltproc.c
+@@ -803,6 +803,10 @@ main(int argc, char **argv)
+ (!strcmp(argv[i], "--maxdepth"))) {
+ i++;
+ continue;
++ } else if ((!strcmp(argv[i], "-maxvars")) ||
++ (!strcmp(argv[i], "--maxvars"))) {
++ i++;
++ continue;
+ } else if ((!strcmp(argv[i], "-maxparserdepth")) ||
+ (!strcmp(argv[i], "--maxparserdepth"))) {
+ i++;
+--
+2.1.0
+