diff options
Diffstat (limited to 'app-misc/krusader/files/krusader-1.40_beta1-gcc34-goodness.diff')
-rw-r--r-- | app-misc/krusader/files/krusader-1.40_beta1-gcc34-goodness.diff | 91 |
1 files changed, 91 insertions, 0 deletions
diff --git a/app-misc/krusader/files/krusader-1.40_beta1-gcc34-goodness.diff b/app-misc/krusader/files/krusader-1.40_beta1-gcc34-goodness.diff new file mode 100644 index 000000000000..37802d4af615 --- /dev/null +++ b/app-misc/krusader/files/krusader-1.40_beta1-gcc34-goodness.diff @@ -0,0 +1,91 @@ +diff -ur krusader/MountMan/kmountman.h krusader.new/MountMan/kmountman.h +--- krusader/MountMan/kmountman.h 2004-03-05 15:05:23.000000000 -0500 ++++ krusader.new/MountMan/kmountman.h 2004-06-22 15:13:34.895991680 -0400 +@@ -231,6 +231,6 @@ + + }; + +-}; ++} + + #endif +diff -ur krusader/MountMan/kmountmangui.h krusader.new/MountMan/kmountmangui.h +--- krusader/MountMan/kmountmangui.h 2003-12-30 15:39:32.000000000 -0500 ++++ krusader.new/MountMan/kmountmangui.h 2004-06-22 15:26:32.357799520 -0400 +@@ -80,5 +80,5 @@ + QTimer *watcher; + }; + +-}; ++} + #endif +--- acinclude.m4 2004-04-12 07:55:22.000000000 -0400 ++++ acinclude.m4.new 2004-06-22 16:03:05.877333864 -0400 +@@ -2818,7 +2818,7 @@ + if test "$GXX" = "yes" || test "$CXX" = "KCC"; then + if test "$kde_use_debug_code" != "no"; then + if test "$CXX" = "KCC"; then +- CXXFLAGS="+K0 -Wall -pedantic -W -Wpointer-arith -Wmissing-prototypes -Wwrite-strings $CXXFLAGS" ++ CXXFLAGS="+K0 -Wall -pedantic -W -Wpointer-arith -Wwrite-strings $CXXFLAGS" + else + if test "$kde_use_debug_code" = "full"; then + CXXFLAGS="-g3 $CXXFLAGS" +@@ -2856,12 +2856,12 @@ + if test "$GCC" = "yes"; then + case $host in + *-*-linux-gnu) +- CFLAGS="-ansi -W -Wall -pedantic -Wchar-subscripts -Wshadow -Wpointer-arith -Wmissing-prototypes -Wwrite-strings -D_XOPEN_SOURCE=500 -D_BSD_SOURCE $CFLAGS" ++ CFLAGS="-ansi -W -Wall -pedantic -Wchar-subscripts -Wshadow -Wpointer-arith -Wwrite-strings -D_XOPEN_SOURCE=500 -D_BSD_SOURCE $CFLAGS" + CXXFLAGS="-ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wconversion -Wchar-subscripts $CXXFLAGS" + KDE_CHECK_COMPILER_FLAG(Wmissing-format-attribute, [CXXFLAGS="$CXXFLAGS -Wformat-security -Wmissing-format-attribute"; CFLAGS="$CFLAGS -Wformat-security -Wmissing-format-attribute"]) + ;; + esac +- CXXFLAGS="-Wall -pedantic -W -Wpointer-arith -Wmissing-prototypes -Wwrite-strings $CXXFLAGS" ++ CXXFLAGS="-Wall -pedantic -W -Wpointer-arith -Wwrite-strings $CXXFLAGS" + KDE_CHECK_COMPILER_FLAG(Wundef,[CXXFLAGS="-Wundef $CXXFLAGS"]) + KDE_CHECK_COMPILER_FLAG(Wno-long-long,[CXXFLAGS="-Wno-long-long $CXXFLAGS"]) + KDE_CHECK_COMPILER_FLAG(Wnon-virtual-dtor,[CXXFLAGS="-Wnon-virtual-dtor $CXXFLAGS"]) +@@ -3269,7 +3269,7 @@ + AC_CACHE_VAL(kde_cv_func_stpcpy, + [ + kde_safe_cxxflags=$CXXFLAGS +- CXXFLAGS="-Wmissing-prototypes -Werror" ++ CXXFLAGS="-Werror" + AC_LANG_SAVE + AC_LANG_CPLUSPLUS + AC_TRY_COMPILE([ +--- aclocal.m4 2004-04-12 07:55:26.000000000 -0400 ++++ aclocal.m4.new 2004-06-22 16:03:40.007145344 -0400 +@@ -2830,7 +2830,7 @@ + if test "$GXX" = "yes" || test "$CXX" = "KCC"; then + if test "$kde_use_debug_code" != "no"; then + if test "$CXX" = "KCC"; then +- CXXFLAGS="+K0 -Wall -pedantic -W -Wpointer-arith -Wmissing-prototypes -Wwrite-strings $CXXFLAGS" ++ CXXFLAGS="+K0 -Wall -pedantic -W -Wpointer-arith -Wwrite-strings $CXXFLAGS" + else + if test "$kde_use_debug_code" = "full"; then + CXXFLAGS="-g3 $CXXFLAGS" +@@ -2868,12 +2868,12 @@ + if test "$GCC" = "yes"; then + case $host in + *-*-linux-gnu) +- CFLAGS="-ansi -W -Wall -pedantic -Wchar-subscripts -Wshadow -Wpointer-arith -Wmissing-prototypes -Wwrite-strings -D_XOPEN_SOURCE=500 -D_BSD_SOURCE $CFLAGS" ++ CFLAGS="-ansi -W -Wall -pedantic -Wchar-subscripts -Wshadow -Wpointer-arith -Wwrite-strings -D_XOPEN_SOURCE=500 -D_BSD_SOURCE $CFLAGS" + CXXFLAGS="-ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wconversion -Wchar-subscripts $CXXFLAGS" + KDE_CHECK_COMPILER_FLAG(Wmissing-format-attribute, [CXXFLAGS="$CXXFLAGS -Wformat-security -Wmissing-format-attribute"; CFLAGS="$CFLAGS -Wformat-security -Wmissing-format-attribute"]) + ;; + esac +- CXXFLAGS="-Wall -pedantic -W -Wpointer-arith -Wmissing-prototypes -Wwrite-strings $CXXFLAGS" ++ CXXFLAGS="-Wall -pedantic -W -Wpointer-arith -Wwrite-strings $CXXFLAGS" + KDE_CHECK_COMPILER_FLAG(Wundef,[CXXFLAGS="-Wundef $CXXFLAGS"]) + KDE_CHECK_COMPILER_FLAG(Wno-long-long,[CXXFLAGS="-Wno-long-long $CXXFLAGS"]) + KDE_CHECK_COMPILER_FLAG(Wnon-virtual-dtor,[CXXFLAGS="-Wnon-virtual-dtor $CXXFLAGS"]) +@@ -3281,7 +3281,7 @@ + AC_CACHE_VAL(kde_cv_func_stpcpy, + [ + kde_safe_cxxflags=$CXXFLAGS +- CXXFLAGS="-Wmissing-prototypes -Werror" ++ CXXFLAGS="-Werror" + AC_LANG_SAVE + AC_LANG_CPLUSPLUS + AC_TRY_COMPILE([ |