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-arch/file-roller: Fix compiling against GCC 10
Bug: https://bugs.gentoo.org/706728 Package-Manager: Portage-2.3.89, Repoman-2.3.20 Signed-off-by: David Seifert <[email protected]>
- Loading branch information
1 parent
7d5eacf
commit 7b84a66
Showing
2 changed files
with
32 additions
and
0 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
27 changes: 27 additions & 0 deletions
27
app-arch/file-roller/files/file-roller-3.32.4-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,27 @@ | ||
From 55fa0fb287e7fb7cee336cac0a6c1a94e505dc84 Mon Sep 17 00:00:00 2001 | ||
From: David Seifert <[email protected]> | ||
Date: Wed, 19 Feb 2020 13:18:18 +0100 | ||
Subject: [PATCH] Fix compiling with GCC 10 | ||
|
||
* GCC 10 defaults to `-fno-common`. | ||
|
||
Bug: https://bugs.gentoo.org/706728 | ||
--- | ||
src/fr-application.c | 1 - | ||
1 file changed, 1 deletion(-) | ||
|
||
diff --git a/src/fr-application.c b/src/fr-application.c | ||
index c148c4f9..00ebe552 100644 | ||
--- a/src/fr-application.c | ||
+++ b/src/fr-application.c | ||
@@ -42,7 +42,6 @@ | ||
#define SERVICE_TIMEOUT 10 | ||
|
||
|
||
-gint ForceDirectoryCreation; | ||
static char **remaining_args; | ||
static char *arg_add_to = NULL; | ||
static int arg_add = FALSE; | ||
-- | ||
2.25.1 | ||
|