summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTristan Heaven <nyhm@gentoo.org>2007-02-15 09:58:09 +0000
committerTristan Heaven <nyhm@gentoo.org>2007-02-15 09:58:09 +0000
commit48f7ea594ba2da9ed08dbd6961cdd896054e0603 (patch)
treebdb04e4db54d0add300677629bce2b45c9687e6e /games-emulation/mupen64-alsasnd/files/0.4-gentoo.patch
parentFix bug number (diff)
downloadgentoo-2-48f7ea594ba2da9ed08dbd6961cdd896054e0603.tar.gz
gentoo-2-48f7ea594ba2da9ed08dbd6961cdd896054e0603.tar.bz2
gentoo-2-48f7ea594ba2da9ed08dbd6961cdd896054e0603.zip
Fix QA issues, bug #116385
(Portage version: 2.1.2-r9)
Diffstat (limited to 'games-emulation/mupen64-alsasnd/files/0.4-gentoo.patch')
-rw-r--r--games-emulation/mupen64-alsasnd/files/0.4-gentoo.patch15
1 files changed, 11 insertions, 4 deletions
diff --git a/games-emulation/mupen64-alsasnd/files/0.4-gentoo.patch b/games-emulation/mupen64-alsasnd/files/0.4-gentoo.patch
index 1a6481b9e7c3..470262c9d13e 100644
--- a/games-emulation/mupen64-alsasnd/files/0.4-gentoo.patch
+++ b/games-emulation/mupen64-alsasnd/files/0.4-gentoo.patch
@@ -1,16 +1,23 @@
---- Makefile.orig 2003-12-27 04:24:26.397424080 -0500
-+++ Makefile 2003-12-27 04:25:01.939020936 -0500
+--- Makefile
++++ Makefile
@@ -1,4 +1,3 @@
-GRAPHICAL_INTERFACE=gtk1
ifeq ($(GRAPHICAL_INTERFACE),gtk1)
GUICFLAGS = -DUSE_GTK `gtk-config --cflags`
-@@ -21,7 +20,7 @@
+@@ -21,13 +20,13 @@
all: $(PLUGIN) instructions
DEBUGCXXFLAGS = -g -Wall -DDEBUG
-CXXFLAGS = -DNO_DEBUG -DNDEBUG -O3 -Wall -mcpu=athlon -march=athlon -fomit-frame-pointer -ffast-math -fno-rtti
-+CXXFLAGS += -DNO_DEBUG -DNDEBUG -fno-rtti
++CXXFLAGS += -DNO_DEBUG -DNDEBUG -fno-rtti -fPIC
OBJECTS += string.o audio.o snd_plugin.o gui.o
string.o: string_class.cpp string_class.h
+ $(CXX) $(CXXFLAGS) -c -o $@ $<
+ audio.o: audio.cpp audio.h
+- $(CXX) $(CXXFLAGS) -c -o $@ $<
++ $(CXX) $(CXXFLAGS) -fno-strict-aliasing -c -o $@ $<
+ gui.o: gui.cpp gui.h
+ $(CXX) $(CXXFLAGS) -c -o $@ $<
+ snd_plugin.o: snd_interface.cpp audio.h gui.h