summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEmmanuel N. Millan <emmanueln@gmail.com>2021-03-19 00:44:40 +0000
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2021-03-20 11:00:44 +0700
commit7ff619ef5f642be6ed0e4466fe941f2382f7a87e (patch)
treef6eceff7efc5daae99677a35988d1eb7388f5513
parent7ea27621db87d179d0271d823391f88d763f0cbf (diff)
downloadslackbuilds-7ff619ef5f642be6ed0e4466fe941f2382f7a87e.tar.gz
system/rox-filer: Patch added.
Signed-off-by: Dave Woodfall <dave@slackbuilds.org> Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
-rw-r--r--system/rox-filer/rox-filer.SlackBuild3
-rw-r--r--system/rox-filer/session_auto_respawn.diff11
2 files changed, 13 insertions, 1 deletions
diff --git a/system/rox-filer/rox-filer.SlackBuild b/system/rox-filer/rox-filer.SlackBuild
index b5ae022667..858f57f768 100644
--- a/system/rox-filer/rox-filer.SlackBuild
+++ b/system/rox-filer/rox-filer.SlackBuild
@@ -6,7 +6,7 @@
PRGNAM=rox-filer
VERSION=${VERSION:-2.11}
-BUILD=${BUILD:-2}
+BUILD=${BUILD:-3}
TAG=${TAG:-_SBo}
if [ -z "$ARCH" ]; then
@@ -44,6 +44,7 @@ cd $TMP
rm -rf $PRGNAM-$VERSION
tar xvf $CWD/$PRGNAM-$VERSION.tar.bz2
cd $PRGNAM-$VERSION
+patch -p0 < $CWD/session_auto_respawn.diff
chown -R root:root .
find -L . \
\( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 -o -perm 511 \) \
diff --git a/system/rox-filer/session_auto_respawn.diff b/system/rox-filer/session_auto_respawn.diff
new file mode 100644
index 0000000000..0ade6b556b
--- /dev/null
+++ b/system/rox-filer/session_auto_respawn.diff
@@ -0,0 +1,11 @@
+--- ROX-Filer/src/session.h~ 2011-10-09 16:31:59.000000000 +0200
++++ ROX-Filer/src/session.h 2020-12-17 11:11:19.302291214 +0100
+@@ -10,7 +10,7 @@
+ #include <gtk/gtk.h>
+ #include <X11/SM/SMlib.h>
+
+-gboolean session_auto_respawn;
++extern gboolean session_auto_respawn;
+
+ void session_init(const gchar *client_id);
+