diff options
author | Hanno Böck <hanno@gentoo.org> | 2008-05-03 18:57:05 +0000 |
---|---|---|
committer | Hanno Böck <hanno@gentoo.org> | 2008-05-03 18:57:05 +0000 |
commit | 1cde9990619804e1897e34172cac5c3dd0e98ac2 (patch) | |
tree | 93c859985305893fc24c6ed53efdab4a23d5a0f6 /dev-cpp/libthrowable | |
parent | Remove mask on bind(-tools) 9.2.7 and 9.3.3 (diff) | |
download | gentoo-2-1cde9990619804e1897e34172cac5c3dd0e98ac2.tar.gz gentoo-2-1cde9990619804e1897e34172cac5c3dd0e98ac2.tar.bz2 gentoo-2-1cde9990619804e1897e34172cac5c3dd0e98ac2.zip |
libthrowable: fix for gcc43
(Portage version: 2.1.5_rc6)
Diffstat (limited to 'dev-cpp/libthrowable')
-rw-r--r-- | dev-cpp/libthrowable/ChangeLog | 6 | ||||
-rw-r--r-- | dev-cpp/libthrowable/files/libthrowable-1.1.0-gcc43.diff | 12 | ||||
-rw-r--r-- | dev-cpp/libthrowable/libthrowable-1.1.0.ebuild | 8 |
3 files changed, 24 insertions, 2 deletions
diff --git a/dev-cpp/libthrowable/ChangeLog b/dev-cpp/libthrowable/ChangeLog index 8e37f8030058..b383d478c077 100644 --- a/dev-cpp/libthrowable/ChangeLog +++ b/dev-cpp/libthrowable/ChangeLog @@ -1,6 +1,10 @@ # ChangeLog for dev-cpp/libthrowable # Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-cpp/libthrowable/ChangeLog,v 1.11 2008/05/02 15:05:05 drac Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-cpp/libthrowable/ChangeLog,v 1.12 2008/05/03 18:57:04 hanno Exp $ + + 03 May 2008; Hanno Boeck <hanno@gentoo.org> + +files/libthrowable-1.1.0-gcc43.diff, libthrowable-1.1.0.ebuild: + Fix for gcc 4.3. 02 May 2008; Samuli Suominen <drac@gentoo.org> libthrowable-1.1.0.ebuild: Move pkgconfig to DEPEND wrt #217278 diff --git a/dev-cpp/libthrowable/files/libthrowable-1.1.0-gcc43.diff b/dev-cpp/libthrowable/files/libthrowable-1.1.0-gcc43.diff new file mode 100644 index 000000000000..db3e95b0b098 --- /dev/null +++ b/dev-cpp/libthrowable/files/libthrowable-1.1.0-gcc43.diff @@ -0,0 +1,12 @@ +--- libthrowable-1.1.0/libthrowable/internal/internal.cc.orig 2008-05-03 20:41:16.000000000 +0200 ++++ libthrowable-1.1.0/libthrowable/internal/internal.cc 2008-05-03 20:41:51.000000000 +0200 +@@ -23,7 +23,8 @@ + #include "libthrowable/macros/here.h" + #include "libthrowable/util/util.h" + #include "libthrowable/internal/threads.h" +-#include <string> ++#include <stdlib.h> ++#include <string.h> + #include <sstream> + #include <iostream> + #include <limits> diff --git a/dev-cpp/libthrowable/libthrowable-1.1.0.ebuild b/dev-cpp/libthrowable/libthrowable-1.1.0.ebuild index 5a12f860422b..63c590d26828 100644 --- a/dev-cpp/libthrowable/libthrowable-1.1.0.ebuild +++ b/dev-cpp/libthrowable/libthrowable-1.1.0.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2008 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/dev-cpp/libthrowable/libthrowable-1.1.0.ebuild,v 1.3 2008/05/02 15:05:05 drac Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-cpp/libthrowable/libthrowable-1.1.0.ebuild,v 1.4 2008/05/03 18:57:04 hanno Exp $ inherit eutils @@ -28,6 +28,12 @@ pkg_setup() { fi } +src_unpack() { + unpack ${A} + cd "${S}" + epatch "${FILESDIR}/libthrowable-1.1.0-gcc43.diff" +} + src_compile() { econf $(use_enable threads pthreads) || die "econf failed" emake || die "emake failed" |