Hello community, here is the log from the commit of package mc checked in at Tue Apr 18 14:09:50 CEST 2006. -------- --- GNOME/mc/mc.changes 2006-04-07 12:29:34.000000000 +0200 +++ STABLE/mc/mc.changes 2006-04-18 13:10:49.000000000 +0200 @@ -1,0 +2,5 @@ +Tue Apr 18 13:09:49 CEST 2006 - nadvornik@suse.cz + +- fixed check for umode_t; it fixes compilation on ppc64 + +------------------------------------------------------------------- New: ---- mc-4.6.1-umode_t.patch ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ mc.spec ++++++ --- /var/tmp/diff_new_pack.j8XMxj/_old 2006-04-18 14:09:22.000000000 +0200 +++ /var/tmp/diff_new_pack.j8XMxj/_new 2006-04-18 14:09:22.000000000 +0200 @@ -18,7 +18,7 @@ PreReq: permissions Autoreqprov: on Version: 4.6.1 -Release: 24 +Release: 27 Summary: Midnight Commander Source: mc-4.6.1.tar.bz2 Source1: x11_browser @@ -49,6 +49,7 @@ Patch26: mc-4.6.1-long-panel.patch Patch27: mc-4.6.1-getpwuid.patch Patch28: mc-4.6.1-syntax-hpp.patch +Patch29: mc-4.6.1-umode_t.patch BuildRoot: %{_tmppath}/%{name}-%{version}-build URL: http://www.ibiblio.org/mc/ @@ -137,6 +138,7 @@ %patch26 %patch27 %patch28 +%patch29 pushd $RPM_BUILD_DIR/mc*/po/ rename no nb no.* popd @@ -233,6 +235,8 @@ %{_datadir}/mc %changelog -n mc +* Tue Apr 18 2006 - nadvornik@suse.cz +- fixed check for umode_t; it fixes compilation on ppc64 * Fri Apr 07 2006 - lmichnovic@suse.cz - adjusted ogg file opening (updated apps.patch) * Mon Mar 13 2006 - nadvornik@suse.cz ++++++ mc-4.6.1-umode_t.patch ++++++ --- configure.ac +++ configure.ac @@ -210,7 +210,10 @@ dnl AC_TYPE_MODE_T -AC_CHECK_TYPE(umode_t, int) +AC_CHECK_TYPE(umode_t, + [AC_DEFINE(HAVE_UMODE_T, 1, + [Define if you have the `umode_t' type.]) +]) AC_CHECK_TYPE(off_t, long) AC_TYPE_PID_T AC_TYPE_UID_T --- src/achown.c +++ src/achown.c @@ -42,6 +42,10 @@ #include "main.h" #include "achown.h" +#ifndef HAVE_UMODE_T +#define umode_t int +#endif + #define BX 5 #define BY 6 --- src/chmod.c +++ src/chmod.c @@ -37,6 +37,10 @@ #include "main.h" /* update_panels() */ #include "chmod.h" +#ifndef HAVE_UMODE_T +#define umode_t int +#endif + static int single_set; #define PX 5 --- src/file.c +++ src/file.c @@ -78,6 +78,10 @@ /* }}} */ +#ifndef HAVE_UMODE_T +#define umode_t int +#endif + int verbose = 1; /* ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Remember to have fun...
participants (1)
-
root@suse.de