summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLeonardo Boshell <leonardop@gentoo.org>2004-02-12 16:17:50 +0000
committerLeonardo Boshell <leonardop@gentoo.org>2004-02-12 16:17:50 +0000
commitabdd826837099fedd7194cb37f81e955d559f4a0 (patch)
tree89fa456ca4c1bd003f1b8ed8c9833c5e8fe1323a
parent~ppc (diff)
downloadgentoo-2-abdd826837099fedd7194cb37f81e955d559f4a0.tar.gz
gentoo-2-abdd826837099fedd7194cb37f81e955d559f4a0.tar.bz2
gentoo-2-abdd826837099fedd7194cb37f81e955d559f4a0.zip
Patch to make it compile with gcc-2. Copyright date corrections..
-rw-r--r--app-text/scrollkeeper/ChangeLog6
-rw-r--r--app-text/scrollkeeper/files/scrollkeeper-0.3.14-gcc2_fix.patch20
-rw-r--r--app-text/scrollkeeper/scrollkeeper-0.3.11-r1.ebuild4
-rw-r--r--app-text/scrollkeeper/scrollkeeper-0.3.12.ebuild4
-rw-r--r--app-text/scrollkeeper/scrollkeeper-0.3.14.ebuild3
5 files changed, 31 insertions, 6 deletions
diff --git a/app-text/scrollkeeper/ChangeLog b/app-text/scrollkeeper/ChangeLog
index 58891a6b8674..18b21691d323 100644
--- a/app-text/scrollkeeper/ChangeLog
+++ b/app-text/scrollkeeper/ChangeLog
@@ -1,7 +1,11 @@
# ChangeLog for app-text/scrollkeeper
# Copyright 2002-2004 Gentoo Technologies, Inc.; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-text/scrollkeeper/ChangeLog,v 1.35 2004/02/10 21:23:52 foser Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-text/scrollkeeper/ChangeLog,v 1.36 2004/02/12 16:17:50 leonardop Exp $
+ 12 Feb 2004; L. Boshell <leonardop@gentoo.org> scrollkeeper-0.3.14.ebuild,
+ files/scrollkeeper-0.3.14-gcc2_fix.patch :
+ Added patch to make it compile under gcc-2.
+
10 Feb 2004; foser <foser@gentoo.org> scrollkeeper-0.3.14.ebuild, metadata.xml :
Dep on intltool-0.29 and up for XML-Parser dep (#41096)
Add metadata.xml, add to gnome herd for now
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;
diff --git a/app-text/scrollkeeper/scrollkeeper-0.3.11-r1.ebuild b/app-text/scrollkeeper/scrollkeeper-0.3.11-r1.ebuild
index 0bc9313e30d7..20d2f6fdb78b 100644
--- a/app-text/scrollkeeper/scrollkeeper-0.3.11-r1.ebuild
+++ b/app-text/scrollkeeper/scrollkeeper-0.3.11-r1.ebuild
@@ -1,6 +1,6 @@
-# Copyright 1999-2003 Gentoo Technologies, Inc.
+# Copyright 1999-2004 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/app-text/scrollkeeper/scrollkeeper-0.3.11-r1.ebuild,v 1.12 2003/09/05 22:37:22 msterret Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-text/scrollkeeper/scrollkeeper-0.3.11-r1.ebuild,v 1.13 2004/02/12 16:17:50 leonardop Exp $
IUSE="nls"
diff --git a/app-text/scrollkeeper/scrollkeeper-0.3.12.ebuild b/app-text/scrollkeeper/scrollkeeper-0.3.12.ebuild
index f293fb5c4468..3786cc3429d6 100644
--- a/app-text/scrollkeeper/scrollkeeper-0.3.12.ebuild
+++ b/app-text/scrollkeeper/scrollkeeper-0.3.12.ebuild
@@ -1,6 +1,6 @@
-# Copyright 1999-2003 Gentoo Technologies, Inc.
+# Copyright 1999-2004 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/app-text/scrollkeeper/scrollkeeper-0.3.12.ebuild,v 1.13 2003/11/15 02:57:50 agriffis Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-text/scrollkeeper/scrollkeeper-0.3.12.ebuild,v 1.14 2004/02/12 16:17:50 leonardop Exp $
IUSE="nls"
diff --git a/app-text/scrollkeeper/scrollkeeper-0.3.14.ebuild b/app-text/scrollkeeper/scrollkeeper-0.3.14.ebuild
index bee98b83f886..8996bc3bc201 100644
--- a/app-text/scrollkeeper/scrollkeeper-0.3.14.ebuild
+++ b/app-text/scrollkeeper/scrollkeeper-0.3.14.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2004 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/app-text/scrollkeeper/scrollkeeper-0.3.14.ebuild,v 1.5 2004/02/10 21:21:30 foser Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-text/scrollkeeper/scrollkeeper-0.3.14.ebuild,v 1.6 2004/02/12 16:17:50 leonardop Exp $
IUSE="nls"
@@ -30,6 +30,7 @@ src_unpack() {
cd ${S}
patch -p0< ${FILESDIR}/${P}-gentoo.diff || die
+ epatch ${FILESDIR}/${P}-gcc2_fix.patch
}
src_compile() {