summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHanno Boeck <hanno@gentoo.org>2008-05-03 18:57:05 +0000
committerHanno Boeck <hanno@gentoo.org>2008-05-03 18:57:05 +0000
commit692ec9e69d8eed4b2cb5708d877a3b4e2fd09e66 (patch)
tree3c57ef512e0d2d60790a4aa062f9ca5629c21117 /dev-cpp/libthrowable
parentRemove mask on bind(-tools) 9.2.7 and 9.3.3 (diff)
downloadhistorical-692ec9e69d8eed4b2cb5708d877a3b4e2fd09e66.tar.gz
historical-692ec9e69d8eed4b2cb5708d877a3b4e2fd09e66.tar.bz2
historical-692ec9e69d8eed4b2cb5708d877a3b4e2fd09e66.zip
libthrowable: fix for gcc43
Package-Manager: portage-2.1.5_rc6
Diffstat (limited to 'dev-cpp/libthrowable')
-rw-r--r--dev-cpp/libthrowable/ChangeLog6
-rw-r--r--dev-cpp/libthrowable/Manifest15
-rw-r--r--dev-cpp/libthrowable/files/libthrowable-1.1.0-gcc43.diff12
-rw-r--r--dev-cpp/libthrowable/libthrowable-1.1.0.ebuild8
4 files changed, 37 insertions, 4 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/Manifest b/dev-cpp/libthrowable/Manifest
index 22cea799f8e3..a95eee8572d3 100644
--- a/dev-cpp/libthrowable/Manifest
+++ b/dev-cpp/libthrowable/Manifest
@@ -1,4 +1,15 @@
+-----BEGIN PGP SIGNED MESSAGE-----
+Hash: SHA1
+
+AUX libthrowable-1.1.0-gcc43.diff 450 RMD160 fba6aa30cfd99a69e028d993d4184de7220ac8ce SHA1 d85820bf8bd7276c875b6c4cd6359f876665965e SHA256 b9faec79aff221c3668663e788fbbd68078b7f829e611a582665f1fe8355c2c7
DIST libthrowable-1.1.0.tar.bz2 274166 RMD160 28e5be8c75644ec678be10cf518db81e87d8a5ee SHA1 937bea016b1573869e34ce335958a486bd66d424 SHA256 4176437a5f93acbe204769eaae07b03f1294d0afc6a61a2a9fd22c0b50d78e6e
-EBUILD libthrowable-1.1.0.ebuild 1549 RMD160 3cbcdaaf497288a9d0ba96214f6ba4127bcb212b SHA1 35ad821c838ce69ce35c4eb00f554d9c06266ea7 SHA256 d23926e5f2b97e82452604a4bb9f0616f9a1ea5838f1d88cf36c8a5fb380f15d
-MISC ChangeLog 1570 RMD160 523a2157a48f82559ce1b946b470c024ea22a070 SHA1 c789f1714c5c4ce128d173577d7b49e4318dc115 SHA256 d570a86f0d892b4b3635c59ddbda83a10db49d9ff3f5a8f521ed8fc569ea164a
+EBUILD libthrowable-1.1.0.ebuild 1644 RMD160 7d2d6a0c1fc1495aa3ef1eb15d9165521c7db534 SHA1 113589d3c134a77c74634d7d82494f5680299d9e SHA256 7935c6bd62aef94040f65405f3e34a72d5fbf9277834478d2712013366b4eb45
+MISC ChangeLog 1704 RMD160 1b9b99a74c252c9145d1559ccfc2ebfb1b293e20 SHA1 f9c4c9012a141a75906851dec657579f8fa056d7 SHA256 76ba0f263c31b2f78dc9ef097320f7b584a1e201ce48ad610e1318197e4fb282
MISC metadata.xml 257 RMD160 2f51e97b0b033a784bca7108de599f6b628f0a06 SHA1 9e0ed687013f080bc7e2847e135d8705e74a7cfe SHA256 104069beb62732cf81d0b615d480c7e50153d7f35dfb7cb26826c574007befd5
+-----BEGIN PGP SIGNATURE-----
+Version: GnuPG v2.0.9 (GNU/Linux)
+
+iEYEARECAAYFAkgctYYACgkQr2QksT29OyBJyQCeKhSIafVt1VgMdipRohaEJ8FB
+iWcAn1gflu7zIu6IBRpOOzyihuH02/vU
+=y/22
+-----END PGP SIGNATURE-----
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"