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]

patch for build mc-4.8.7 cygwin 64 bit


--- 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")))
 #else
+
+# define ME_DUMMY(Fs_name, Fs_type, Fs_ent)		\
+  (ME_DUMMY_0 (Fs_name, Fs_type) || strcmp (Fs_type, "none") == 0)
+#endif
+#else
 #define ME_DUMMY(Fs_name, Fs_type)              \
   (ME_DUMMY_0 (Fs_name, Fs_type) || strcmp (Fs_type, "none") == 0)
 #endif
@@ -240,7 +246,7 @@
 /* All cygwin mount points include `:' or start with `//'; so it
    requires a native Windows call to determine remote disks.  */
 static int
-me_remote (char const *fs_name, char const *fs_type _GL_UNUSED)
+me_remote (char const *fs_name, char const *fs_type)
 {
     if (fs_name[0] && fs_name[1] == ':')
     {

build on testing distro all depend in

ftp://cygwin.com/pub/cygwin/64bit

I use two days no errors.
 binary and source package is
 on my side
   http://code.google.com/p/cyg64distro/downloads/list
   building in cygport
   only:
      install coreutils-8.15-2
	no    coreutils-8.21-1 !! is broken "configure error"
   sorry for my english. "google translate"
	   big thanks to:
		Corinna, Yaakov
		and all  the cygwin team

     cygwin 64-bit is faster


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