summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlfredo Tupone <tupone@gentoo.org>2009-11-19 12:38:38 +0000
committerAlfredo Tupone <tupone@gentoo.org>2009-11-19 12:38:38 +0000
commite0ac4c2cdaa1c47dc65f916c45f5ca5ea30f3dd9 (patch)
tree5083d2d99c334e612e29e69d9e342ed9d529b96b /games-emulation
parentStable on amd64 (bug #293421) (diff)
downloadgentoo-2-e0ac4c2cdaa1c47dc65f916c45f5ca5ea30f3dd9.tar.gz
gentoo-2-e0ac4c2cdaa1c47dc65f916c45f5ca5ea30f3dd9.tar.bz2
gentoo-2-e0ac4c2cdaa1c47dc65f916c45f5ca5ea30f3dd9.zip
Fix X_ShmAttach not defined. Bug #293440
(Portage version: 2.1.6.13/cvs/Linux x86_64)
Diffstat (limited to 'games-emulation')
-rw-r--r--games-emulation/tuxnes/ChangeLog8
-rw-r--r--games-emulation/tuxnes/files/tuxnes-0.75-xshm.patch13
-rw-r--r--games-emulation/tuxnes/tuxnes-0.75-r1.ebuild5
3 files changed, 22 insertions, 4 deletions
diff --git a/games-emulation/tuxnes/ChangeLog b/games-emulation/tuxnes/ChangeLog
index 5807acd0568b..fc7dfdad1a9a 100644
--- a/games-emulation/tuxnes/ChangeLog
+++ b/games-emulation/tuxnes/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for games-emulation/tuxnes
-# Copyright 2002-2009 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/games-emulation/tuxnes/ChangeLog,v 1.10 2009/03/14 08:08:29 mr_bones_ Exp $
+# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/games-emulation/tuxnes/ChangeLog,v 1.11 2009/11/19 12:38:38 tupone Exp $
+
+ 19 Nov 2009; Alfredo Tupone <tupone@gentoo.org> tuxnes-0.75-r1.ebuild,
+ +files/tuxnes-0.75-xshm.patch:
+ Fix X_ShmAttach not defined. Bug #293440 by Peter
14 Mar 2009; Michael Sterrett <mr_bones_@gentoo.org>
+files/tuxnes-0.75-gcc43.patch, tuxnes-0.75-r1.ebuild:
diff --git a/games-emulation/tuxnes/files/tuxnes-0.75-xshm.patch b/games-emulation/tuxnes/files/tuxnes-0.75-xshm.patch
new file mode 100644
index 000000000000..de7b4b56fc4c
--- /dev/null
+++ b/games-emulation/tuxnes/files/tuxnes-0.75-xshm.patch
@@ -0,0 +1,13 @@
+--- x11.c.old 2009-11-19 12:27:42.000000000 +0100
++++ x11.c 2009-11-19 13:32:41.000000000 +0100
+@@ -102,6 +102,10 @@
+ #include <sys/ipc.h>
+ #include <sys/shm.h>
+ #include <X11/extensions/XShm.h>
++#ifndef X_ShmAttach
++#include <X11/Xmd.h>
++#include <X11/extensions/shmproto.h>
++#endif
+ #endif
+
+ #endif /* HAVE_X */
diff --git a/games-emulation/tuxnes/tuxnes-0.75-r1.ebuild b/games-emulation/tuxnes/tuxnes-0.75-r1.ebuild
index 46292e683788..204f70b155aa 100644
--- a/games-emulation/tuxnes/tuxnes-0.75-r1.ebuild
+++ b/games-emulation/tuxnes/tuxnes-0.75-r1.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2009 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/games-emulation/tuxnes/tuxnes-0.75-r1.ebuild,v 1.2 2009/03/14 08:08:29 mr_bones_ Exp $
+# $Header: /var/cvsroot/gentoo-x86/games-emulation/tuxnes/tuxnes-0.75-r1.ebuild,v 1.3 2009/11/19 12:38:38 tupone Exp $
EAPI=2
inherit autotools eutils games
@@ -32,7 +32,8 @@ src_prepare() {
"${FILESDIR}"/${P}-gcc34.patch \
"${FILESDIR}"/${P}-gcc43.patch \
"${FILESDIR}"/${P}-include.patch \
- "${FILESDIR}"/${P}-exec-stack.patch
+ "${FILESDIR}"/${P}-exec-stack.patch \
+ "${FILESDIR}"/${P}-xshm.patch
eautoreconf
}