diff options
author | Alfredo Tupone <tupone@gentoo.org> | 2011-05-19 06:02:58 +0000 |
---|---|---|
committer | Alfredo Tupone <tupone@gentoo.org> | 2011-05-19 06:02:58 +0000 |
commit | bd67d67a4f0b11556738a6665a04c675ea968d5e (patch) | |
tree | fa0a6722c7148badf15d00e648a8f4bb62d93de5 /games-action/powermanga/files | |
parent | Drop jruby support since we don't have a jruby-ready rspec:2 in the tree yet. (diff) | |
download | gentoo-2-bd67d67a4f0b11556738a6665a04c675ea968d5e.tar.gz gentoo-2-bd67d67a4f0b11556738a6665a04c675ea968d5e.tar.bz2 gentoo-2-bd67d67a4f0b11556738a6665a04c675ea968d5e.zip |
Fix underlinking. Bug #367431
(Portage version: 2.1.9.49/cvs/Linux x86_64)
Diffstat (limited to 'games-action/powermanga/files')
-rw-r--r-- | games-action/powermanga/files/powermanga-0.90-underlink.patch | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/games-action/powermanga/files/powermanga-0.90-underlink.patch b/games-action/powermanga/files/powermanga-0.90-underlink.patch new file mode 100644 index 000000000000..8afd5ef8ef6f --- /dev/null +++ b/games-action/powermanga/files/powermanga-0.90-underlink.patch @@ -0,0 +1,28 @@ +--- configure.ac.old 2011-05-19 07:52:47.862129502 +0200 ++++ configure.ac 2011-05-19 07:52:59.780877256 +0200 +@@ -31,14 +31,11 @@ + + + dnl Check for SDL_mixer +-LDFLAGS_save="${LDFLAGS} ${SDL_LIBS}" +-LDFLAGS="${LDFLAGS} ${SDL_LIBS}" + AC_CHECK_LIB(SDL_mixer, Mix_GetChunk, [ + SDL_LIBS="-lSDL_mixer ${SDL_LIBS}" + ],[ + AC_MSG_ERROR(Could not find -lSDL_mixer) + ]) +-LDFLAGS_="${LDFLAGS_save}" + + dnl ttf and sdl_image for shareware version only + dnl AC_CHECK_LIB(SDL_ttf,TTF_Init,,[AC_MSG_ERROR([SDL_ttf])]) +--- src/Makefile.am.old 2011-05-19 07:58:50.128783975 +0200 ++++ src/Makefile.am 2011-05-19 07:58:55.639128359 +0200 +@@ -7,7 +7,7 @@ + powermanga_SOURCES = $(SOURCES_MAIN) $(SOURCES_EXTRA) + #powermanga_CXXFLAGS = -DPREFIX=\"$(prefix)\" -DSCOREFILE=\"$(scoredir)/$(score)\" @XLIB_CFLAGS@ @SDL_CFLAGS@ + powermanga_CFLAGS = -DPREFIX=\"$(prefix)\" -DSCOREFILE=\"$(scoredir)/$(score)\" @XLIB_CFLAGS@ @SDL_CFLAGS@ +-powermanga_LDADD = @XLIB_LIBS@ @SDL_LIBS@ ++powermanga_LDADD = @XLIB_LIBS@ @SDL_LIBS@ -lm + + install-data-hook: + -chown root:games "$(DESTDIR)/$(gamesdir)/powermanga" |