File kde3-kgtk-0.10.1-gcc44.patch of Package kde3-kgtk
Description: Fix build with GCC 4.4
Author: Kyrill Detinov <lazy.kent.suse@gmail.com>
Index: qt3/kqt3.cpp
===================================================================
--- qt3/kqt3.cpp.orig 2009-03-12 03:19:40.000000000 +0300
+++ qt3/kqt3.cpp 2010-01-21 18:19:04.000000000 +0300
@@ -100,7 +100,7 @@ static const char * getAppName(bool useQ
if(!appName)
{
const char *a=useQt && qApp ? qApp->argv()[0] : getAppNameFromPid(getpid());
- char *slash;
+ const char *slash;
// Was the cmdline app java? if so, try to use its parent name - just in case
// its run from a shell script, etc. - e.g. as eclipse does