aboutsummaryrefslogtreecommitdiff
path: root/sysutils/dd_rescue
diff options
context:
space:
mode:
authorPav Lucistnik <pav@FreeBSD.org>2010-10-29 13:37:26 +0000
committerPav Lucistnik <pav@FreeBSD.org>2010-10-29 13:37:26 +0000
commitbac59949916f2bca22ed8cfd18de950715d3bebc (patch)
tree2f87bcfe3bb63b4d93facf8103e6717cae5d43f5 /sysutils/dd_rescue
parentc1ff0493c67906df41d068730187965919b8977b (diff)
downloadports-bac59949916f2bca22ed8cfd18de950715d3bebc.tar.gz
ports-bac59949916f2bca22ed8cfd18de950715d3bebc.zip
Notes
Diffstat (limited to 'sysutils/dd_rescue')
-rw-r--r--sysutils/dd_rescue/Makefile2
-rw-r--r--sysutils/dd_rescue/distinfo6
-rw-r--r--sysutils/dd_rescue/files/patch-Makefile29
3 files changed, 25 insertions, 12 deletions
diff --git a/sysutils/dd_rescue/Makefile b/sysutils/dd_rescue/Makefile
index 1cc1330bc38a..4e74d1207e41 100644
--- a/sysutils/dd_rescue/Makefile
+++ b/sysutils/dd_rescue/Makefile
@@ -6,7 +6,7 @@
#
PORTNAME= dd_rescue
-PORTVERSION= 1.14
+PORTVERSION= 1.22
CATEGORIES= sysutils
MASTER_SITES= http://www.garloff.de/kurt/linux/ddrescue/
diff --git a/sysutils/dd_rescue/distinfo b/sysutils/dd_rescue/distinfo
index 41c1300f89d6..3bb9b19d61b7 100644
--- a/sysutils/dd_rescue/distinfo
+++ b/sysutils/dd_rescue/distinfo
@@ -1,3 +1,3 @@
-MD5 (dd_rescue-1.14.tar.gz) = 417d26eacb5fb7851487329542f225e8
-SHA256 (dd_rescue-1.14.tar.gz) = 165fb24dc1e8087b34d474da9ad93a8ee793c222573ab7e1381aaca827836fad
-SIZE (dd_rescue-1.14.tar.gz) = 17754
+MD5 (dd_rescue-1.22.tar.gz) = 072056134e12a982f82bf3bc3ebf4a45
+SHA256 (dd_rescue-1.22.tar.gz) = 97b21c23d22b5bcf4d5df99f2027a31f19cdcdf8e3354bab664db36219d11b58
+SIZE (dd_rescue-1.22.tar.gz) = 30161
diff --git a/sysutils/dd_rescue/files/patch-Makefile b/sysutils/dd_rescue/files/patch-Makefile
index d88779faa2df..bd678312f84b 100644
--- a/sysutils/dd_rescue/files/patch-Makefile
+++ b/sysutils/dd_rescue/files/patch-Makefile
@@ -1,5 +1,5 @@
---- Makefile.orig Fri Oct 22 16:38:03 2004
-+++ Makefile Sat Jul 2 23:40:24 2005
+--- Makefile-bla 2010-09-17 14:07:46.000000000 +0200
++++ Makefile 2010-09-17 14:07:58.000000000 +0200
@@ -6,9 +6,6 @@
DESTDIR =
@@ -7,15 +7,28 @@
-CC = gcc
-RPM_OPT_FLAGS = -O2 -Wall -g
-CFLAGS = $(RPM_OPT_FLAGS) $(EXTRA_CFLAGS)
- DEFINES = -DVERSION=\"$(VERSION)\"
INSTALL = install
INSTALLFLAGS = -s
-@@ -25,7 +22,7 @@
+ prefix = $(DESTDIR)/usr
+@@ -25,12 +22,6 @@
+ DEFINES = -DVERSION=\"$(VERSION)\" -D__COMPILER__="\"$(COMPILER)\""
+ OUT = -o $@
+
+-ifeq ($(CC),wcl386)
+- CFLAGS = "-ox -wx $(EXTRA_CFLAGS)"
+- DEFINES = -dMISS_STRSIGNAL -dMISS_PREAD -dVERSION=\"$(VERSION)\" -d__COMPILER__="\"$(COMPILER)\""
+- OUT = ""
+-endif
+-
default: $(TARGETS)
+ libfalloc: dd_rescue.c
+@@ -43,7 +34,7 @@
+ $(CC) $(CFLAGS) -DHAVE_FALLOCATE=1 $(DEFINES) $< -o dd_rescue
+
dd_rescue: dd_rescue.c
-- $(CC) $(CFLAGS) $(DEFINES) $< -o $@
-+ $(CC) $(CFLAGS) $(DEFINES) $(LIBS) $< -o $@
+- $(CC) $(CFLAGS) $(DEFINES) $< $(OUT)
++ $(CC) $(CFLAGS) $(DEFINES) $(LIBS) $< $(OUT)
- clean:
- rm -f $(TARGETS) $(OBJECTS) core
+ strip: dd_rescue
+ strip -S $<