# ChangeLog for games-fps/qudos
# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/games-fps/qudos/ChangeLog,v 1.13 2011/10/21 13:32:59 ssuominen Exp $
+# $Header: /var/cvsroot/gentoo-x86/games-fps/qudos/ChangeLog,v 1.14 2011/10/26 18:00:22 mr_bones_ Exp $
+
+ 26 Oct 2011; Michael Sterrett <mr_bones_@gentoo.org> qudos-0.40.1.ebuild,
+ +files/qudos-0.40.1-gnusource.patch:
+ add patch for building on amd64 (bug #382197) with patch from Jared B.
21 Oct 2011; Samuli Suominen <ssuominen@gentoo.org> qudos-0.40.1.ebuild,
+files/qudos-0.40.1-libpng15.patch:
------BEGIN PGP SIGNED MESSAGE-----
-Hash: SHA1
-
+AUX qudos-0.40.1-gnusource.patch 338 RMD160 2b807be33684249b7bc6c257e987af7e31924353 SHA1 4a00a993390478fa945e8c38176feefc0a2578dc SHA256 f4c33cce1e154ebb4ba8406d2da2da1964b170919eaf57b4eba2c1babf8de382
AUX qudos-0.40.1-libpng15.patch 205 RMD160 13f0c0dbe5e58f62f926ab358dba8a9672726e7a SHA1 a5c583fa338616b5fcc5f0e670c07aca670a0bc9 SHA256 7364352d723d8f237a0340508a752894d1c51e43cb668e4b60cebd958dd6c97c
DIST QuDos-0.40.1-src.tar.bz2 2031636 RMD160 998c9ff2f6ee702ed391946afd2924081cdb6976 SHA1 008ee5df6c0d3a1ed475ab2b373013970a570300 SHA256 90d8dbbbe4e006b4233b9c8c20bc3da5c240dde8fdf17ccf43ca533d296aa21a
DIST QuDos-0.40.1.pk3 5253128 RMD160 21a2643300126753ae2a5f07597807e6f5a2a549 SHA1 982f91d17f369754906465bfe96bb2395cfc7f3f SHA256 c02e0df50785d5b360ec5435e2fd3d31b337f28f676b7af141a8e2664f518f1c
-EBUILD qudos-0.40.1.ebuild 4992 RMD160 c3e0b1a4ca4bf5e1949077e3c408a10a9a962847 SHA1 89210774ccb37684191a2934c19c4295ac76bb5d SHA256 cd081272747b86b4a36b6682b56bcf83927fb5d16cb2de5302ee16997a1322a6
-MISC ChangeLog 2013 RMD160 268de5a9277b1785b1ce342b809e64632823f03d SHA1 6031c9d4db36823a109a3c1b3ce6b220bbe02346 SHA256 31a2728918a59594025eafab6b3324ba870e39e274e180b244340527f9a74fa1
+EBUILD qudos-0.40.1.ebuild 5035 RMD160 9cd0467b6cfc1f1ee33d90caaebdfc9725b91b4b SHA1 7f04530e154dd33c1900315468781fbc1718957b SHA256 f60ddfb28353302d2ec67cdcbd779f0832342573b3cee1a751e252ddd26241a4
+MISC ChangeLog 2202 RMD160 7a6014bd1243e7eaf03939732d7ce3ed9ed9fd52 SHA1 1ce6a4e17b32820f92c70a17dd38fc3cbba20e60 SHA256 7e340e5d8b8a2162f23dbb70c3aa23ea8c16894000c3488c08c88544d68a0003
MISC metadata.xml 488 RMD160 1a6bb96dde922755d33b65b721e79d4d8dab309b SHA1 b0435bdea92b49c65f71ff16b02795716ae85711 SHA256 8f2ca78e00c4b7f92c729835efb4100e2756fe88a362f7c4410388b28ff2d60a
------BEGIN PGP SIGNATURE-----
-Version: GnuPG v2.0.18 (GNU/Linux)
-
-iQEcBAEBAgAGBQJOoXRpAAoJEEdUh39IaPFNmVIIAIVf/feuOTrCVNzw43OaWX3t
-OvpnGDvXp/xppb+kUpPy+SdnR3a4SV8i875s+nRaeq/PunS/SIf93iCemI1hXMtR
-riyY1/z2PiYi2Qa5X6+fDVl4BwibF4jYQY7G7HxEsMWY+0vg7c4dUlODkQ0jnkkx
-Dc0qRHvOtKPB8+I9z5gwsisyKaC5gZvLNzhbbpW1VXDs5g1nLHQt4osm4vpYaDcS
-+Fl68oes+8yFOHzp9IYeW/SjQGBtySNUmKKehOk5GYQ4LFY/PK9N6rStmcMRo5Xb
-KQZAY8rhH5CYAgI/pGwL8jz4+zzntRfkKPUKVaVO90yuqKAbbvXKkicYhPe9xkw=
-=T/Ar
------END PGP SIGNATURE-----
--- /dev/null
+--- src/unix/qsh_unix.c.orig 2011-10-22 17:46:37.665993357 -0500
++++ src/unix/qsh_unix.c 2011-10-22 17:46:40.965972209 -0500
+@@ -17,6 +17,9 @@
+ * Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+ *
+ */
++#if !defined(_GNU_SOURCE)
++ #define _GNU_SOURCE
++#endif
+ #include <sys/types.h>
+ #include <sys/stat.h>
+ #include <sys/time.h>
# Copyright 1999-2011 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/games-fps/qudos/qudos-0.40.1.ebuild,v 1.16 2011/10/21 13:32:59 ssuominen Exp $
+# $Header: /var/cvsroot/gentoo-x86/games-fps/qudos/qudos-0.40.1.ebuild,v 1.17 2011/10/26 18:00:22 mr_bones_ Exp $
EAPI=2
inherit eutils toolchain-funcs games
has_version '>=sys-libs/zlib-1.2.5.1-r1' && \
sed -i -e '1i#define OF(x) x' src/qcommon/unzip/ioapi.h
- epatch "${FILESDIR}"/${P}-libpng15.patch
+ epatch \
+ "${FILESDIR}"/${P}-libpng15.patch \
+ "${FILESDIR}"/${P}-gnusource.patch
}
src_compile() {