-
Notifications
You must be signed in to change notification settings - Fork 20
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
media-plugins/sorcer: Fix compilation with GCC 9
- Loading branch information
1 parent
6307a22
commit 07ba702
Showing
2 changed files
with
36 additions
and
0 deletions.
There are no files selected for viewing
34 changes: 34 additions & 0 deletions
34
media-plugins/sorcer/files/sorcer-gcc-9-remove-leading-underscore.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,34 @@ | ||
From 872c11e1f289b43a50a7aa1eed550fac59a8957c Mon Sep 17 00:00:00 2001 | ||
From: Simon van der Veldt <[email protected]> | ||
Date: Tue, 18 Aug 2020 17:43:03 +0200 | ||
Subject: [PATCH] Remove leading underscore to fix compilation with gcc-9.3.0 | ||
|
||
--- | ||
gui/sorcer_ui.cxx | 6 +++--- | ||
1 file changed, 3 insertions(+), 3 deletions(-) | ||
|
||
diff --git a/gui/sorcer_ui.cxx b/gui/sorcer_ui.cxx | ||
index 60edbe4..f0afd06 100644 | ||
--- a/gui/sorcer_ui.cxx | ||
+++ b/gui/sorcer_ui.cxx | ||
@@ -37,14 +37,14 @@ using namespace std; | ||
|
||
typedef struct { | ||
SorcerUI* widget; | ||
- | ||
+ | ||
float sidechainAmp; | ||
- | ||
+ | ||
LV2UI_Write_Function write_function; | ||
LV2UI_Controller controller; | ||
} SorcerGUI; | ||
|
||
-static LV2UI_Handle instantiate(const struct _LV2UI_Descriptor * descriptor, | ||
+static LV2UI_Handle instantiate(const struct LV2UI_Descriptor * descriptor, | ||
const char * plugin_uri, | ||
const char * bundle_path, | ||
LV2UI_Write_Function write_function, | ||
-- | ||
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