summaryrefslogtreecommitdiff
path: root/libraries/libgksu/patches
diff options
context:
space:
mode:
authormancha <mancha1@hush.com>2014-02-14 10:33:59 +0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2014-02-15 16:50:09 +0700
commit146191edd7d66882d2602c5a69291874ef6a67e2 (patch)
tree45f8aff53ffd31cd324e34ce02b89e2e1b84e51c /libraries/libgksu/patches
parent151bb0dba258eb7708fe1f556d69c18434cc0ba7 (diff)
downloadslackbuilds-146191edd7d66882d2602c5a69291874ef6a67e2.tar.gz
libraries/libgksu: Fixed helper path on x86_64 + Compress manual.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'libraries/libgksu/patches')
-rw-r--r--libraries/libgksu/patches/libgksu-2.0.12-x86_64-path.diff22
1 files changed, 22 insertions, 0 deletions
diff --git a/libraries/libgksu/patches/libgksu-2.0.12-x86_64-path.diff b/libraries/libgksu/patches/libgksu-2.0.12-x86_64-path.diff
new file mode 100644
index 0000000000..35f578f7d3
--- /dev/null
+++ b/libraries/libgksu/patches/libgksu-2.0.12-x86_64-path.diff
@@ -0,0 +1,22 @@
+From 803667f7c8a8610b270ea0a50df9562b3e11025c Mon Sep 17 00:00:00 2001
+From: mancha <mancha1@hush.com>
+Date: Thu, 13 Feb 2014
+Subject: Change hardcoded path for helper
+
+SBo installs gksu-run-helper under /usr/lib64 for x86_64 systems.
+This patch changes the hard-coded path so it is found.
+
+ libgksu/libgksu.c | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+--- a/libgksu/libgksu.c
++++ b/libgksu/libgksu.c
+@@ -1936,7 +1936,7 @@ gksu_su_fuller (GksuContext *context,
+ GQuark gksu_quark;
+ int i = 0;
+
+- gchar auxcommand[] = PREFIX "/lib/" PACKAGE "/gksu-run-helper";
++ gchar auxcommand[] = PREFIX "/lib64/" PACKAGE "/gksu-run-helper";
+
+ int fdpty;
+ pid_t pid;