diff options
author | 2004-02-12 16:17:50 +0000 | |
---|---|---|
committer | 2004-02-12 16:17:50 +0000 | |
commit | abdd826837099fedd7194cb37f81e955d559f4a0 (patch) | |
tree | 89fa456ca4c1bd003f1b8ed8c9833c5e8fe1323a /app-text/scrollkeeper/files | |
parent | ~ppc (diff) | |
download | gentoo-2-abdd826837099fedd7194cb37f81e955d559f4a0.tar.gz gentoo-2-abdd826837099fedd7194cb37f81e955d559f4a0.tar.bz2 gentoo-2-abdd826837099fedd7194cb37f81e955d559f4a0.zip |
Patch to make it compile with gcc-2. Copyright date corrections..
Diffstat (limited to 'app-text/scrollkeeper/files')
-rw-r--r-- | app-text/scrollkeeper/files/scrollkeeper-0.3.14-gcc2_fix.patch | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/app-text/scrollkeeper/files/scrollkeeper-0.3.14-gcc2_fix.patch b/app-text/scrollkeeper/files/scrollkeeper-0.3.14-gcc2_fix.patch new file mode 100644 index 000000000000..94c440cc9ba7 --- /dev/null +++ b/app-text/scrollkeeper/files/scrollkeeper-0.3.14-gcc2_fix.patch @@ -0,0 +1,20 @@ +diff -NurB scrollkeeper-0.3.14-orig/libs/install.c scrollkeeper-0.3.14/libs/install.c +--- scrollkeeper-0.3.14-orig/libs/install.c 2004-02-12 09:34:02.000000000 -0500 ++++ scrollkeeper-0.3.14/libs/install.c 2004-02-12 09:35:31.000000000 -0500 +@@ -499,6 +499,7 @@ + int id, int add_toc, char outputprefs, char **complete_cat_token) + { + xmlNodePtr node, new_node, s_node; ++ xmlChar *categorycode; + + if (sect_node == NULL || + cat_token == NULL) +@@ -520,8 +521,6 @@ + if (xmlStrcmp(node->name, (xmlChar *)"sect")) + continue; + +- xmlChar *categorycode; +- + categorycode = xmlGetProp(node, (xmlChar *)"categorycode"); + if (categorycode == NULL) + continue; |