diff options
author | 2011-05-19 15:20:41 +0000 | |
---|---|---|
committer | 2011-05-19 15:20:41 +0000 | |
commit | f4bff8d9286628db7a3a1e5ff204e4cfce0325f5 (patch) | |
tree | 1dbb78521480540bfcdf5bdbd339b213e49c0fec /games-arcade/vor | |
parent | New snapshot. (diff) | |
download | gentoo-2-f4bff8d9286628db7a3a1e5ff204e4cfce0325f5.tar.gz gentoo-2-f4bff8d9286628db7a3a1e5ff204e4cfce0325f5.tar.bz2 gentoo-2-f4bff8d9286628db7a3a1e5ff204e4cfce0325f5.zip |
Fix underlink. Bug #367455
(Portage version: 2.1.9.49/cvs/Linux x86_64)
Diffstat (limited to 'games-arcade/vor')
-rw-r--r-- | games-arcade/vor/ChangeLog | 8 | ||||
-rw-r--r-- | games-arcade/vor/files/vor-0.5.4-underlink.patch | 20 | ||||
-rw-r--r-- | games-arcade/vor/vor-0.5.4.ebuild | 6 |
3 files changed, 30 insertions, 4 deletions
diff --git a/games-arcade/vor/ChangeLog b/games-arcade/vor/ChangeLog index 894567152be5..16902a76308b 100644 --- a/games-arcade/vor/ChangeLog +++ b/games-arcade/vor/ChangeLog @@ -1,6 +1,10 @@ # ChangeLog for games-arcade/vor -# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/games-arcade/vor/ChangeLog,v 1.6 2010/01/06 13:03:38 josejx Exp $ +# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/games-arcade/vor/ChangeLog,v 1.7 2011/05/19 15:20:41 tupone Exp $ + + 19 May 2011; Tupone Alfredo <tupone@gentoo.org> vor-0.5.4.ebuild, + +files/vor-0.5.4-underlink.patch: + Fix underlink. Bug #367455 by Diego Elio Pettenò 06 Jan 2010; Joseph Jezak <josejx@gentoo.org> vor-0.5.4.ebuild: Marked ppc stable for bug #288964. diff --git a/games-arcade/vor/files/vor-0.5.4-underlink.patch b/games-arcade/vor/files/vor-0.5.4-underlink.patch new file mode 100644 index 000000000000..0d2745218e1c --- /dev/null +++ b/games-arcade/vor/files/vor-0.5.4-underlink.patch @@ -0,0 +1,20 @@ +--- Makefile.old 2011-05-19 09:48:26.698819456 +0200 ++++ Makefile 2011-05-19 16:40:54.526390959 +0200 +@@ -29,7 +29,7 @@ + sdl-cflags := $(shell sdl-config --cflags) + sdl-ldflags := $(shell sdl-config --libs) + +-ldflags := $(sdl-ldflags) -lSDL_image -lSDL_mixer $(LDFLAGS) ++LDLIBS := $(sdl-ldflags) -lSDL_image -lSDL_mixer -lm + cflags := $(sdl-cflags) $(paths) $(CFLAGS) + + my_objects := args.o dust.o file.o mt.o rocks.o score.o sprite.o sound.o autopilot.o +@@ -89,7 +89,7 @@ + sprite.o: sprite.h common.h + + vor: $(objects) +- $(CC) $^ $(ldflags) -o $@ ++ $(LINK.c) $^ $(LOADLIBES) $(LDLIBS) -o $@ + + include gfx.mk + diff --git a/games-arcade/vor/vor-0.5.4.ebuild b/games-arcade/vor/vor-0.5.4.ebuild index 1245f50d6959..5e006bee022d 100644 --- a/games-arcade/vor/vor-0.5.4.ebuild +++ b/games-arcade/vor/vor-0.5.4.ebuild @@ -1,6 +1,6 @@ -# Copyright 1999-2010 Gentoo Foundation +# Copyright 1999-2011 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/games-arcade/vor/vor-0.5.4.ebuild,v 1.3 2010/01/06 13:03:38 josejx Exp $ +# $Header: /var/cvsroot/gentoo-x86/games-arcade/vor/vor-0.5.4.ebuild,v 1.4 2011/05/19 15:20:41 tupone Exp $ EAPI=2 inherit eutils games @@ -18,6 +18,8 @@ DEPEND="media-libs/libsdl media-libs/sdl-image[png] media-libs/sdl-mixer[mikmod]" +PATCHES=( "${FILESDIR}"/${P}-underlink.patch ) + src_compile() { emake \ CFLAGS="${CFLAGS}" \ |