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.
Closes: https://bugs.gentoo.org/709976 Package-Manager: Portage-2.3.96, Repoman-2.3.21 Signed-off-by: Adam Feldman <[email protected]>
- Loading branch information
1 parent
a305a50
commit 106aa6e
Showing
2 changed files
with
41 additions
and
0 deletions.
There are no files selected for viewing
37 changes: 37 additions & 0 deletions
37
mate-extra/mate-utils/files/mate-utils-1.22.2-gcc-10-fno-common.patch
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,37 @@ | ||
From d2d4902a68b8eabf4dc26a8ba49019e5ea6040c6 Mon Sep 17 00:00:00 2001 | ||
From: rbuj <[email protected]> | ||
Date: Wed, 29 Jan 2020 16:22:09 +0100 | ||
Subject: [PATCH] Fix build using gcc 10 -fno-common flag | ||
|
||
Closes #258 | ||
--- | ||
baobab/src/baobab.c | 2 ++ | ||
baobab/src/baobab.h | 2 +- | ||
2 files changed, 3 insertions(+), 1 deletion(-) | ||
|
||
diff --git a/baobab/src/baobab.c b/baobab/src/baobab.c | ||
index 07af1a1d..d4edde1f 100644 | ||
--- a/baobab/src/baobab.c | ||
+++ b/baobab/src/baobab.c | ||
@@ -42,6 +42,8 @@ | ||
static void push_iter_in_stack (GtkTreeIter *); | ||
static GtkTreeIter pop_iter_from_stack (void); | ||
|
||
+BaobabApplication baobab; | ||
+ | ||
static gint currentdepth = 0; | ||
static GtkTreeIter currentiter; | ||
static GtkTreeIter firstiter; | ||
diff --git a/baobab/src/baobab.h b/baobab/src/baobab.h | ||
index b8d01817..76b22d6a 100644 | ||
--- a/baobab/src/baobab.h | ||
+++ b/baobab/src/baobab.h | ||
@@ -99,7 +99,7 @@ struct _BaobabApplication { | ||
}; | ||
|
||
/* Application singleton */ | ||
-BaobabApplication baobab; | ||
+extern BaobabApplication baobab; | ||
|
||
struct chan_data { | ||
guint64 size; |
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