diff options
-rw-r--r-- | sysutils/rename/Makefile | 1 | ||||
-rw-r--r-- | sysutils/rename/files/patch-rename.c | 28 |
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); + } + |