summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'app-cdr/daa2iso/files/daa2iso-0.1.7e-buildsystem.patch')
-rw-r--r--app-cdr/daa2iso/files/daa2iso-0.1.7e-buildsystem.patch22
1 files changed, 22 insertions, 0 deletions
diff --git a/app-cdr/daa2iso/files/daa2iso-0.1.7e-buildsystem.patch b/app-cdr/daa2iso/files/daa2iso-0.1.7e-buildsystem.patch
new file mode 100644
index 00000000000..b084d7bb723
--- /dev/null
+++ b/app-cdr/daa2iso/files/daa2iso-0.1.7e-buildsystem.patch
@@ -0,0 +1,22 @@
+Index: work/src/Makefile
+===================================================================
+--- work.orig/src/Makefile
++++ work/src/Makefile
+@@ -1,13 +1,12 @@
+ EXE = daa2iso
+-CFLAGS += -O2 -s
+-PREFIX = /usr/local
++PREFIX = /usr/
+ BINDIR = $(PREFIX)/bin
+ SRC = $(EXE).c
+
+ all:
+- $(CC) $(CFLAGS) -c LzmaDec.c
+- $(CC) $(CFLAGS) -c tinflate.c
+- $(CC) $(SRC) $(CFLAGS) -o $(EXE) LzmaDec.o tinflate.o
++ $(CC) $(CFLAGS) $(LDFLAGS) -c LzmaDec.c
++ $(CC) $(CFLAGS) $(LDFLAGS) -c tinflate.c
++ $(CC) $(SRC) $(CFLAGS) $(LDFLAGS) -o $(EXE) LzmaDec.o tinflate.o
+
+ install:
+ install -m 755 -d $(BINDIR)