pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/textproc/scrollkeeper Fix crappy C code which breaks t...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/025bb2c60736
branches:  trunk
changeset: 466987:025bb2c60736
user:      tron <tron%pkgsrc.org@localhost>
date:      Sun Jan 25 09:35:38 2004 +0000

description:
Fix crappy C code which breaks the build with GCC 2.95.3.

diffstat:

 textproc/scrollkeeper/distinfo         |   3 ++-
 textproc/scrollkeeper/patches/patch-aa |  17 +++++++++++++++++
 2 files changed, 19 insertions(+), 1 deletions(-)

diffs (33 lines):

diff -r 6c9ce8d83fed -r 025bb2c60736 textproc/scrollkeeper/distinfo
--- a/textproc/scrollkeeper/distinfo    Sun Jan 25 07:47:00 2004 +0000
+++ b/textproc/scrollkeeper/distinfo    Sun Jan 25 09:35:38 2004 +0000
@@ -1,6 +1,7 @@
-$NetBSD: distinfo,v 1.9 2004/01/23 16:55:37 jmmv Exp $
+$NetBSD: distinfo,v 1.10 2004/01/25 09:35:38 tron Exp $
 
 SHA1 (scrollkeeper-0.3.14.tar.gz) = 0462799a2d96f46dec76f2fd057e2dfe8d7cb94d
 Size (scrollkeeper-0.3.14.tar.gz) = 679513 bytes
+SHA1 (patch-aa) = e4658d7589cea0da3c57045e33d9d4812d11ccc9
 SHA1 (patch-ac) = bd464789672250d8dc6d968ffd0f14735dec0848
 SHA1 (patch-ad) = 5577b0b5a1211911a5fa334bec6e6edef28aa10b
diff -r 6c9ce8d83fed -r 025bb2c60736 textproc/scrollkeeper/patches/patch-aa
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/textproc/scrollkeeper/patches/patch-aa    Sun Jan 25 09:35:38 2004 +0000
@@ -0,0 +1,17 @@
+$NetBSD: patch-aa,v 1.7 2004/01/25 09:35:38 tron Exp $
+
+--- libs/install.c.orig        Wed Sep  3 12:33:52 2003
++++ libs/install.c     Sun Jan 25 10:34:06 2004
+@@ -517,10 +517,10 @@
+     /* 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)



Home | Main Index | Thread Index | Old Index