summaryrefslogtreecommitdiffstats
path: root/x11/kdelibs3
diff options
context:
space:
mode:
authorlofi <lofi@FreeBSD.org>2004-04-21 02:59:27 +0000
committerlofi <lofi@FreeBSD.org>2004-04-21 02:59:27 +0000
commitd390e67a27d1ae2aea882a310e817a84414679ba (patch)
tree2c77fa61ae3b52ef7391ab3e0f2db9091c75a188 /x11/kdelibs3
parent898242fc4bbdfb94811b74eaf460939341727efc (diff)
downloadFreeBSD-ports-d390e67a27d1ae2aea882a310e817a84414679ba.zip
FreeBSD-ports-d390e67a27d1ae2aea882a310e817a84414679ba.tar.gz
Add a fix for kdesu.
Obtained from: KDE CVS Approved by: portmgr
Diffstat (limited to 'x11/kdelibs3')
-rw-r--r--x11/kdelibs3/Makefile1
-rw-r--r--x11/kdelibs3/files/patch-kdesu-su.cpp13
2 files changed, 14 insertions, 0 deletions
diff --git a/x11/kdelibs3/Makefile b/x11/kdelibs3/Makefile
index 98ba5d9..f996c1c 100644
--- a/x11/kdelibs3/Makefile
+++ b/x11/kdelibs3/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/kdelibs3/files/patch-kdesu-su.cpp b/x11/kdelibs3/files/patch-kdesu-su.cpp
new file mode 100644
index 0000000..237eac5
--- /dev/null
+++ b/x11/kdelibs3/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)
OpenPOWER on IntegriCloud