textproc/libxslt patch

Warren Block wblock at wonkity.com
Sun Jun 28 13:48:16 UTC 2015


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!
-------------- next part --------------
--- 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++;


More information about the freebsd-gnome mailing list