This is the mail archive of the cygwin-apps mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: patch for build mc-4.8.7 cygwin 64 bit


On 3/25/2013 4:10 PM, Eric Blake wrote:
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,
it seems already on mc trunk, that uses an unusual sync with gnulib

https://www.midnight-commander.org/changeset?reponame=&new=a85fc3367e4e821e7585f52b3a04715f9d6c1b1a%40src%2Ffilemanager%2Fmountlist.c&old=bbf1f4e8577e4608bfb832366c3c7a6ecea653d6%40src%2Ffilemanager%2Fmountlist.c


Question, how do you manage  :
  me_remote (char const *fs_name, char const *fs_type _GL_UNUSED)

as _GL_UNUSED is always giving problem and I need to change with
  me_remote (char const *fs_name, char const *fs_type )

to allow build ?

Regards
Marco








Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]