summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Sterrett <mr_bones_@gentoo.org>2011-10-26 18:00:22 +0000
committerMichael Sterrett <mr_bones_@gentoo.org>2011-10-26 18:00:22 +0000
commit2a12b16ea93681cd7da56c525e59eb67b8952211 (patch)
tree265f9d8f3a11dfd8852b49b99796cf91ac242594 /games-fps
parentRemove old versions. (diff)
downloadgentoo-2-2a12b16ea93681cd7da56c525e59eb67b8952211.tar.gz
gentoo-2-2a12b16ea93681cd7da56c525e59eb67b8952211.tar.bz2
gentoo-2-2a12b16ea93681cd7da56c525e59eb67b8952211.zip
add patch for building on amd64 (bug #382197) with patch from Jared B.
(Portage version: 2.1.10.11/cvs/Linux i686)
Diffstat (limited to 'games-fps')
-rw-r--r--games-fps/qudos/ChangeLog6
-rw-r--r--games-fps/qudos/files/qudos-0.40.1-gnusource.patch12
-rw-r--r--games-fps/qudos/qudos-0.40.1.ebuild6
3 files changed, 21 insertions, 3 deletions
diff --git a/games-fps/qudos/ChangeLog b/games-fps/qudos/ChangeLog
index 7db63348c509..da4682e019db 100644
--- a/games-fps/qudos/ChangeLog
+++ b/games-fps/qudos/ChangeLog
@@ -1,6 +1,10 @@
# 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:
diff --git a/games-fps/qudos/files/qudos-0.40.1-gnusource.patch b/games-fps/qudos/files/qudos-0.40.1-gnusource.patch
new file mode 100644
index 000000000000..dd2113b0c3bb
--- /dev/null
+++ b/games-fps/qudos/files/qudos-0.40.1-gnusource.patch
@@ -0,0 +1,12 @@
+--- 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>
diff --git a/games-fps/qudos/qudos-0.40.1.ebuild b/games-fps/qudos/qudos-0.40.1.ebuild
index 95b9e599efb3..4d7fbd9ba80e 100644
--- a/games-fps/qudos/qudos-0.40.1.ebuild
+++ b/games-fps/qudos/qudos-0.40.1.ebuild
@@ -1,6 +1,6 @@
# 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
@@ -117,7 +117,9 @@ src_prepare() {
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() {