summaryrefslogtreecommitdiff
path: root/x11/kdelibs4
diff options
context:
space:
mode:
authorMichael Nottebrock <lofi@FreeBSD.org>2004-04-21 02:59:27 +0000
committerMichael Nottebrock <lofi@FreeBSD.org>2004-04-21 02:59:27 +0000
commitd063a2e9183a4b9bc8854fd599f258bc83f3ce55 (patch)
tree3455d4d56a6d9c029a186772e6cdd268f597feee /x11/kdelibs4
parentPorts freeze now, so I back it out (diff)
Add a fix for kdesu.
Obtained from: KDE CVS Approved by: portmgr
Diffstat (limited to 'x11/kdelibs4')
-rw-r--r--x11/kdelibs4/Makefile1
-rw-r--r--x11/kdelibs4/files/patch-kdesu-su.cpp13
2 files changed, 14 insertions, 0 deletions
diff --git a/x11/kdelibs4/Makefile b/x11/kdelibs4/Makefile
index 98ba5d9f658a..f996c1cd6231 100644
--- a/x11/kdelibs4/Makefile
+++ b/x11/kdelibs4/Makefile
@@ -8,6 +8,7 @@
PORTNAME= kdelibs
PORTVERSION= ${KDE_VERSION}
+PORTREVISION= 1
CATEGORIES= x11 kde
MASTER_SITES= ${MASTER_SITE_KDE}
MASTER_SITE_SUBDIR= stable/${PORTVERSION}/src
diff --git a/x11/kdelibs4/files/patch-kdesu-su.cpp b/x11/kdelibs4/files/patch-kdesu-su.cpp
new file mode 100644
index 000000000000..237eac59590b
--- /dev/null
+++ b/x11/kdelibs4/files/patch-kdesu-su.cpp
@@ -0,0 +1,13 @@
+--- kdesu/su.cpp 2004/03/26 23:26:45 1.32.2.2
++++ kdesu/su.cpp 2004/04/13 13:32:27 1.32.2.3
+@@ -78,9 +78,9 @@ int SuProcess::exec(const char *password
+ args += "root";
+ else
+ args += m_User;
+- args += "-";
+ args += "-c";
+ args += QCString(__KDE_BINDIR) + "/kdesu_stub";
++ args += "-";
+
+ QCString command = __PATH_SU;
+ if (::access(__PATH_SU, X_OK) != 0)