summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'games-puzzle/pipepanic/files/pipepanic-0.1.3-gentoo.patch')
-rw-r--r--games-puzzle/pipepanic/files/pipepanic-0.1.3-gentoo.patch21
1 files changed, 21 insertions, 0 deletions
diff --git a/games-puzzle/pipepanic/files/pipepanic-0.1.3-gentoo.patch b/games-puzzle/pipepanic/files/pipepanic-0.1.3-gentoo.patch
new file mode 100644
index 000000000000..1366b7d341c8
--- /dev/null
+++ b/games-puzzle/pipepanic/files/pipepanic-0.1.3-gentoo.patch
@@ -0,0 +1,21 @@
+diff -ru pipepanic-0.1.3-source.orig/Makefile pipepanic-0.1.3-source/Makefile
+--- pipepanic-0.1.3-source.orig/Makefile 2006-05-16 16:11:29.000000000 -0400
++++ pipepanic-0.1.3-source/Makefile 2009-11-03 13:38:52.109137983 -0500
+@@ -3,15 +3,12 @@
+ TARGET=pipepanic
+
+ # Settings for x86.
+-CC=gcc
+-CFLAGS=-O2 -Wall -pedantic `sdl-config --cflags`
+-LINK=gcc
+-LDFLAGS=
++CFLAGS+=`sdl-config --cflags`
+ LIBS=`sdl-config --libs`
+
+ all:
+ $(CC) $(CFLAGS) -c $(SOURCES)
+- $(LINK) $(LDFLAGS) $(OBJECTS) $(LIBS) -o $(TARGET)
++ $(CC) $(LDFLAGS) $(OBJECTS) $(LIBS) -o $(TARGET)
+
+ .PHONY: clean
+