diff options
author | Yi-Jheng Lin <yzlin@FreeBSD.org> | 2009-08-07 11:22:02 +0000 |
---|---|---|
committer | Yi-Jheng Lin <yzlin@FreeBSD.org> | 2009-08-07 11:22:02 +0000 |
commit | 268c58f935b785adde07feb4a64c728a8bfd0d2f (patch) | |
tree | 1dcba7eb759de4d18ab7ec07e77fc8b65dffed70 /sysutils/recoverdm | |
parent | 3cea517de7fe0eb8bb15c140f74f47ab844fc360 (diff) | |
download | ports-268c58f935b785adde07feb4a64c728a8bfd0d2f.tar.gz ports-268c58f935b785adde07feb4a64c728a8bfd0d2f.zip |
Notes
Diffstat (limited to 'sysutils/recoverdm')
-rw-r--r-- | sysutils/recoverdm/Makefile | 2 | ||||
-rw-r--r-- | sysutils/recoverdm/distinfo | 6 | ||||
-rw-r--r-- | sysutils/recoverdm/files/patch-recoverdm.c | 16 |
3 files changed, 12 insertions, 12 deletions
diff --git a/sysutils/recoverdm/Makefile b/sysutils/recoverdm/Makefile index 6ef9957f2468..87c61ff02df7 100644 --- a/sysutils/recoverdm/Makefile +++ b/sysutils/recoverdm/Makefile @@ -6,7 +6,7 @@ # PORTNAME= recoverdm -PORTVERSION= 0.19 +PORTVERSION= 0.20 CATEGORIES= sysutils MASTER_SITES= http://www.vanheusden.com/recoverdm/ EXTRACT_SUFX= .tgz diff --git a/sysutils/recoverdm/distinfo b/sysutils/recoverdm/distinfo index 90f4d738864f..99db76c7c220 100644 --- a/sysutils/recoverdm/distinfo +++ b/sysutils/recoverdm/distinfo @@ -1,3 +1,3 @@ -SIZE (recoverdm-0.19.tgz) = 9806 -MD5 (recoverdm-0.19.tgz) = f24050f1ab83584a2bf07e0ef6e5fc66 -SHA256 (recoverdm-0.19.tgz) = 6158eee718d172a655f6581cbda41bc2cc8a0438ce2ad08f2892cf8d31fbd9c5 +MD5 (recoverdm-0.20.tgz) = 9da9ea7d44f8f94984715eb2ff1ecab4 +SHA256 (recoverdm-0.20.tgz) = 0fd4bc3ce4360a12f69c1440bc31ffd29f0e88f38b9279fb4a783a173d4f6f4c +SIZE (recoverdm-0.20.tgz) = 9946 diff --git a/sysutils/recoverdm/files/patch-recoverdm.c b/sysutils/recoverdm/files/patch-recoverdm.c index a364c091e669..3e7b356b29d5 100644 --- a/sysutils/recoverdm/files/patch-recoverdm.c +++ b/sysutils/recoverdm/files/patch-recoverdm.c @@ -1,6 +1,6 @@ ---- recoverdm.c.orig Fri Dec 2 13:34:00 2005 -+++ recoverdm.c Mon Jan 23 16:51:28 2006 -@@ -179,7 +179,7 @@ +--- recoverdm.c.orig 2009-07-25 22:13:33.105079513 +0900 ++++ recoverdm.c 2009-07-25 22:17:04.086068813 +0900 +@@ -181,7 +181,7 @@ if (rc == 0) { @@ -9,7 +9,7 @@ rc = -1; } -@@ -261,7 +261,7 @@ +@@ -267,7 +267,7 @@ case 'V': return 0; case 'b': @@ -18,7 +18,7 @@ break; case '?': case 'h': -@@ -295,7 +295,7 @@ +@@ -307,7 +307,7 @@ buffer = (char *)mymalloc(block_size, "sectorbuffer"); buffer2 = (char *)mymalloc(block_size, "sectorbuffer for retries"); @@ -27,12 +27,12 @@ if (fdout == -1) { printf("Cannot create file %s! (%s)\n", file_out, strerror(errno)); -@@ -430,7 +430,7 @@ +@@ -442,7 +442,7 @@ /* always mark the sector as tricky */ if (dsecfile) { -- fprintf(dsecfile, "%lld %ld\n", curpos, block_size); -+ fprintf(dsecfile, "%lld %ld\n", curpos, (long)block_size); +- fprintf(dsecfile, "%lld %ld\n", curpos, block_size*skip_value); ++ fprintf(dsecfile, "%lld %ld\n", curpos, (long)(block_size*skip_value)); fflush(dsecfile); } |