summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAzamat H. Hackimov <azamat.hackimov@gmail.com>2020-06-30 00:38:48 +0300
committerAaron Bauman <bman@gentoo.org>2020-11-28 12:46:40 -0500
commit21c3d9ba810ae35fe90b7a5c5ba0ebdb6b502f70 (patch)
tree75184d496c7bfa24efe805354b25bfa3102cbcce /app-misc/rox-filer/files
parentdev-util/dropwatch: drop old (diff)
downloadgentoo-21c3d9ba810ae35fe90b7a5c5ba0ebdb6b502f70.tar.gz
gentoo-21c3d9ba810ae35fe90b7a5c5ba0ebdb6b502f70.tar.bz2
gentoo-21c3d9ba810ae35fe90b7a5c5ba0ebdb6b502f70.zip
app-misc/rox-filer: fix compilation with GCC10
Updated ebuild to EAPI7, fixed compilation with -fno-common. Closes: https://bugs.gentoo.org/710330 Package-Manager: Portage-2.3.99, Repoman-2.3.23 Signed-off-by: Azamat H. Hackimov <azamat.hackimov@gmail.com> Closes: https://github.com/gentoo/gentoo/pull/16499 Signed-off-by: Aaron Bauman <bman@gentoo.org>
Diffstat (limited to 'app-misc/rox-filer/files')
-rw-r--r--app-misc/rox-filer/files/rox-filer-2.11-gcc10.patch27
1 files changed, 27 insertions, 0 deletions
diff --git a/app-misc/rox-filer/files/rox-filer-2.11-gcc10.patch b/app-misc/rox-filer/files/rox-filer-2.11-gcc10.patch
new file mode 100644
index 000000000000..d969757eb7da
--- /dev/null
+++ b/app-misc/rox-filer/files/rox-filer-2.11-gcc10.patch
@@ -0,0 +1,27 @@
+From 86b0bb9144186d51ea9b898905111bd8b143b552 Mon Sep 17 00:00:00 2001
+From: "Azamat H. Hackimov" <azamat.hackimov@gmail.com>
+Date: Tue, 30 Jun 2020 00:22:06 +0300
+Subject: [PATCH] Fix compilation with GCC10
+
+Fixed compilation when -fno-common enabled (in GCC10 by default). See
+https://bugs.gentoo.org/710330.
+---
+ ROX-Filer/src/session.h | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/session.h b/session.h
+index 7734996a..31341bc4 100644
+--- a/session.h
++++ b/session.h
+@@ -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);
+
+--
+2.26.2
+