summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'games-arcade/komi/files')
-rw-r--r--games-arcade/komi/files/1.04-DESTDIR.patch36
-rw-r--r--games-arcade/komi/files/komi-1.04-install.patch11
2 files changed, 47 insertions, 0 deletions
diff --git a/games-arcade/komi/files/1.04-DESTDIR.patch b/games-arcade/komi/files/1.04-DESTDIR.patch
new file mode 100644
index 000000000000..2573b01e5c91
--- /dev/null
+++ b/games-arcade/komi/files/1.04-DESTDIR.patch
@@ -0,0 +1,36 @@
+--- Makefile.orig 2004-12-11 01:36:11.000000000 -0800
++++ Makefile 2004-12-11 01:36:14.000000000 -0800
+@@ -13,9 +13,7 @@
+ MIXER=-lSDL_mixer
+ SDL_LIB=$(shell sdl-config --static-libs) $(MIXER)
+
+-CFLAGS=-Wall -pedantic -std=c99 -O2 \
+- $(shell sdl-config --cflags) \
+- -DDATAPATH=\"$(DATAPATH)\"
++CFLAGS= $(ECFLAGS) $(shell sdl-config --cflags) -DDATAPATH=\"$(DATAPATH)\"
+
+ all: komi
+
+@@ -24,15 +22,13 @@
+ -rm *.o
+
+ install:
+- install -d $(DATAPATH)
+- cp -R komidata/* $(DATAPATH)
+- chmod -R 644 $(DATAPATH)
+- chmod 755 $(DATAPATH)
+- install -d $(BINPATH)
+- cp komi $(BINPATH)
+- chmod 755 $(BINPATH)komi
+- install -d $(MANPATH)
+- cp komi.6 $(MANPATH)komi.6
++ install -d $(DESTDIR)$(DATAPATH)
++ cp -R komidata/* $(DESTDIR)$(DATAPATH)
++ chmod -R 644 $(DESTDIR)$(DATAPATH)
++ chmod 755 $(DESTDIR)$(DATAPATH)
++ install -d $(DESTDIR)$(BINPATH)
++ cp komi $(DESTDIR)$(BINPATH)
++ chmod 755 $(DESTDIR)$(BINPATH)/komi
+
+ komi: komi.o
+ $(CC) $(CFLAGS) komi.o -o komi $(SDL_LIB)
diff --git a/games-arcade/komi/files/komi-1.04-install.patch b/games-arcade/komi/files/komi-1.04-install.patch
new file mode 100644
index 000000000000..d00a48d296fb
--- /dev/null
+++ b/games-arcade/komi/files/komi-1.04-install.patch
@@ -0,0 +1,11 @@
+--- Makefile.old 2015-01-05 11:35:24.794160467 +0100
++++ Makefile 2015-01-05 11:36:23.181058180 +0100
+@@ -24,8 +24,6 @@
+ install:
+ install -d $(DESTDIR)$(DATAPATH)
+ cp -R komidata/* $(DESTDIR)$(DATAPATH)
+- chmod -R 644 $(DESTDIR)$(DATAPATH)
+- chmod 755 $(DESTDIR)$(DATAPATH)
+ install -d $(DESTDIR)$(BINPATH)
+ cp komi $(DESTDIR)$(BINPATH)
+ chmod 755 $(DESTDIR)$(BINPATH)/komi