mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-26 09:46:09 +00:00
Add patch to support the --maxvars argument in xsltproc.
Submitted by: wblock@ Obtained from: libxslt upstream.
This commit is contained in:
parent
003ef7a3bd
commit
45817f8667
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=390868
@ -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/ \
|
||||
|
24
textproc/libxslt/files/patch-xsltproc_xsltproc.c
Normal file
24
textproc/libxslt/files/patch-xsltproc_xsltproc.c
Normal file
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user