diff options
author | Alexander Nedotsukov <bland@FreeBSD.org> | 2003-11-04 13:23:08 +0000 |
---|---|---|
committer | Alexander Nedotsukov <bland@FreeBSD.org> | 2003-11-04 13:23:08 +0000 |
commit | 92bdbda425768d73665c6c7e8c04d521a7e2eebc (patch) | |
tree | a8ad9cce5d50be1abb7a28a067a60e1fb3f7c33a /textproc/scrollkeeper | |
parent | 1150c6620e4ca3e4276eadcd8a09bf310338e03e (diff) | |
download | ports-92bdbda425768d73665c6c7e8c04d521a7e2eebc.tar.gz ports-92bdbda425768d73665c6c7e8c04d521a7e2eebc.zip |
Fix build on -STABLE.
Notes
Notes:
svn path=/head/; revision=93062
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; |