summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSamuli Suominen <ssuominen@gentoo.org>2009-08-08 21:57:48 +0000
committerSamuli Suominen <ssuominen@gentoo.org>2009-08-08 21:57:48 +0000
commit71013e57da0b957586113354af64d32832893f7f (patch)
tree6d52be8c56658296c452f942b624049ed01ab63b /kde-misc/kgtk/files
parentVersion bump. Clean up old revision. (diff)
downloadhistorical-71013e57da0b957586113354af64d32832893f7f.tar.gz
historical-71013e57da0b957586113354af64d32832893f7f.tar.bz2
historical-71013e57da0b957586113354af64d32832893f7f.zip
Fix building with GLIBC 2.10+ wrt #276500.
Package-Manager: portage-2.2_rc36/cvs/Linux x86_64
Diffstat (limited to 'kde-misc/kgtk/files')
-rw-r--r--kde-misc/kgtk/files/kgtk-0.10.1-glibc-2.10.patch12
1 files changed, 12 insertions, 0 deletions
diff --git a/kde-misc/kgtk/files/kgtk-0.10.1-glibc-2.10.patch b/kde-misc/kgtk/files/kgtk-0.10.1-glibc-2.10.patch
new file mode 100644
index 000000000000..5ea95b943f69
--- /dev/null
+++ b/kde-misc/kgtk/files/kgtk-0.10.1-glibc-2.10.patch
@@ -0,0 +1,12 @@
+diff -ur KGtk-0.10.1.orig/qt4/kqt4.cpp KGtk-0.10.1/qt4/kqt4.cpp
+--- KGtk-0.10.1.orig/qt4/kqt4.cpp 2009-03-12 02:19:40.000000000 +0200
++++ KGtk-0.10.1/qt4/kqt4.cpp 2009-08-09 00:57:37.000000000 +0300
+@@ -99,7 +99,7 @@
+ {
+ const char *a=useQt && QCoreApplication::arguments().count()
+ ? QCoreApplication::arguments()[0].toLatin1().constData() : 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