summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'x11-misc/ktsuss/files/ktsuss-2.1-no-which.patch')
-rw-r--r--x11-misc/ktsuss/files/ktsuss-2.1-no-which.patch13
1 files changed, 13 insertions, 0 deletions
diff --git a/x11-misc/ktsuss/files/ktsuss-2.1-no-which.patch b/x11-misc/ktsuss/files/ktsuss-2.1-no-which.patch
new file mode 100644
index 000000000000..12909025c18c
--- /dev/null
+++ b/x11-misc/ktsuss/files/ktsuss-2.1-no-which.patch
@@ -0,0 +1,13 @@
+https://bugs.gentoo.org/781185
+--- a/configure.ac
++++ b/configure.ac
+@@ -25,3 +25,3 @@
+ AC_MSG_CHECKING([whether we can locate the su program])
+- supath=`which su 2>/dev/null`
++ supath=`command -v su 2>/dev/null`
+ if test "x$supath" = "x"; then
+@@ -36,3 +36,3 @@
+ AC_MSG_CHECKING([whether we can locate the sudo program])
+- sudopath=`which sudo 2>/dev/null`
++ sudopath=`command -v sudo 2>/dev/null`
+ if test "x$sudopath" = "x"; then