aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--sysutils/hdrecover/Makefile1
-rw-r--r--sysutils/hdrecover/files/patch-hdrecover.cpp11
2 files changed, 11 insertions, 1 deletions
diff --git a/sysutils/hdrecover/Makefile b/sysutils/hdrecover/Makefile
index 55dd007cc65d..257aaa688cf5 100644
--- a/sysutils/hdrecover/Makefile
+++ b/sysutils/hdrecover/Makefile
@@ -7,6 +7,7 @@
PORTNAME= hdrecover
PORTVERSION= 0.4
+PORTREVISION= 1
CATEGORIES= sysutils
MASTER_SITES= SF/${PORTNAME}/${PORTNAME}/${PORTNAME}-${PORTVERSION}
diff --git a/sysutils/hdrecover/files/patch-hdrecover.cpp b/sysutils/hdrecover/files/patch-hdrecover.cpp
index 84daf5bd6d1f..9f8f937632a7 100644
--- a/sysutils/hdrecover/files/patch-hdrecover.cpp
+++ b/sysutils/hdrecover/files/patch-hdrecover.cpp
@@ -1,5 +1,5 @@
--- hdrecover.cpp.orig 2011-09-25 04:48:10.000000000 -0700
-+++ hdrecover.cpp 2012-06-29 12:07:43.004361705 -0700
++++ hdrecover.cpp 2012-06-29 16:02:39.000000000 -0700
@@ -26,7 +26,11 @@
#include <sys/stat.h>
#include <fcntl.h>
@@ -12,3 +12,12 @@
#include <errno.h>
#include <string.h>
#include <time.h>
+@@ -260,7 +264,7 @@
+ sprintf(p, "%d seconds", remaining);
+ }
+ printf("Sector %Ld (%02d%%) ETR: %s\n",
+- sectornum, (int) ((sectornum * 100) / length), rs);
++ (long) sectornum, (long int) ((sectornum * 100) / length), rs);
+ }
+ }
+