From b4359e8bf97799f83dc1ca62744db7cfcc81bc87 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fran=C3=A7ois=20Andriot?= Date: Mon, 24 Jun 2013 19:50:32 +0200 Subject: RPM Packaging: rename directories --- ...kdelibs-3.5.13-fix_tdesu_internal_pathing.patch | 33 ---------------------- 1 file changed, 33 deletions(-) delete mode 100644 redhat/kdelibs/kdelibs-3.5.13-fix_tdesu_internal_pathing.patch (limited to 'redhat/kdelibs/kdelibs-3.5.13-fix_tdesu_internal_pathing.patch') diff --git a/redhat/kdelibs/kdelibs-3.5.13-fix_tdesu_internal_pathing.patch b/redhat/kdelibs/kdelibs-3.5.13-fix_tdesu_internal_pathing.patch deleted file mode 100644 index deb93afaa..000000000 --- a/redhat/kdelibs/kdelibs-3.5.13-fix_tdesu_internal_pathing.patch +++ /dev/null @@ -1,33 +0,0 @@ -commit e131f10b84dbec07ad49d36c192777a72189a39e -Author: Timothy Pearson -Date: 1329026747 -0600 - - Fix tdesu internal pathing - This closes Bug 766 - -diff --git a/tdesu/stub.cpp b/tdesu/stub.cpp -index 7f083d7..5b222f5 100644 ---- a/kdesu/stub.cpp -+++ b/kdesu/stub.cpp -@@ -121,11 +121,16 @@ int StubProcess::ConverseStub(int check) - TQCString path = getenv("PATH"); - if (!path.isEmpty() && path[0] == ':') - path = path.mid(1); -- if (m_User == "root") -- if (!path.isEmpty()) -- path = "/sbin:/bin:/usr/sbin:/usr/bin:" + path; -- else -- path = "/sbin:/bin:/usr/sbin:/usr/bin"; -+ if (m_User == "root") -+ if (!path.isEmpty()) -+ path = "/usr/local/sbin:/usr/sbin:/sbin:" + path; -+ else -+ if (strcmp(__KDE_BINDIR, "/usr/bin") == 0) { -+ path = "/usr/local/sbin:/usr/sbin:/sbin:/usr/local/bin:/usr/bin:/bin"; -+ } -+ else { -+ path = "/usr/local/sbin:/usr/sbin:/sbin:/usr/local/bin:" __KDE_BINDIR ":/usr/bin:/bin"; -+ } - writeLine(path); - } else if (line == "user") { - writeLine(m_User); -- cgit v1.2.1