diff options
Diffstat (limited to 'devel/ossp-cfg/files/patch-cfg_node.c')
-rw-r--r-- | devel/ossp-cfg/files/patch-cfg_node.c | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/devel/ossp-cfg/files/patch-cfg_node.c b/devel/ossp-cfg/files/patch-cfg_node.c new file mode 100644 index 0000000..360cfe0 --- /dev/null +++ b/devel/ossp-cfg/files/patch-cfg_node.c @@ -0,0 +1,21 @@ +--- cfg_node.c.orig Sun Jul 28 07:06:03 2002 ++++ cfg_node.c Mon Feb 3 15:15:27 2003 +@@ -33,6 +33,7 @@ + #include <stdarg.h> + #include <unistd.h> + #include <limits.h> ++#include <sys/types.h> + + #include "cfg_main.h" + #include "cfg_node.h" +@@ -443,8 +444,9 @@ + fprintf(stderr, "step2: child node 0x%lx\n", (unsigned long)node); + do { + if (node->token != NULL) { ++ size_t l; + token = node->token; +- size_t l = strlen(token); ++ l = strlen(token); + fprintf(stderr, "step2: child node: \"%s\"\n", token); + if ( (l == 1 && l == nSel && token[0] == '*') + || (l == nSel && strncmp(token, cpSel, nSel) == 0)) { |