package/dhcp/S80dhcp-server: allow empty INTERFACES
[buildroot-gz.git] / package / libxslt / 0001-Make-maxvars-option-work.patch
blobd37cf62c91d418718759bcfb0721483028e32e46
1 From 5af7ad745323004984287e48b42712e7305de35c Mon Sep 17 00:00:00 2001
2 From: Per Hedeland <per@hedeland.org>
3 Date: Fri, 13 Dec 2013 14:43:06 +0100
4 Subject: [PATCH] Make --maxvars option work
6 From upstream: https://gitorious.org/libxslt/libxslt/commit/5af7ad745323004984287e48b42
8 Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
9 ---
10 xsltproc/xsltproc.c | 4 ++++
11 1 file changed, 4 insertions(+)
13 diff --git a/xsltproc/xsltproc.c b/xsltproc/xsltproc.c
14 index b22df37..66d8cbb 100644
15 --- a/xsltproc/xsltproc.c
16 +++ b/xsltproc/xsltproc.c
17 @@ -803,6 +803,10 @@ main(int argc, char **argv)
18 (!strcmp(argv[i], "--maxdepth"))) {
19 i++;
20 continue;
21 + } else if ((!strcmp(argv[i], "-maxvars")) ||
22 + (!strcmp(argv[i], "--maxvars"))) {
23 + i++;
24 + continue;
25 } else if ((!strcmp(argv[i], "-maxparserdepth")) ||
26 (!strcmp(argv[i], "--maxparserdepth"))) {
27 i++;
28 --
29 2.1.0