patch for build mc-4.8.7 cygwin 64 bit

Eric Blake eblake@redhat.com
Mon Mar 25 15:41:00 GMT 2013


On 03/22/2013 02:46 PM, adam kisiel wrote:
> --- origsrc/mc-4.8.7/src/filemanager/mountlist.c    2012-12-27
> 09:13:20.000000000 +0100
> +++ src/mc-4.8.7/src/filemanager/mountlist.c    2013-03-22
> 19:59:40.866980200 +0100
> @@ -225,11 +225,17 @@
>     we grant an exception to any with "bind" in its list of mount options.
>     I.e., those are *not* dummy entries.  */
>  #ifdef MOUNTED_GETMNTENT1
> +#ifdef HAVE_HASMNTOPT
>  #define ME_DUMMY(Fs_name, Fs_type, Fs_ent)      \
>    (ME_DUMMY_0 (Fs_name, Fs_type)                \
>     || (strcmp (Fs_type, "none") == 0            \
>         && !hasmntopt (Fs_ent, "bind")))

Actually, for any package afflicted by this gnulib bug (coreutils and
findutils have also both hit it), I've been applying this upstream
gnulib patch:

http://git.sv.gnu.org/cgit/gnulib.git/commit/lib/mountlist.c?id=62bb7a8b

-- 
Eric Blake   eblake redhat com    +1-919-301-3266
Libvirt virtualization library http://libvirt.org

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 621 bytes
Desc: OpenPGP digital signature
URL: <http://cygwin.com/pipermail/cygwin-apps/attachments/20130325/976a9ba8/attachment.sig>


More information about the Cygwin-apps mailing list