summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTiziano Müller <dev-zero@gentoo.org>2006-10-20 19:37:30 +0000
committerTiziano Müller <dev-zero@gentoo.org>2006-10-20 19:37:30 +0000
commit70c585b8f30b79f21caeb1ce6b677108070f9dfd (patch)
treef51d77f0e655e1e6b675db63655bb580ada55514 /dev-libs/sucs
parentRemoved sys-devel/gcc-apple: it is an OSX specific package that is only (diff)
downloadgentoo-2-70c585b8f30b79f21caeb1ce6b677108070f9dfd.tar.gz
gentoo-2-70c585b8f30b79f21caeb1ce6b677108070f9dfd.tar.bz2
gentoo-2-70c585b8f30b79f21caeb1ce6b677108070f9dfd.zip
Added patches for bug #152045. Added ~amd64 keyword. Header updated, cosmetic corrections.
(Portage version: 2.1.2_pre3-r3)
Diffstat (limited to 'dev-libs/sucs')
-rw-r--r--dev-libs/sucs/ChangeLog7
-rw-r--r--dev-libs/sucs/files/digest-sucs-1.0.02
-rw-r--r--dev-libs/sucs/files/sucs-1.0.0-signals.diff11
-rw-r--r--dev-libs/sucs/files/sucs-1.0.0-thread.diff12
-rw-r--r--dev-libs/sucs/files/sucs-1.0.0-xml.diff13
-rw-r--r--dev-libs/sucs/sucs-1.0.0.ebuild17
6 files changed, 54 insertions, 8 deletions
diff --git a/dev-libs/sucs/ChangeLog b/dev-libs/sucs/ChangeLog
index e8e4be263ff4..c186f6a99c57 100644
--- a/dev-libs/sucs/ChangeLog
+++ b/dev-libs/sucs/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for dev-libs/sucs
-# Copyright 2002-2005 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-libs/sucs/ChangeLog,v 1.7 2005/09/19 22:34:01 halcy0n Exp $
+# Copyright 2002-2006 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/dev-libs/sucs/ChangeLog,v 1.8 2006/10/20 19:37:30 dev-zero Exp $
+
+ 20 Oct 2006; Tiziano Müller <dev-zero@gentoo.org> ChangeLog:
+ Added patches for bug #152045. Added ~amd64 keyword.
19 Sep 2005; Mark Loeser <halcy0n@gentoo.org> metadata.xml:
Adding to cpp herd
diff --git a/dev-libs/sucs/files/digest-sucs-1.0.0 b/dev-libs/sucs/files/digest-sucs-1.0.0
index 69cf031b6331..0f59f22dd6d8 100644
--- a/dev-libs/sucs/files/digest-sucs-1.0.0
+++ b/dev-libs/sucs/files/digest-sucs-1.0.0
@@ -1 +1,3 @@
MD5 a713e9d571197b74c9295e9f40a46740 sucs-1.0.0.tar.bz2 162874
+RMD160 26c3bf8c9d896fae7eb4835fe4982bb2f21e1a2c sucs-1.0.0.tar.bz2 162874
+SHA256 5776bd5a3ccaae8cf5052cd2e85fa087296e6ebf474623ac3e945625dd5bdea1 sucs-1.0.0.tar.bz2 162874
diff --git a/dev-libs/sucs/files/sucs-1.0.0-signals.diff b/dev-libs/sucs/files/sucs-1.0.0-signals.diff
new file mode 100644
index 000000000000..ec9d93c1e16a
--- /dev/null
+++ b/dev-libs/sucs/files/sucs-1.0.0-signals.diff
@@ -0,0 +1,11 @@
+--- signals/signallistener.cpp.orig 2006-10-20 19:30:24.000000000 +0000
++++ signals/signallistener.cpp 2006-10-20 19:30:50.000000000 +0000
+@@ -29,6 +29,8 @@
+ namespace sucs
+ {
+
++void actualHandler(int signal);
++
+ SignalListener *SignalListener::theOne = NULL;
+
+ SignalListener::SignalListener()
diff --git a/dev-libs/sucs/files/sucs-1.0.0-thread.diff b/dev-libs/sucs/files/sucs-1.0.0-thread.diff
new file mode 100644
index 000000000000..0576c61f916c
--- /dev/null
+++ b/dev-libs/sucs/files/sucs-1.0.0-thread.diff
@@ -0,0 +1,12 @@
+--- thread/thread.cpp.orig 2006-10-20 19:32:13.000000000 +0000
++++ thread/thread.cpp 2006-10-20 19:33:16.000000000 +0000
+@@ -29,6 +29,9 @@
+
+ Sema sucs::__output;
+
++void *sucs::gameOn(void *arg);
++void sucs::cleanup(void *arg);
++
+ int Thread::theIdCount = 0, Thread::theCount = 0, Thread::theNowRunningCount = 0;
+ Sema Thread::theNowRunning;
+ pthread_t Thread::theMainId = (pthread_t)NULL;
diff --git a/dev-libs/sucs/files/sucs-1.0.0-xml.diff b/dev-libs/sucs/files/sucs-1.0.0-xml.diff
new file mode 100644
index 000000000000..f5ee0f8a36a9
--- /dev/null
+++ b/dev-libs/sucs/files/sucs-1.0.0-xml.diff
@@ -0,0 +1,13 @@
+--- xml/xmlreader.cpp.orig 2006-10-20 19:34:49.000000000 +0000
++++ xml/xmlreader.cpp 2006-10-20 19:35:35.000000000 +0000
+@@ -24,6 +24,10 @@
+
+ using namespace sucs;
+
++void sucs::cStartElement(void *userdata, const char *name, const char **atts);
++void sucs::cEndElement(void *userdata, const char *name);
++void sucs::cCharData(void *userdata, const XML_Char *s, int len);
++
+ XMLReader::XMLReader(bool newStripWhite)
+ {
+ StripWhite = newStripWhite;
diff --git a/dev-libs/sucs/sucs-1.0.0.ebuild b/dev-libs/sucs/sucs-1.0.0.ebuild
index ac04b87aa446..0c39c65f584b 100644
--- a/dev-libs/sucs/sucs-1.0.0.ebuild
+++ b/dev-libs/sucs/sucs-1.0.0.ebuild
@@ -1,6 +1,6 @@
-# Copyright 1999-2005 Gentoo Foundation
+# Copyright 1999-2006 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-libs/sucs/sucs-1.0.0.ebuild,v 1.3 2005/05/17 11:29:05 ka0ttic Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-libs/sucs/sucs-1.0.0.ebuild,v 1.4 2006/10/20 19:37:30 dev-zero Exp $
inherit eutils
@@ -10,18 +10,23 @@ SRC_URI="mirror://sourceforge/sucs/${P}.tar.bz2"
LICENSE="LGPL-2"
SLOT="0"
-KEYWORDS="x86"
+KEYWORDS="x86 ~amd64"
IUSE=""
DEPEND=">=dev-libs/libpcre-3.9
>=dev-libs/expat-1.95.4"
+RDEPEND="${DEPEND}"
src_unpack() {
unpack ${A}
- epatch ${FILESDIR}/${P}-gcc4.diff
+ cd "${S}"
+ epatch "${FILESDIR}/${P}-gcc4.diff"
+ epatch "${FILESDIR}/${P}-thread.diff"
+ epatch "${FILESDIR}/${P}-signals.diff"
+ epatch "${FILESDIR}/${P}-xml.diff"
}
src_install() {
- make DESTDIR="${D}" install || die "make install failed"
- dodoc AUTHORS ChangeLog README COPYING
+ emake DESTDIR="${D}" install || die "make install failed"
+ dodoc AUTHORS ChangeLog README
}