[Slackbuilds-users] libgksu on x86_64 (Slackware64 14.1)

mancha mancha1 at hush.com
Thu Feb 13 22:22:20 UTC 2014

Hi Stylianos.

Based on a report on LQ, I discovered an issue with SBo's libgksu
when built on x86_64 (i.e. Slackware64 14.1).

The SBo libgksu package places gksu-run-helper under /usr/lib64
but the library hard-codes its search path as /usr/lib.

The end result is gksu fails when it tries to run the run-helper
because /usr/lib/libgksu/gksu-run-helper doesn't exist.

The attached patch along with the edit to the SlackBuild below
will remedy things.



--- libgksu.SlackBuild.SBo
+++ libgksu.SlackBuild
@@ -79,6 +79,11 @@ patch -p0 < $CWD/patches/libgksu-2.0.12-
 patch -p1 < $CWD/patches/libgksu-2.0.12-notests.patch
 patch -p1 < $CWD/patches/libgksu-2.0.12-automake-1.11.2.patch
+# Patch from mancha
+if [ "$ARCH" = "x86_64" ]; then
+  patch -p1 < $CWD/patches/libgksu-2.0.12-x86_64-path.diff
 libtoolize --force --copy --install
-------------- next part --------------
A non-text attachment was scrubbed...
Name: libgksu-2.0.12-x86_64-path.diff
Type: application/octet-stream
Size: 680 bytes
Desc: not available
URL: <http://lists.slackbuilds.org/pipermail/slackbuilds-users/attachments/20140213/b2d0b1ab/attachment-0001.obj>

More information about the SlackBuilds-users mailing list