summaryrefslogtreecommitdiff
path: root/sysutils/dd_rescue/files/patch-Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'sysutils/dd_rescue/files/patch-Makefile')
-rw-r--r--sysutils/dd_rescue/files/patch-Makefile15
1 files changed, 12 insertions, 3 deletions
diff --git a/sysutils/dd_rescue/files/patch-Makefile b/sysutils/dd_rescue/files/patch-Makefile
index be2e34499e79..d88779faa2df 100644
--- a/sysutils/dd_rescue/files/patch-Makefile
+++ b/sysutils/dd_rescue/files/patch-Makefile
@@ -1,12 +1,21 @@
--- Makefile.orig Fri Oct 22 16:38:03 2004
-+++ Makefile Tue Mar 15 01:00:23 2005
-@@ -6,9 +6,7 @@
++++ Makefile Sat Jul 2 23:40:24 2005
+@@ -6,9 +6,6 @@
DESTDIR =
-CC = gcc
- RPM_OPT_FLAGS = -O2 -Wall -g
+-RPM_OPT_FLAGS = -O2 -Wall -g
-CFLAGS = $(RPM_OPT_FLAGS) $(EXTRA_CFLAGS)
DEFINES = -DVERSION=\"$(VERSION)\"
INSTALL = install
INSTALLFLAGS = -s
+@@ -25,7 +22,7 @@
+ default: $(TARGETS)
+
+ dd_rescue: dd_rescue.c
+- $(CC) $(CFLAGS) $(DEFINES) $< -o $@
++ $(CC) $(CFLAGS) $(DEFINES) $(LIBS) $< -o $@
+
+ clean:
+ rm -f $(TARGETS) $(OBJECTS) core