summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlfredo Tupone <tupone@gentoo.org>2006-04-24 15:13:58 +0000
committerAlfredo Tupone <tupone@gentoo.org>2006-04-24 15:13:58 +0000
commitad04735e4d1014b2eb2419bf2d27fe96a65ec678 (patch)
tree96f2fcc6f49f41a94d927a0a1a4e4ba9df574d58
parentAdd ~x86-fbsd keyword. (diff)
downloadhistorical-ad04735e4d1014b2eb2419bf2d27fe96a65ec678.tar.gz
historical-ad04735e4d1014b2eb2419bf2d27fe96a65ec678.tar.bz2
historical-ad04735e4d1014b2eb2419bf2d27fe96a65ec678.zip
Fix for gcc-4.1
Package-Manager: portage-2.1_pre7-r5
-rw-r--r--games-arcade/sdl-sopwith/ChangeLog8
-rw-r--r--games-arcade/sdl-sopwith/Manifest27
-rw-r--r--games-arcade/sdl-sopwith/files/digest-sdl-sopwith-1.7.12
-rw-r--r--games-arcade/sdl-sopwith/files/sdl-sopwith-1.7.1-gcc41.patch20
-rw-r--r--games-arcade/sdl-sopwith/sdl-sopwith-1.7.1.ebuild12
5 files changed, 61 insertions, 8 deletions
diff --git a/games-arcade/sdl-sopwith/ChangeLog b/games-arcade/sdl-sopwith/ChangeLog
index 8d028e235dc6..c222f4a23cf5 100644
--- a/games-arcade/sdl-sopwith/ChangeLog
+++ b/games-arcade/sdl-sopwith/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for games-arcade/sdl-sopwith
-# Copyright 2000-2004 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/games-arcade/sdl-sopwith/ChangeLog,v 1.6 2004/06/24 22:11:56 agriffis Exp $
+# Copyright 2000-2006 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/games-arcade/sdl-sopwith/ChangeLog,v 1.7 2006/04/24 15:13:58 tupone Exp $
+
+ 24 Apr 2006; <Tupone@gentoo.org> +files/sdl-sopwith-1.7.1-gcc41.patch,
+ sdl-sopwith-1.7.1.ebuild:
+ Fix for gcc-4.1
17 Apr 2004; Chris Gianelloni <wolf31o2@gentoo.org>
sdl-sopwith-1.7.1.ebuild:
diff --git a/games-arcade/sdl-sopwith/Manifest b/games-arcade/sdl-sopwith/Manifest
index 3ba12c159c0b..76f39563d53f 100644
--- a/games-arcade/sdl-sopwith/Manifest
+++ b/games-arcade/sdl-sopwith/Manifest
@@ -1,4 +1,25 @@
-MD5 95c49976d30c6790d4a25b20910caa04 sdl-sopwith-1.7.1.ebuild 857
-MD5 f11d32ef05cee4d0c5e1c2b05eeb7f94 ChangeLog 1039
+-----BEGIN PGP SIGNED MESSAGE-----
+Hash: SHA1
+
+MD5 a39b76b773ea8aed15cfb9cafa8e434f ChangeLog 1157
+RMD160 1ffca41e0a4037300d57a435f1eb112360b0ec64 ChangeLog 1157
+SHA256 5fb5821eacacfec0abc11fadb4d16acd8e94334c5bee3678e895e3eea5c0daff ChangeLog 1157
+MD5 f5bdaefa619804e9749fda3d37a172fd files/digest-sdl-sopwith-1.7.1 253
+RMD160 f92e5182c08fed69101d0a78d82a987119426790 files/digest-sdl-sopwith-1.7.1 253
+SHA256 a19a1321ec4776bd88955ac5779fd07fde417dd642f28c7e2865862991742ced files/digest-sdl-sopwith-1.7.1 253
+MD5 cff130f6aaf79a894c298cf67f178512 files/sdl-sopwith-1.7.1-gcc41.patch 540
+RMD160 75adf4e8c3caa5edd1a88c43eac3d3652229cdf0 files/sdl-sopwith-1.7.1-gcc41.patch 540
+SHA256 9450e734f9388650617e7b5c740019d0a7d7244e7d9d83b218c0894305d10791 files/sdl-sopwith-1.7.1-gcc41.patch 540
MD5 f17b9b8fa07a38914fe1c03268f51678 metadata.xml 158
-MD5 e35cc5cd710dd0d0c12d63304ca5b0a1 files/digest-sdl-sopwith-1.7.1 69
+RMD160 cbd9984bb6b426c8c9cee5022fe0a26261612fea metadata.xml 158
+SHA256 1423a4fdd4a79b1728a2056d9e300f7e1074253095d82726218d9e9b953888a3 metadata.xml 158
+MD5 7aee0c0576fd9efffef9fac0204261f4 sdl-sopwith-1.7.1.ebuild 943
+RMD160 e5bad6d0a304dce87b222a76d73a36471bf66aa0 sdl-sopwith-1.7.1.ebuild 943
+SHA256 4923275ecac72d5ab98e9f83497641f49042ad308b6cdf35a82627433a5b410f sdl-sopwith-1.7.1.ebuild 943
+-----BEGIN PGP SIGNATURE-----
+Version: GnuPG v1.4.2.2 (GNU/Linux)
+
+iD8DBQFETOtH2CTtIKiFlQIRAq8XAJsHsEi7nu2w9w4QVcHsL4Pkvvty5ACgjnU5
+ntL+a+rp2gwJNk9GyINMIng=
+=k2XS
+-----END PGP SIGNATURE-----
diff --git a/games-arcade/sdl-sopwith/files/digest-sdl-sopwith-1.7.1 b/games-arcade/sdl-sopwith/files/digest-sdl-sopwith-1.7.1
index 7dbbdded81e6..473208c05941 100644
--- a/games-arcade/sdl-sopwith/files/digest-sdl-sopwith-1.7.1
+++ b/games-arcade/sdl-sopwith/files/digest-sdl-sopwith-1.7.1
@@ -1 +1,3 @@
MD5 bc66c80c83b14d48b60ba263403dba9a sdl_sopwith-1.7.1.tar.gz 176774
+RMD160 7c55da41e7e160b4a84e5235974ecf0d48d1010a sdl_sopwith-1.7.1.tar.gz 176774
+SHA256 b0beaa54d3a9e8c4f8e15d9ec5ca92e377859721d1db45be44f6aa03e2e06848 sdl_sopwith-1.7.1.tar.gz 176774
diff --git a/games-arcade/sdl-sopwith/files/sdl-sopwith-1.7.1-gcc41.patch b/games-arcade/sdl-sopwith/files/sdl-sopwith-1.7.1-gcc41.patch
new file mode 100644
index 000000000000..432f1fad7d15
--- /dev/null
+++ b/games-arcade/sdl-sopwith/files/sdl-sopwith-1.7.1-gcc41.patch
@@ -0,0 +1,20 @@
+--- src/swmain.h.old 2006-04-24 17:00:39.000000000 +0200
++++ src/swmain.h 2006-04-24 17:00:52.000000000 +0200
+@@ -46,7 +46,6 @@
+ extern int targrnge;
+ extern BOOL hires;
+ extern BOOL disppos;
+-extern BOOL titleflg;
+ extern int dispdbg;
+ extern BOOL soundflg;
+ extern BOOL repflag;
+--- src/swtitle.h.old 2006-04-24 17:04:49.000000000 +0200
++++ src/swtitle.h 2006-04-24 17:05:09.000000000 +0200
+@@ -30,6 +30,7 @@
+ extern int getgame();
+ extern void swtitln();
+ extern void swtitlf();
++extern BOOL titleflg;
+
+ #endif
+
diff --git a/games-arcade/sdl-sopwith/sdl-sopwith-1.7.1.ebuild b/games-arcade/sdl-sopwith/sdl-sopwith-1.7.1.ebuild
index fe02bb5ba63f..6bfb650eacb2 100644
--- a/games-arcade/sdl-sopwith/sdl-sopwith-1.7.1.ebuild
+++ b/games-arcade/sdl-sopwith/sdl-sopwith-1.7.1.ebuild
@@ -1,8 +1,8 @@
-# Copyright 1999-2004 Gentoo Foundation
+# Copyright 1999-2006 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/games-arcade/sdl-sopwith/sdl-sopwith-1.7.1.ebuild,v 1.10 2004/06/24 22:11:56 agriffis Exp $
+# $Header: /var/cvsroot/gentoo-x86/games-arcade/sdl-sopwith/sdl-sopwith-1.7.1.ebuild,v 1.11 2006/04/24 15:13:58 tupone Exp $
-inherit games
+inherit eutils games
MY_P="${P/-/_}"
S="${WORKDIR}/${MY_P}"
@@ -24,6 +24,12 @@ RDEPEND=">=media-libs/freetype-2
DEPEND="${RDEPEND}
dev-util/pkgconfig"
+src_unpack() {
+ unpack ${A}
+ cd "${S}"
+ epatch "${FILESDIR}/${P}"-gcc41.patch
+}
+
src_install() {
make DESTDIR="${D}" install || die "make install failed"
dodoc AUTHORS ChangeLog FAQ NEWS README TODO doc/*txt