summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlfredo Tupone <tupone@gentoo.org>2015-02-26 23:08:01 +0000
committerAlfredo Tupone <tupone@gentoo.org>2015-02-26 23:08:01 +0000
commitbcce5c37b6bebb61fd1f5acb981d1bd7b7ee081e (patch)
treeb65476d64128b9c7753459880254288bda4033b4
parentsci-physics/lammps: Adding new version. (diff)
downloadhistorical-bcce5c37b6bebb61fd1f5acb981d1bd7b7ee081e.tar.gz
historical-bcce5c37b6bebb61fd1f5acb981d1bd7b7ee081e.tar.bz2
historical-bcce5c37b6bebb61fd1f5acb981d1bd7b7ee081e.zip
EAPI 5
Underlink Buffer overflow Package-Manager: portage-2.2.14/cvs/Linux x86_64 Manifest-Sign-Key: 0x0145142D
-rw-r--r--games-puzzle/wakkabox/ChangeLog8
-rw-r--r--games-puzzle/wakkabox/Manifest19
-rw-r--r--games-puzzle/wakkabox/files/wakkabox-1.1.0-gentoo.patch53
-rw-r--r--games-puzzle/wakkabox/wakkabox-1.1.0.ebuild17
4 files changed, 86 insertions, 11 deletions
diff --git a/games-puzzle/wakkabox/ChangeLog b/games-puzzle/wakkabox/ChangeLog
index c6504db6db0b..ea48d7f1acaa 100644
--- a/games-puzzle/wakkabox/ChangeLog
+++ b/games-puzzle/wakkabox/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for games-puzzle/wakkabox
-# Copyright 2000-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/games-puzzle/wakkabox/ChangeLog,v 1.6 2007/02/08 21:20:36 wolf31o2 Exp $
+# Copyright 2000-2015 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/games-puzzle/wakkabox/ChangeLog,v 1.7 2015/02/26 23:07:52 tupone Exp $
+
+ 26 Feb 2015; Tupone Alfredo <tupone@gentoo.org> wakkabox-1.1.0.ebuild,
+ +files/wakkabox-1.1.0-gentoo.patch:
+ EAPI 5 - underlinking and buffer overflow
08 Feb 2007; Chris Gianelloni <wolf31o2@gentoo.org> ChangeLog:
Regenerate digest in Manifest2 format.
diff --git a/games-puzzle/wakkabox/Manifest b/games-puzzle/wakkabox/Manifest
index d0157adb3465..6d232333b3b3 100644
--- a/games-puzzle/wakkabox/Manifest
+++ b/games-puzzle/wakkabox/Manifest
@@ -1,4 +1,15 @@
-DIST wakkabox-1.1.0.tar.gz 158231 RMD160 6b54785ebe440377f62468c2d028a5e91798944b SHA1 12087a8b1cc168dc5eada905c951e9cc462eb43c SHA256 21c94bf994ffb3e4567538f6982091f3fc63e032cab08df37ac17547f47b5f8e
-EBUILD wakkabox-1.1.0.ebuild 588 RMD160 d689c31e3b5838e65e09978e3d16d87002b0bee0 SHA1 72fcfa93af1196aaae205a1b2949f3ea2ac00198 SHA256 b4f4f1c6db1feaed50b088b250bbec2e40d2c50c229d5dfbba954950617bf24d
-MISC ChangeLog 696 RMD160 c442d9d3b8dd688adf1071c2381614254970405c SHA1 79036e324557032161cd97288a1e0cd2cfc4151c SHA256 480e7d8fa22d70360f810f1b7dc691601e63eb61c02b29d97908e0ca26a2c9f2
-MISC metadata.xml 158 RMD160 cbd9984bb6b426c8c9cee5022fe0a26261612fea SHA1 be5251fa1dacef5c41b74761bb1c8c54fb633b9e SHA256 1423a4fdd4a79b1728a2056d9e300f7e1074253095d82726218d9e9b953888a3
+-----BEGIN PGP SIGNED MESSAGE-----
+Hash: SHA256
+
+AUX wakkabox-1.1.0-gentoo.patch 1756 SHA256 cda9c29af872b28c08e669ce97335398ada99d3175be1630d8def7f162aa48a1 SHA512 63bc980bc88fcaefbea76e93ccd6e8c4628a005a0b3166c78f90a905892c64de52b75b99bd05d715f86d5b2db0f3500aa95b2a5003e59549957115d1832c9ff9 WHIRLPOOL 43491e1302cd5979fb8854dfab9d8f943ba531295e4b949135b2fc300cdfeb4491b4c4b00044579022bce3d8b9dad939a5f678b8361a1842cf43e7df2689724a
+DIST wakkabox-1.1.0.tar.gz 158231 SHA256 21c94bf994ffb3e4567538f6982091f3fc63e032cab08df37ac17547f47b5f8e SHA512 a97fcf382c3703fa59d6c2159397cb795b698d2a28253a7e60690b24b3d72b4950b9a7c569600bac0dc637b9d9a52577a45944036518cf5e79c601b377a092be WHIRLPOOL 4e76b1ad49bf437be90db864ebb1334e56f09d1014a7ec8997f4c181cbaacdc466c079cf2988aac282ef1d357d16977a32625b99a3fdc12b994a995436d273a8
+EBUILD wakkabox-1.1.0.ebuild 640 SHA256 0a6492b0615148886dfe0a541bb80298b1c0c8e3c6ab31659a5e10ba6a9dd280 SHA512 ede692113935ed4e36459bdbaddd632b72d4ef0a4265ad34f13a540994fa3fa6cda6b54db30bf0af9b9cd2cb27fbab792eeb4d7903df6950c7d8a3822e027e20 WHIRLPOOL 457954fda13249f4704ae85acf9f9ee0bf860752c74f693bc6fbe5602bda3043c76753e2b1df8c8c0e644dba6f3b18002f5de9703e09beaa2a74300d0f6ee49c
+MISC ChangeLog 850 SHA256 a2254baf0b43508a2988101a22a8d852e6f7b980eb1b5f23d3c15bc2442ed25e SHA512 bf866248a098dc35f2407dd9071d0706ec3d24b4bc78005ef5174c85daf6191c4ede583758af17a15ab4ab3223688a7ff831b4f4e0c6f809b904b333fa7b27ec WHIRLPOOL 41537a023d4a2a8e17e670bc23e59accbc686e5beda46554a3c6fe4dd499bb17fd426ca04e75c3ee5b9b38f13853271e08487f67ca9f0f1e67f83d5823bf9f8c
+MISC metadata.xml 158 SHA256 1423a4fdd4a79b1728a2056d9e300f7e1074253095d82726218d9e9b953888a3 SHA512 d954564236b67b6ab97846b73f74e715e8f1bec2dba6595e9a5046c2e8c3b93f4879c293f9d1d02d99a533bee56156dae3f31a485697128c51af14cdbfdada8a WHIRLPOOL d03e7293d09d794d61c095a423f945b3644355a247f270a73ca8d30b4dfe9c98244297536bfd1a4bd6c14794aa1152eca20fd83bfdf3e1e74d4f676152d35ada
+-----BEGIN PGP SIGNATURE-----
+Version: GnuPG v2
+
+iEYEAREIAAYFAlTvp00ACgkQIY77eQFFFC3SjQCg6Of7Z3FLJPvFzSKTYYp/eryK
+vE8Ani1nDU8U7lp/3L+HRAoKCJ7n1N9Z
+=auXU
+-----END PGP SIGNATURE-----
diff --git a/games-puzzle/wakkabox/files/wakkabox-1.1.0-gentoo.patch b/games-puzzle/wakkabox/files/wakkabox-1.1.0-gentoo.patch
new file mode 100644
index 000000000000..0be83307fa91
--- /dev/null
+++ b/games-puzzle/wakkabox/files/wakkabox-1.1.0-gentoo.patch
@@ -0,0 +1,53 @@
+--- configure.ac.old 2015-02-26 23:25:34.146334845 +0100
++++ configure.ac 2015-02-26 23:25:47.978312858 +0100
+@@ -17,6 +17,7 @@
+ CFLAGS="$CFLAGS $SDL_CFLAGS"
+-LIBS="$LIBS $SDL_LIBS"
++LIBS="$LIBS -lm $SDL_LIBS"
+
+-AC_SUBST(CFLAGS LIBS)
++AC_SUBST(CFLAGS)
++AC_SUBST(LIBS)
+
+ AC_OUTPUT( Makefile )
+--- configure.ac.old 2015-02-26 23:33:25.801552821 +0100
++++ configure.ac 2015-02-26 23:33:47.509542361 +0100
+@@ -1,4 +1,4 @@
+-AC_INIT( wakkabox.c )
++AC_INIT([[wakkabox.c]])
+ AC_CANONICAL_HOST
+ AC_CANONICAL_TARGET
+
+--- wakkabox.c.old 2015-02-26 23:43:26.146386413 +0100
++++ wakkabox.c 2015-02-26 23:44:39.647389816 +0100
+@@ -249,22 +249,22 @@
+ printf("Loading bmp files from %s...", DATADIR);
+
+ smallblockFname = (char*)malloc( strlen("smallblock.bmp")
+- + strlen(DATADIR) );
++ + strlen(DATADIR) + 2);
+ medblockhFname = (char*)malloc( strlen("medblockh.bmp")
+- + strlen(DATADIR) );
++ + strlen(DATADIR) + 2);
+ medblockvFname = (char*)malloc( strlen("medblockv.bmp")
+- + strlen(DATADIR) );
++ + strlen(DATADIR) + 2);
+ bigblockFname = (char*)malloc( strlen("bigblock.bmp")
+- + strlen(DATADIR) );
++ + strlen(DATADIR) + 2);
+
+ smallblockLocalName = (char*)malloc( strlen("smallblock.bmp")
+- + strlen(".") );
++ + strlen(".") + 2);
+ medblockhLocalName = (char*)malloc( strlen("medblockh.bmp")
+- + strlen(".") );
++ + strlen(".") + 2);
+ medblockvLocalName = (char*)malloc( strlen("medblockv.bmp")
+- + strlen(".") );
++ + strlen(".") + 2);
+ bigblockLocalName = (char*)malloc( strlen("bigblock.bmp")
+- + strlen(".") );
++ + strlen(".") + 2);
+
+
+ sprintf( smallblockFname, "%s/smallblock.bmp", DATADIR );
diff --git a/games-puzzle/wakkabox/wakkabox-1.1.0.ebuild b/games-puzzle/wakkabox/wakkabox-1.1.0.ebuild
index 85ffa0302c1a..af41c3754b2b 100644
--- a/games-puzzle/wakkabox/wakkabox-1.1.0.ebuild
+++ b/games-puzzle/wakkabox/wakkabox-1.1.0.ebuild
@@ -1,8 +1,9 @@
-# Copyright 1999-2004 Gentoo Foundation
+# Copyright 1999-2015 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/games-puzzle/wakkabox/wakkabox-1.1.0.ebuild,v 1.8 2005/10/31 08:55:43 mr_bones_ Exp $
+# $Header: /var/cvsroot/gentoo-x86/games-puzzle/wakkabox/wakkabox-1.1.0.ebuild,v 1.9 2015/02/26 23:07:52 tupone Exp $
-inherit games
+EAPI=5
+inherit eutils autotools games
DESCRIPTION="A simple block-pushing game"
HOMEPAGE="http://kenn.frap.net/wakkabox/"
@@ -14,9 +15,15 @@ KEYWORDS="ppc x86"
IUSE=""
DEPEND=">=media-libs/libsdl-1.0.1"
+RDEPEND="${DEPEND}"
+
+src_prepare() {
+ epatch "${FILESDIR}"/${P}-gentoo.patch
+ rm aclocal.m4
+ eautoreconf
+}
src_install() {
- make DESTDIR="${D}" install || die "make install failed"
- dodoc AUTHORS NEWS README
+ default
prepgamesdirs
}