diff options
author | bland <bland@FreeBSD.org> | 2003-11-04 21:23:08 +0800 |
---|---|---|
committer | bland <bland@FreeBSD.org> | 2003-11-04 21:23:08 +0800 |
commit | 765ba5b4d74ee46a078d70f0574c222cd92b7dad (patch) | |
tree | e84066a67c4b95cb046423be6c8c207e1a28c28c /textproc/scrollkeeper | |
parent | 925836188d91a4f89cb1b13ce2059fb914291908 (diff) | |
download | freebsd-ports-gnome-765ba5b4d74ee46a078d70f0574c222cd92b7dad.tar.gz freebsd-ports-gnome-765ba5b4d74ee46a078d70f0574c222cd92b7dad.tar.zst freebsd-ports-gnome-765ba5b4d74ee46a078d70f0574c222cd92b7dad.zip |
Fix build on -STABLE.
Diffstat (limited to 'textproc/scrollkeeper')
-rw-r--r-- | textproc/scrollkeeper/Makefile | 2 | ||||
-rw-r--r-- | textproc/scrollkeeper/files/patch-libs_install.c | 8 |
2 files changed, 5 insertions, 5 deletions
diff --git a/textproc/scrollkeeper/Makefile b/textproc/scrollkeeper/Makefile index 2fc6ca5db607..baf33bc16df6 100644 --- a/textproc/scrollkeeper/Makefile +++ b/textproc/scrollkeeper/Makefile @@ -7,7 +7,7 @@ PORTNAME= scrollkeeper PORTVERSION= 0.3.12 -PORTREVISION= 3 +PORTREVISION= 4 PORTEPOCH= 1 CATEGORIES= textproc gnome MASTER_SITES= ${MASTER_SITE_GNOME} diff --git a/textproc/scrollkeeper/files/patch-libs_install.c b/textproc/scrollkeeper/files/patch-libs_install.c index 5e30af15fcb7..45c17709f0c5 100644 --- a/textproc/scrollkeeper/files/patch-libs_install.c +++ b/textproc/scrollkeeper/files/patch-libs_install.c @@ -1,5 +1,5 @@ ---- libs/install.c.orig Tue Nov 4 02:42:22 2003 -+++ libs/install.c Tue Nov 4 02:42:26 2003 +--- libs/install.c.orig Thu Jan 23 01:10:57 2003 ++++ libs/install.c Tue Nov 4 07:46:26 2003 @@ -41,7 +41,7 @@ static int get_unique_doc_id(char *); static void add_doc_to_scrollkeeper_docs(char *, char *, char *, int, char *); @@ -138,6 +138,8 @@ /* these should all be <sect> nodes */ for(node = sect_node; node != NULL; node = node->next) { ++ xmlChar *categorycode; ++ if (xmlStrcmp(node->name, (xmlChar *)"sect")) continue; - @@ -149,8 +151,6 @@ - break; - } + -+ xmlChar *categorycode; -+ + categorycode = xmlGetProp(node, (xmlChar *)"categorycode"); + if (categorycode == NULL) + continue; |