summaryrefslogtreecommitdiff
path: root/textproc/xmlstarlet
diff options
context:
space:
mode:
Diffstat (limited to 'textproc/xmlstarlet')
-rw-r--r--textproc/xmlstarlet/Makefile2
-rw-r--r--textproc/xmlstarlet/files/patch-src_xml__elem.c11
2 files changed, 12 insertions, 1 deletions
diff --git a/textproc/xmlstarlet/Makefile b/textproc/xmlstarlet/Makefile
index 4c5610500277..320d60ebade2 100644
--- a/textproc/xmlstarlet/Makefile
+++ b/textproc/xmlstarlet/Makefile
@@ -1,6 +1,6 @@
PORTNAME= xmlstarlet
PORTVERSION= 1.6.1
-PORTREVISION= 2
+PORTREVISION= 3
CATEGORIES= textproc
MASTER_SITES= SF/xmlstar/${PORTNAME}/${PORTVERSION}
diff --git a/textproc/xmlstarlet/files/patch-src_xml__elem.c b/textproc/xmlstarlet/files/patch-src_xml__elem.c
new file mode 100644
index 000000000000..cad7b77b790d
--- /dev/null
+++ b/textproc/xmlstarlet/files/patch-src_xml__elem.c
@@ -0,0 +1,11 @@
+--- src/xml_elem.c.orig 2012-08-12 15:18:59 UTC
++++ src/xml_elem.c
+@@ -186,7 +186,7 @@ static void
+ * put @name into @data->array[@data->offset]
+ */
+ static void
+-hash_key_put(void *payload, void *data, xmlChar *name)
++hash_key_put(void *payload, void *data, const xmlChar *name)
+ {
+ ArrayDest *dest = data;
+ dest->array[dest->offset++] = name;