forked from gentoo/gentoo
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
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 <[email protected]> Closes: gentoo#16499 Signed-off-by: Aaron Bauman <[email protected]>
- Loading branch information
1 parent
c1d5ed4
commit 21c3d9b
Showing
3 changed files
with
43 additions
and
11 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
From 86b0bb9144186d51ea9b898905111bd8b143b552 Mon Sep 17 00:00:00 2001 | ||
From: "Azamat H. Hackimov" <[email protected]> | ||
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 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters