opnsense-ports/textproc/scrollkeeper/files/patch-libs_install.c
Franco Fichtner 8cb1a96ede ports: pull in a snapshot of the FreeBSD ports tree
Taken from:	https://github.com/freebsd/freebsd-ports.git
Commit id:	5070672073b68be364139bc6b3a89100bd17d331
2014-11-09 14:03:21 +01:00

14 lines
444 B
C

--- libs/install.c.orig Sat Dec 6 17:47:34 2003
+++ libs/install.c Sat Dec 6 17:47:47 2003
@@ -517,10 +517,9 @@
/* 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)