aboutsummaryrefslogtreecommitdiffstats
path: root/sysutils/dd_rescue/files/patch-Makefile
diff options
context:
space:
mode:
authorMANTANI Nobutaka <nobutaka@FreeBSD.org>2021-05-04 17:59:27 +0900
committerMANTANI Nobutaka <nobutaka@FreeBSD.org>2021-05-04 18:01:09 +0900
commitdafec451b64b0e980151da818b91be33dbc2b33f (patch)
treee3c1402c3a84d23b56b7ea6a8e4a5fa83523a45c /sysutils/dd_rescue/files/patch-Makefile
parente1d7d6fdeb6c69c437f75a25b61885044502b42d (diff)
sysutils/dd_rescue: Update to 1.99.11
Diffstat (limited to 'sysutils/dd_rescue/files/patch-Makefile')
-rw-r--r--sysutils/dd_rescue/files/patch-Makefile15
1 files changed, 8 insertions, 7 deletions
diff --git a/sysutils/dd_rescue/files/patch-Makefile b/sysutils/dd_rescue/files/patch-Makefile
index 3f8d4816c636..e1773aaec5dd 100644
--- a/sysutils/dd_rescue/files/patch-Makefile
+++ b/sysutils/dd_rescue/files/patch-Makefile
@@ -1,10 +1,11 @@
---- Makefile.orig 2021-03-08 07:47:42 UTC
+--- Makefile.orig 2021-04-29 08:31:32 UTC
+++ Makefile
-@@ -7,10 +7,7 @@ VERSION = 1.99.10
+@@ -7,11 +7,7 @@ VERSION = 1.99.11
DESTDIR =
SRCDIR = .
--CC ?= gcc
+-CC = gcc
+-SHELL = /bin/bash
-RPM_OPT_FLAGS ?= -Os -Wall -g -D_FORTIFY_SOURCE=2
-CFLAGS = $(RPM_OPT_FLAGS) $(EXTRA_CFLAGS) -DHAVE_CONFIG_H -I .
-CFLAGS_OPT = $(CFLAGS) -O3
@@ -12,7 +13,7 @@
INSTALL ?= install
INSTALLFLAGS = -s
prefix = $(DESTDIR)/usr
-@@ -35,7 +32,7 @@ LIB = lib
+@@ -36,7 +32,7 @@ LIB = lib
LIBDIR = /usr/$(LIB)
COMPILER = $(shell $(CC) --version | head -n1)
ID = $(shell git describe --tags || cat REL-ID)
@@ -21,7 +22,7 @@
OUT = -o dd_rescue
PIC = -fPIC
PIE = -fPIE
-@@ -70,19 +67,13 @@ else
+@@ -71,19 +67,13 @@ else
HAVE_XATTR=0
endif
@@ -42,7 +43,7 @@
ISX86 := 1
LIB = lib64
endif
-@@ -261,7 +252,7 @@ libddr_MD5.so: libddr_hash.so
+@@ -289,7 +279,7 @@ libddr_MD5.so: libddr_hash.so
ln -sf $< $@
libddr_lzo.so: libddr_lzo.po
@@ -51,7 +52,7 @@
libddr_null.so: libddr_null.po
$(CC) -shared -o $@ $^
-@@ -324,7 +315,7 @@ libfalloc-static: $(SRCDIR)/dd_rescue.c $(DDR_HEADERS)
+@@ -360,7 +350,7 @@ libfalloc-static: $(SRCDIR)/dd_rescue.c $(DDR_HEADERS)
# This is the default built
dd_rescue: $(SRCDIR)/dd_rescue.c $(DDR_HEADERS) $(OBJECTS) $(OBJECTS2)