summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Black <dragonheart@gentoo.org>2008-04-01 15:48:32 +0000
committerDaniel Black <dragonheart@gentoo.org>2008-04-01 15:48:32 +0000
commitfa7f4212870ddf532a37c85f44fe9f414f82beb7 (patch)
tree7e35a187d98bf3ada51bfb6ce5d5be37298821a9 /dev-libs/blitz
parentAdd warning. (diff)
downloadhistorical-fa7f4212870ddf532a37c85f44fe9f414f82beb7.tar.gz
historical-fa7f4212870ddf532a37c85f44fe9f414f82beb7.tar.bz2
historical-fa7f4212870ddf532a37c85f44fe9f414f82beb7.zip
gcc-4.3 compatible patch poached from debian thanks to the watchful eye of Jan - bug #214084 referes
Package-Manager: portage-2.1.4.4
Diffstat (limited to 'dev-libs/blitz')
-rw-r--r--dev-libs/blitz/ChangeLog10
-rw-r--r--dev-libs/blitz/Manifest7
-rw-r--r--dev-libs/blitz/blitz-0.9-r1.ebuild5
-rw-r--r--dev-libs/blitz/blitz-0.9.ebuild10
-rw-r--r--dev-libs/blitz/files/blitz-0.9-gcc-4.3-missing-includes.patch20
5 files changed, 43 insertions, 9 deletions
diff --git a/dev-libs/blitz/ChangeLog b/dev-libs/blitz/ChangeLog
index bdbb9b7a66ee..5bbb3b066051 100644
--- a/dev-libs/blitz/ChangeLog
+++ b/dev-libs/blitz/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for dev-libs/blitz
-# Copyright 2002-2006 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-libs/blitz/ChangeLog,v 1.28 2006/11/12 11:28:49 dragonheart Exp $
+# Copyright 2002-2008 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/dev-libs/blitz/ChangeLog,v 1.29 2008/04/01 15:48:32 dragonheart Exp $
+
+ 01 Apr 2008; Daniel Black <dragonheart@gentoo.org>
+ +files/blitz-0.9-gcc-4.3-missing-includes.patch, blitz-0.9.ebuild,
+ blitz-0.9-r1.ebuild:
+ gcc-4.3 compatible patch poached from debian thanks to the watchful eye of
+ Jan - bug #214084 referes
12 Nov 2006; Daniel Black <dragonheart@gentoo.org> blitz-0.9.ebuild:
removed doc support - access violation - thanks Manuel Herzog bug 88042#c6
diff --git a/dev-libs/blitz/Manifest b/dev-libs/blitz/Manifest
index 863e968b6080..3bb6c571e1de 100644
--- a/dev-libs/blitz/Manifest
+++ b/dev-libs/blitz/Manifest
@@ -1,5 +1,6 @@
+AUX blitz-0.9-gcc-4.3-missing-includes.patch 404 RMD160 13cf1763393344485de9d2a28c908095f2ada50f SHA1 374d14e968f478be59859d81aff50ffb3a860644 SHA256 dac1360a34e0f24222873247ae1933e27f760e6207356dff142c81bc30e6f8a2
DIST blitz-0.9.tar.gz 3124301 RMD160 1e1b39a5975f9e5b423365c2d1b047fe0285ed2f SHA1 055a4bcb47903e5c2446884d2df1494ac3e24034 SHA256 88b7c5e062b06767d04511776cf706316026b9357b128e126be88935626d2bcb
-EBUILD blitz-0.9-r1.ebuild 1407 RMD160 face11a398fe0f665d1a8dc4d72e82ab76961003 SHA1 b92b8877f294a0042efda68474c51d921c7bc605 SHA256 4e89a6789ba35f5c9b0f7f5234dfafc34b5c8fe5624cf13bef83f8bf8a028003
-EBUILD blitz-0.9.ebuild 1200 RMD160 cdc85df23f472e52d0b4dac656d78b59149dd917 SHA1 f50f8a69bbb3f0d94badcc794145a847d3f8d191 SHA256 5bd430f964d2aa2bb187bbac835f96a5f2851fb6299d76d95106c0015ee037f5
-MISC ChangeLog 3640 RMD160 57381f85842f5a8051648ca425530c0a7344210f SHA1 bfa152d52b09ea9d24012be791fe57f223a0063c SHA256 84c45ebcbd9a5a13d60c2dd5797c2a11bc9d9152dd94639c64a35a46db19d6ee
+EBUILD blitz-0.9-r1.ebuild 1468 RMD160 d41d606937aabbdca1cbae9ed2ebfe1fe395a454 SHA1 e19cd06b28b4ba77d0f38bfd91a332138407167b SHA256 d0ee9a7b9f825e7c07fca3bc382639631be671622b98620a66b5f29fb7120131
+EBUILD blitz-0.9.ebuild 1300 RMD160 fd2d7a8989b47804d2b3d36dbc00455be78ffec1 SHA1 06ed367e81e1122fb81b82d6fee9975272772a37 SHA256 2659f2471a7cba5e1dccfd0ce9e2201195a481df0ba27a8cf94cbe049be4ed18
+MISC ChangeLog 3891 RMD160 183b66359e94845397413593a79735e022c7528e SHA1 4add265d3a339517f7e4be45723924489299e3ff SHA256 76a9b4ba7d2ca97c7720f51961e41871421a7a4e450f0688ad0879b7bc9b27c2
MISC metadata.xml 304 RMD160 4534779aede454ff4fd69acfd9ec78063a09b75a SHA1 d4976e87786afbac02939a1654ffc94124b92931 SHA256 3bb1511a946ae2fec05abd0c8b47847d0ada2ded4c5db17039116f714f12af25
diff --git a/dev-libs/blitz/blitz-0.9-r1.ebuild b/dev-libs/blitz/blitz-0.9-r1.ebuild
index b4727c499801..143590c6ccf0 100644
--- a/dev-libs/blitz/blitz-0.9-r1.ebuild
+++ b/dev-libs/blitz/blitz-0.9-r1.ebuild
@@ -1,6 +1,6 @@
-# Copyright 1999-2006 Gentoo Foundation
+# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-libs/blitz/blitz-0.9-r1.ebuild,v 1.1 2006/10/24 19:04:32 dev-zero Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-libs/blitz/blitz-0.9-r1.ebuild,v 1.2 2008/04/01 15:48:32 dragonheart Exp $
inherit eutils toolchain-funcs fortran
@@ -24,6 +24,7 @@ src_unpack() {
sed -i \
-e 's/blitz-uninstalled.pc//' \
Makefile.in || die "sed failed"
+ epatch "${FILESDIR}"/${P}-gcc-4.3-missing-includes.patch
}
src_compile() {
diff --git a/dev-libs/blitz/blitz-0.9.ebuild b/dev-libs/blitz/blitz-0.9.ebuild
index fa9e2800a984..5b38ad8f5760 100644
--- a/dev-libs/blitz/blitz-0.9.ebuild
+++ b/dev-libs/blitz/blitz-0.9.ebuild
@@ -1,6 +1,6 @@
-# Copyright 1999-2006 Gentoo Foundation
+# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-libs/blitz/blitz-0.9.ebuild,v 1.7 2006/11/12 11:28:49 dragonheart Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-libs/blitz/blitz-0.9.ebuild,v 1.8 2008/04/01 15:48:32 dragonheart Exp $
inherit eutils toolchain-funcs fortran
@@ -18,6 +18,12 @@ LICENSE="GPL-2"
FORTAN="g77"
+src_unpack() {
+ unpack ${A}
+ cd "${S}"
+ epatch "${FILESDIR}"/${P}-gcc-4.3-missing-includes.patch
+}
+
src_compile() {
local myconf
# ICC: if we've got it, use it
diff --git a/dev-libs/blitz/files/blitz-0.9-gcc-4.3-missing-includes.patch b/dev-libs/blitz/files/blitz-0.9-gcc-4.3-missing-includes.patch
new file mode 100644
index 000000000000..64ca31c38a7a
--- /dev/null
+++ b/dev-libs/blitz/files/blitz-0.9-gcc-4.3-missing-includes.patch
@@ -0,0 +1,20 @@
+--- blitz-0.9.orig/blitz/funcs.h
++++ blitz-0.9/blitz/funcs.h
+@@ -30,6 +30,7 @@
+ #include <blitz/blitz.h>
+ #include <blitz/promote.h>
+ #include <blitz/prettyprint.h>
++#include <cstdlib>
+
+ BZ_NAMESPACE(blitz)
+
+--- blitz-0.9.orig/blitz/prettyprint.h
++++ blitz-0.9/blitz/prettyprint.h
+@@ -27,6 +27,7 @@
+
+ #ifndef BZ_PRETTYPRINT_H
+ #define BZ_PRETTYPRINT_H
++#include <cstdlib>
+
+ BZ_NAMESPACE(blitz)
+