add kde tools
git-svn-id: https://svn.disconnected-by-peer.at/svn/linamh/trunk/linamh@903 6952d904-891a-0410-993b-d76249ca496b
This commit is contained in:
16
kde-misc/kgtk/files/kgtk-0.10.0-gcc433.patch
Normal file
16
kde-misc/kgtk/files/kgtk-0.10.0-gcc433.patch
Normal file
@@ -0,0 +1,16 @@
|
||||
--- common/common.h.orig 2009-02-03 19:54:32.000000000 +0500
|
||||
+++ common/common.h 2009-02-03 19:55:09.000000000 +0500
|
||||
@@ -205,7 +205,12 @@
|
||||
{
|
||||
do
|
||||
{
|
||||
- lockFd=open(getLockName(), O_WRONLY | O_CREAT | O_EXCL);
|
||||
+#if __GNUC__ > 4 || (__GNUC__ == 4 && (__GNUC_MINOR__ > 3 || (__GNUC_MINOR__ == 3 && __GNUC_PATCHLEVEL__ > 2)))
|
||||
+ lockFd=open(getLockName(), O_WRONLY | O_CREAT | O_EXCL, 0777);
|
||||
+#else
|
||||
+ lockFd=open(getLockName(), O_WRONLY | O_CREAT | O_EXCL);
|
||||
+#endif
|
||||
+
|
||||
if (lockFd<0 && errno==EEXIST)
|
||||
{
|
||||
/* Hmm, lock file already exists. Is it stale? */
|
||||
11
kde-misc/kgtk/files/kgtk-0.10.0-kde4.patch
Normal file
11
kde-misc/kgtk/files/kgtk-0.10.0-kde4.patch
Normal file
@@ -0,0 +1,11 @@
|
||||
--- kdialogd4/kdialogd.cpp.orig 2009-02-03 19:49:03.000000000 +0500
|
||||
+++ kdialogd4/kdialogd.cpp 2009-02-03 19:49:17.000000000 +0500
|
||||
@@ -391,7 +391,7 @@
|
||||
// * the dir select dialog doesnt seem to set the QDialog result parameter
|
||||
// when it is accepted - so for this reason if ok is clicked we store an
|
||||
// 'accepted' value there, and check for that after the dialog is finished.
|
||||
- kDebug() << "finished " << (int)itsDlg << itsAccepted << (itsDlg ? QDialog::Accepted==itsDlg->result() : false);
|
||||
+ kDebug() << "finished " << itsDlg << itsAccepted << (itsDlg ? QDialog::Accepted==itsDlg->result() : false);
|
||||
|
||||
if(itsDlg && !(itsAccepted || QDialog::Accepted==itsDlg->result()))
|
||||
cancel();
|
||||
Reference in New Issue
Block a user