aboutsummaryrefslogtreecommitdiff
path: root/textproc/libxslt
diff options
context:
space:
mode:
authorKoop Mast <kwm@FreeBSD.org>2015-06-28 21:34:06 +0000
committerKoop Mast <kwm@FreeBSD.org>2015-06-28 21:34:06 +0000
commit45817f8667e440dacfd6cc091cc674db7332770e (patch)
tree7c1242733f0722a508a681605431f6f14394c71c /textproc/libxslt
parent003ef7a3bdc34e6141ab3824c2cd1b98411a61f8 (diff)
downloadports-45817f8667e440dacfd6cc091cc674db7332770e.tar.gz
ports-45817f8667e440dacfd6cc091cc674db7332770e.zip
Notes
Diffstat (limited to 'textproc/libxslt')
-rw-r--r--textproc/libxslt/Makefile2
-rw-r--r--textproc/libxslt/files/patch-xsltproc_xsltproc.c24
2 files changed, 25 insertions, 1 deletions
diff --git a/textproc/libxslt/Makefile b/textproc/libxslt/Makefile
index caa1f4d4b300..e1960d733f52 100644
--- a/textproc/libxslt/Makefile
+++ b/textproc/libxslt/Makefile
@@ -3,7 +3,7 @@
PORTNAME= libxslt
PORTVERSION= 1.1.28
-PORTREVISION?= 6
+PORTREVISION?= 7
CATEGORIES?= textproc gnome
MASTER_SITES= ftp://xmlsoft.org/libxml2/ \
http://xmlsoft.org/sources/ \
diff --git a/textproc/libxslt/files/patch-xsltproc_xsltproc.c b/textproc/libxslt/files/patch-xsltproc_xsltproc.c
new file mode 100644
index 000000000000..485d4213164a
--- /dev/null
+++ b/textproc/libxslt/files/patch-xsltproc_xsltproc.c
@@ -0,0 +1,24 @@
+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: Make --maxvars option work
+
+
+diff --git a/xsltproc/xsltproc.c b/xsltproc/xsltproc.c
+index b22df37..66d8cbb 100644
+--- xsltproc/xsltproc.c
++++ 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++;
+--
+cgit v0.10.2
+