Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 28 Jun 2015 07:48:07 -0600 (MDT)
From:      Warren Block <wblock@wonkity.com>
To:        gnome@FreeBSD.org, kwm@FreeBSD.org
Cc:        wblock@FreeBSD.org
Subject:   textproc/libxslt patch
Message-ID:  <alpine.BSF.2.20.1506280734000.89021@wonkity.com>

index | next in thread | raw e-mail

[-- Attachment #1 --]
There is a bug in the current release of xsltproc (in textproc/libxslt) 
that prevents it from recognizing the --maxvars option:

https://mail.gnome.org/archives/xslt/2014-October/msg00001.html

https://git.gnome.org/browse/libxslt/commit/xsltproc/xsltproc.c?id=5af7ad745323004984287e48b42712e7305de35c

A port patch file based on that is attached.  It was hand-entered, so I 
might have missed something else.  It does work, though.

Thanks for maintaining the port!
[-- Attachment #2 --]
--- xsltproc/xsltproc.c.orig	2015-06-28 07:10:32.336792000 -0600
+++ xsltproc/xsltproc.c	2015-06-28 07:11:59.154169000 -0600
@@ -782,6 +782,10 @@
             (!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++;
help

Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?alpine.BSF.2.20.1506280734000.89021>