aboutsummaryrefslogtreecommitdiff
path: root/sysutils
diff options
context:
space:
mode:
authorJoseph S. Atkinson <jsa@FreeBSD.org>2011-03-16 19:32:21 +0000
committerJoseph S. Atkinson <jsa@FreeBSD.org>2011-03-16 19:32:21 +0000
commit2905cce16aef2da2549993f1877f110ed4d043ff (patch)
tree2a119ee0fc1e6261fedb03a527b8f1eba1190cd4 /sysutils
parent02b9af2a612046471eb58e3acc7253493567691c (diff)
downloadports-2905cce16aef2da2549993f1877f110ed4d043ff.tar.gz
ports-2905cce16aef2da2549993f1877f110ed4d043ff.zip
Notes
Diffstat (limited to 'sysutils')
-rw-r--r--sysutils/rename/Makefile1
-rw-r--r--sysutils/rename/files/patch-rename.c28
2 files changed, 29 insertions, 0 deletions
diff --git a/sysutils/rename/Makefile b/sysutils/rename/Makefile
index 29927975084c..c3f1b149b136 100644
--- a/sysutils/rename/Makefile
+++ b/sysutils/rename/Makefile
@@ -7,6 +7,7 @@
PORTNAME= rename
PORTVERSION= 1.3
+PORTREVISION= 1
CATEGORIES= sysutils
MASTER_SITES= http://mirror2.unixfreunde.de/ \
http://freebsd.unixfreunde.de/sources/
diff --git a/sysutils/rename/files/patch-rename.c b/sysutils/rename/files/patch-rename.c
new file mode 100644
index 000000000000..17a74c2fd911
--- /dev/null
+++ b/sysutils/rename/files/patch-rename.c
@@ -0,0 +1,28 @@
+--- ./rename.c.orig 2002-05-20 11:50:50.000000000 -0400
++++ ./rename.c 2011-03-13 05:05:52.000000000 -0400
+@@ -65,7 +65,7 @@
+
+ #if HAVE_REGEX_H
+ #include <regex.h>
+-#elif
++#else
+ #include "regex.h"
+ #endif
+
+@@ -608,7 +608,7 @@
+
+ skip:
+ if (attr & MOD_VERBO)
+- printf("skiped\n");
++ printf("skipped\n");
+ return rs;
+ }
+
+@@ -659,6 +659,6 @@
+ if (mode)
+ printf(version, VERSION);
+ else
+- printf(help);
++ printf("%s", help);
+ }
+