+++ /dev/null
---- mc-4.6.2/vfs/mcfs.c.orig 2009-02-01 20:30:21.000000000 +0100
-+++ mc-4.6.2/vfs/mcfs.c 2009-02-03 23:49:21.000000000 +0100
-@@ -49,6 +49,8 @@
- #endif
- #endif
-
-+#include <mhl/string.h>
-+
- #include "../src/global.h"
- #include "../src/tty.h" /* enable/disable interrupt key */
- #include "../src/wtools.h" /* message() */
# Conditional build:
%bcond_with ext2undel # with ext2 undelete fs
%bcond_without perl_vfs # without perl depending vfs'es -- to avoid perl autoreq
-%bcond_with mcfs
%bcond_with samba # with SAMBA vfs support
%bcond_without x # without text edit in X support
#
Patch4: %{name}-home_etc2.patch
Patch5: %{name}-pl.patch
Patch6: %{name}-no-ws-visible.patch
-Patch7: %{name}-mhl.patch
Patch8: %{name}-mc.ext.patch
Patch10: %{name}-localenames.patch
Patch11: %{name}-noperl-vfs.patch
# doesn't apply
#%patch5 -p1
%patch6 -p1
-%patch7 -p1
# doesn't apply
#%patch8 -p1
# doesn't apply
--with%{!?with_ext2undel:out}-ext2undel \
--with%{!?with_x:out}-x \
--with-vfs \
- %{?with_mcfs:--enable-vfs-mcfs} \
+ --enable-vfs-mcfs \
+ --enable-mcserver \
%{?with_samba:--with-samba} \
--with-configdir=/etc/samba \
--with-codepagedir=/etc/samba/codepages \
%dir %{_sysconfdir}/mc/extfs
%attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) /etc/mc/extfs/*.*
-%if %{with mcfs}
%files -n mcserv
%defattr(644,root,root,755)
%attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) /etc/pam.d/*
%lang(pl) %{_mandir}/pl/man8/mcserv.8*
%lang(sr) %{_mandir}/sr/man8/mcserv.8*
%attr(755,root,root) %{_sbindir}/mcserv
-%endif