mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-23 04:23:08 +00:00
Fix when building with GCC 4.5. While here, fix gripe with clang and a
few typos. PR: ports/154173 Submitted by: bf Approved by: kwm (mentor)
This commit is contained in:
parent
02b9af2a61
commit
2905cce16a
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=271042
@ -7,6 +7,7 @@
|
||||
|
||||
PORTNAME= rename
|
||||
PORTVERSION= 1.3
|
||||
PORTREVISION= 1
|
||||
CATEGORIES= sysutils
|
||||
MASTER_SITES= http://mirror2.unixfreunde.de/ \
|
||||
http://freebsd.unixfreunde.de/sources/
|
||||
|
28
sysutils/rename/files/patch-rename.c
Normal file
28
sysutils/rename/files/patch-rename.c
Normal file
@ -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);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user