diff options
author | Aaron Walker <ka0ttic@gentoo.org> | 2005-05-17 11:29:05 +0000 |
---|---|---|
committer | Aaron Walker <ka0ttic@gentoo.org> | 2005-05-17 11:29:05 +0000 |
commit | a4e0291bdcdda289cdeda25668be65685981e19d (patch) | |
tree | 8d7ea38dadf20b1a774d2a3a0fd6f4c2060a23fc /dev-libs | |
parent | Added patch so splitvt will build with gcc-4. (diff) | |
download | historical-a4e0291bdcdda289cdeda25668be65685981e19d.tar.gz historical-a4e0291bdcdda289cdeda25668be65685981e19d.tar.bz2 historical-a4e0291bdcdda289cdeda25668be65685981e19d.zip |
Added patch so sucs will build with gcc-4.
Diffstat (limited to 'dev-libs')
-rw-r--r-- | dev-libs/sucs/ChangeLog | 6 | ||||
-rw-r--r-- | dev-libs/sucs/Manifest | 11 | ||||
-rw-r--r-- | dev-libs/sucs/files/sucs-1.0.0-gcc4.diff | 45 | ||||
-rw-r--r-- | dev-libs/sucs/sucs-1.0.0.ebuild | 9 |
4 files changed, 64 insertions, 7 deletions
diff --git a/dev-libs/sucs/ChangeLog b/dev-libs/sucs/ChangeLog index 17ea3091df6e..50458632f3a8 100644 --- a/dev-libs/sucs/ChangeLog +++ b/dev-libs/sucs/ChangeLog @@ -1,6 +1,10 @@ # 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.5 2005/05/06 12:00:13 ka0ttic Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-libs/sucs/ChangeLog,v 1.6 2005/05/17 11:29:05 ka0ttic Exp $ + + 17 May 2005; Aaron Walker <ka0ttic@gentoo.org> + +files/sucs-1.0.0-gcc4.diff, sucs-1.0.0.ebuild: + Added patch so sucs will build with gcc-4. 06 May 2005; Aaron Walker <ka0ttic@gentoo.org> sucs-1.0.0.ebuild: Stable on x86. diff --git a/dev-libs/sucs/Manifest b/dev-libs/sucs/Manifest index 8a6c926096b8..9e2fe3acf79a 100644 --- a/dev-libs/sucs/Manifest +++ b/dev-libs/sucs/Manifest @@ -2,15 +2,16 @@ Hash: SHA1 MD5 72743ff7fa2bcfffef6b42e7feec254e sucs-0.7.0.ebuild 631 -MD5 ef39e7fdb28e0f3aab8d7a7b66c5655e sucs-1.0.0.ebuild 631 -MD5 ae8e9bb985d5cc826d3b017c514c737f ChangeLog 570 +MD5 2717893daf0e7cb012a85decf8c6bd9b sucs-1.0.0.ebuild 713 +MD5 2976847fd8b2fe093c38240c1499a4c7 ChangeLog 715 MD5 a62a06505b24b910fea16c550e803cee metadata.xml 514 MD5 23febb6cf0c7963a23a80652c3e5dbb6 files/digest-sucs-0.7.0 62 MD5 dd729e71d475544c9f595aa46e3c4a83 files/digest-sucs-1.0.0 63 +MD5 a0f1323cf59278f7c592ed9479d00661 files/sucs-1.0.0-gcc4.diff 1718 -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.1 (GNU/Linux) -iD8DBQFCe1yWEZCkKN40op4RAjJAAJ9x7KlzGl1XYmgZnn8VqqFM+7GMkACfbXqj -pIR2KmEBRZu94WnU28e8d6E= -=zoCb +iD8DBQFCidXXEZCkKN40op4RArzAAJ93QguUsyHm2WsuX+RD/CS0VjG1ZgCgvdX6 +MQ+bvO3GlfqdcyO9NwO5DSg= +=yR4w -----END PGP SIGNATURE----- diff --git a/dev-libs/sucs/files/sucs-1.0.0-gcc4.diff b/dev-libs/sucs/files/sucs-1.0.0-gcc4.diff new file mode 100644 index 000000000000..0c1159214dd1 --- /dev/null +++ b/dev-libs/sucs/files/sucs-1.0.0-gcc4.diff @@ -0,0 +1,45 @@ +diff --exclude='*~' --exclude='.*' -I '$Id:' -urN sucs-1.0.0.orig/ipc/sema.cpp sucs-1.0.0/ipc/sema.cpp +--- sucs-1.0.0.orig/ipc/sema.cpp 2005-05-17 01:25:17.000000000 -0400 ++++ sucs-1.0.0/ipc/sema.cpp 2005-05-17 01:26:15.000000000 -0400 +@@ -15,6 +15,7 @@ + #pragma implementation + + #include <iostream> ++#include <cerrno> + using namespace std; + + #include <semaphore.h> +diff --exclude='*~' --exclude='.*' -I '$Id:' -urN sucs-1.0.0.orig/network/link.cpp sucs-1.0.0/network/link.cpp +--- sucs-1.0.0.orig/network/link.cpp 2005-05-17 01:25:17.000000000 -0400 ++++ sucs-1.0.0/network/link.cpp 2005-05-17 01:40:35.000000000 -0400 +@@ -17,6 +17,7 @@ + #include <string> + //#include <cstring> + #include <cassert> ++#include <cerrno> + using namespace std; + + #include <netinet/in.h> +diff --exclude='*~' --exclude='.*' -I '$Id:' -urN sucs-1.0.0.orig/signals/signallistener.cpp sucs-1.0.0/signals/signallistener.cpp +--- sucs-1.0.0.orig/signals/signallistener.cpp 2005-05-17 01:25:17.000000000 -0400 ++++ sucs-1.0.0/signals/signallistener.cpp 2005-05-17 01:39:04.000000000 -0400 +@@ -79,7 +79,7 @@ + theHandlers.erase(signal); + } + +-void sucs::actualHandler(int signal) ++void actualHandler(int signal) + { + // cerr << "actualHandler: Received signal " << signal << "." << endl << flush; + SignalListener *l = SignalListener::signalListener(); +diff --exclude='*~' --exclude='.*' -I '$Id:' -urN sucs-1.0.0.orig/thread/thread.cpp sucs-1.0.0/thread/thread.cpp +--- sucs-1.0.0.orig/thread/thread.cpp 2005-05-17 01:25:17.000000000 -0400 ++++ sucs-1.0.0/thread/thread.cpp 2005-05-17 01:30:05.000000000 -0400 +@@ -17,6 +17,7 @@ + #include <iostream> + #include <string> + #include <cassert> ++#include <cerrno> + using namespace std; + + #include <csignal> diff --git a/dev-libs/sucs/sucs-1.0.0.ebuild b/dev-libs/sucs/sucs-1.0.0.ebuild index 652b548eca88..ac04b87aa446 100644 --- a/dev-libs/sucs/sucs-1.0.0.ebuild +++ b/dev-libs/sucs/sucs-1.0.0.ebuild @@ -1,6 +1,8 @@ # Copyright 1999-2005 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.2 2005/05/06 12:00:13 ka0ttic Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-libs/sucs/sucs-1.0.0.ebuild,v 1.3 2005/05/17 11:29:05 ka0ttic Exp $ + +inherit eutils DESCRIPTION="The Simple Utility Classes are C++ libraries of common C-based algorithms and libraries" HOMEPAGE="http://sucs.sourceforge.net/" @@ -14,6 +16,11 @@ IUSE="" DEPEND=">=dev-libs/libpcre-3.9 >=dev-libs/expat-1.95.4" +src_unpack() { + unpack ${A} + epatch ${FILESDIR}/${P}-gcc4.diff +} + src_install() { make DESTDIR="${D}" install || die "make install failed" dodoc AUTHORS ChangeLog README COPYING |