diff options
author | Michael Sterrett <mr_bones_@gentoo.org> | 2008-10-07 16:05:08 +0000 |
---|---|---|
committer | Michael Sterrett <mr_bones_@gentoo.org> | 2008-10-07 16:05:08 +0000 |
commit | 8959d11a2a77e45a053e0a89339adb1db85c8476 (patch) | |
tree | b765a3913703384811df6d4a169b332ba0a2eb67 /games-arcade/xbubble | |
parent | Added fields patch file bug #240362 (diff) | |
download | gentoo-2-8959d11a2a77e45a053e0a89339adb1db85c8476.tar.gz gentoo-2-8959d11a2a77e45a053e0a89339adb1db85c8476.tar.bz2 gentoo-2-8959d11a2a77e45a053e0a89339adb1db85c8476.zip |
fix building with USE=nls, CFLAGS=-O0 (bug #240306)
(Portage version: 2.1.4.4)
Diffstat (limited to 'games-arcade/xbubble')
-rw-r--r-- | games-arcade/xbubble/ChangeLog | 8 | ||||
-rw-r--r-- | games-arcade/xbubble/files/xbubble-0.5.8-locale.patch | 10 | ||||
-rw-r--r-- | games-arcade/xbubble/xbubble-0.5.8.ebuild | 8 |
3 files changed, 21 insertions, 5 deletions
diff --git a/games-arcade/xbubble/ChangeLog b/games-arcade/xbubble/ChangeLog index 6f7f90c6a56e..6bea5ff09fbe 100644 --- a/games-arcade/xbubble/ChangeLog +++ b/games-arcade/xbubble/ChangeLog @@ -1,6 +1,10 @@ # ChangeLog for games-arcade/xbubble -# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/games-arcade/xbubble/ChangeLog,v 1.10 2007/03/14 22:07:11 nyhm Exp $ +# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/games-arcade/xbubble/ChangeLog,v 1.11 2008/10/07 16:05:08 mr_bones_ Exp $ + + 07 Oct 2008; Michael Sterrett <mr_bones_@gentoo.org> + +files/xbubble-0.5.8-locale.patch, xbubble-0.5.8.ebuild: + fix building with USE=nls, CFLAGS=-O0 (bug #240306) 14 Mar 2007; Tristan Heaven <nyhm@gentoo.org> xbubble-0.5.8.ebuild: Install menu entry, bug #160260 diff --git a/games-arcade/xbubble/files/xbubble-0.5.8-locale.patch b/games-arcade/xbubble/files/xbubble-0.5.8-locale.patch new file mode 100644 index 000000000000..a83d36fbd911 --- /dev/null +++ b/games-arcade/xbubble/files/xbubble-0.5.8-locale.patch @@ -0,0 +1,10 @@ +--- src/gettext.h.orig 2008-10-07 12:01:37.000000000 -0400 ++++ src/gettext.h 2008-10-07 12:01:45.000000000 -0400 +@@ -24,6 +24,7 @@ + + /* Get declarations of GNU message catalog functions. */ + # include <libintl.h> ++# include <locale.h> + + #else + diff --git a/games-arcade/xbubble/xbubble-0.5.8.ebuild b/games-arcade/xbubble/xbubble-0.5.8.ebuild index 0a9193fe2bb4..2f87925081e5 100644 --- a/games-arcade/xbubble/xbubble-0.5.8.ebuild +++ b/games-arcade/xbubble/xbubble-0.5.8.ebuild @@ -1,6 +1,6 @@ -# Copyright 1999-2007 Gentoo Foundation +# Copyright 1999-2008 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/games-arcade/xbubble/xbubble-0.5.8.ebuild,v 1.12 2007/03/14 22:07:11 nyhm Exp $ +# $Header: /var/cvsroot/gentoo-x86/games-arcade/xbubble/xbubble-0.5.8.ebuild,v 1.13 2008/10/07 16:05:08 mr_bones_ Exp $ inherit eutils games @@ -23,7 +23,9 @@ DEPEND="${RDEPEND} src_unpack() { unpack ${A} cd "${S}" - epatch "${FILESDIR}"/${P}-xpaths.patch + epatch \ + "${FILESDIR}"/${P}-xpaths.patch \ + "${FILESDIR}"/${P}-locale.patch sed -i \ -e '/^AM_CFLAGS/d' \ src/Makefile.in || die "sed cflags" |