summaryrefslogtreecommitdiff
path: root/textproc/scrollkeeper/patches
diff options
context:
space:
mode:
authortron <tron@pkgsrc.org>2004-01-25 09:35:38 +0000
committertron <tron@pkgsrc.org>2004-01-25 09:35:38 +0000
commit81f0a2c842d0ddfe7a417f255b8ee71f0faca8a9 (patch)
tree21281eb7c5e8d123dedce9cb707fd48961f16975 /textproc/scrollkeeper/patches
parent7c902048340dac86e3c0b9d6956a44c0e684b0a5 (diff)
downloadpkgsrc-81f0a2c842d0ddfe7a417f255b8ee71f0faca8a9.tar.gz
Fix crappy C code which breaks the build with GCC 2.95.3.
Diffstat (limited to 'textproc/scrollkeeper/patches')
-rw-r--r--textproc/scrollkeeper/patches/patch-aa17
1 files changed, 17 insertions, 0 deletions
diff --git a/textproc/scrollkeeper/patches/patch-aa b/textproc/scrollkeeper/patches/patch-aa
new file mode 100644
index 00000000000..3d25958b7b7
--- /dev/null
+++ b/textproc/scrollkeeper/patches/patch-aa
@@ -0,0 +1,17 @@
+$NetBSD: patch-aa,v 1.7 2004/01/25 09:35:38 tron Exp $
+
+--- libs/install.c.orig Wed Sep 3 12:33:52 2003
++++ libs/install.c Sun Jan 25 10:34:06 2004
+@@ -517,10 +517,10 @@
+ /* these should all be <sect> nodes */
+ for(node = sect_node; node != NULL; node = node->next)
+ {
++ xmlChar *categorycode;
++
+ if (xmlStrcmp(node->name, (xmlChar *)"sect"))
+ continue;
+-
+- xmlChar *categorycode;
+
+ categorycode = xmlGetProp(node, (xmlChar *)"categorycode");
+ if (categorycode == NULL)