summaryrefslogtreecommitdiff
path: root/misc/mc
diff options
context:
space:
mode:
authorMax Khon <fjoe@FreeBSD.org>2010-02-10 19:33:50 +0000
committerMax Khon <fjoe@FreeBSD.org>2010-02-10 19:33:50 +0000
commit6647f11998ba347ffe4e7914f0b4812d38b5b03a (patch)
treef5e42b03c258d994a71524e7132cf5c053bb74ed /misc/mc
parentAdd another missing $ (diff)
Fix build with disabled iconv.
Notes
Notes: svn path=/head/; revision=249553
Diffstat (limited to 'misc/mc')
-rw-r--r--misc/mc/Makefile1
-rw-r--r--misc/mc/files/patch-lib-util.c10
2 files changed, 11 insertions, 0 deletions
diff --git a/misc/mc/Makefile b/misc/mc/Makefile
index 832cacc20f57..400bb856537a 100644
--- a/misc/mc/Makefile
+++ b/misc/mc/Makefile
@@ -7,6 +7,7 @@
PORTNAME= mc
PORTVERSION= 4.7.0.2
+PORTREVISION= 1
CATEGORIES= misc shells
MASTER_SITES= http://www.midnight-commander.org/downloads/ \
${MASTER_SITE_SUNSITE}
diff --git a/misc/mc/files/patch-lib-util.c b/misc/mc/files/patch-lib-util.c
new file mode 100644
index 000000000000..0f62cfd8e638
--- /dev/null
+++ b/misc/mc/files/patch-lib-util.c
@@ -0,0 +1,10 @@
+--- lib/util.c.orig 2010-02-11 01:25:48.000000000 +0600
++++ lib/util.c 2010-02-11 01:26:03.000000000 +0600
+@@ -50,6 +50,7 @@
+ #include "lib/strutil.h"
+
+ #include "src/file.h" /* copy_file_file() */
++#include "src/main.h" /* eight_bit_clean */
+
+ /*In order to use everywhere the same setup
+ for the locale we use defines */