From d390e67a27d1ae2aea882a310e817a84414679ba Mon Sep 17 00:00:00 2001 From: lofi Date: Wed, 21 Apr 2004 02:59:27 +0000 Subject: Add a fix for kdesu. Obtained from: KDE CVS Approved by: portmgr --- x11/kdelibs3/Makefile | 1 + x11/kdelibs3/files/patch-kdesu-su.cpp | 13 +++++++++++++ 2 files changed, 14 insertions(+) create mode 100644 x11/kdelibs3/files/patch-kdesu-su.cpp (limited to 'x11/kdelibs3') 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) -- cgit v1.1