summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Seifert <soap@gentoo.org>2020-02-10 13:52:31 +0100
committerDavid Seifert <soap@gentoo.org>2020-02-10 13:52:31 +0100
commit377d3d80573bdb60ce7e5aa01809f012ee9e233d (patch)
tree778aa0efbad92fbb225c4b684d7db7a667df46d3 /x11-libs/libGLw/files
parentapp-text/texlive-core: Drop old (diff)
downloadgentoo-377d3d80573bdb60ce7e5aa01809f012ee9e233d.tar.gz
gentoo-377d3d80573bdb60ce7e5aa01809f012ee9e233d.tar.bz2
gentoo-377d3d80573bdb60ce7e5aa01809f012ee9e233d.zip
x11-libs/libGLw: Fix for -fno-common
Closes: https://bugs.gentoo.org/706600 Package-Manager: Portage-2.3.88, Repoman-2.3.20 Signed-off-by: David Seifert <soap@gentoo.org>
Diffstat (limited to 'x11-libs/libGLw/files')
-rw-r--r--x11-libs/libGLw/files/libGLw-8.0.0-gcc10-fno-common.patch20
1 files changed, 20 insertions, 0 deletions
diff --git a/x11-libs/libGLw/files/libGLw-8.0.0-gcc10-fno-common.patch b/x11-libs/libGLw/files/libGLw-8.0.0-gcc10-fno-common.patch
new file mode 100644
index 000000000000..ad0253270937
--- /dev/null
+++ b/x11-libs/libGLw/files/libGLw-8.0.0-gcc10-fno-common.patch
@@ -0,0 +1,20 @@
+--- a/GLwDrawA.h
++++ b/GLwDrawA.h
+@@ -136,7 +136,7 @@
+ typedef struct _GLwMDrawingAreaClassRec *GLwMDrawingAreaWidgetClass;
+ typedef struct _GLwMDrawingAreaRec *GLwMDrawingAreaWidget;
+
+-GLAPI WidgetClass glwMDrawingAreaWidgetClass;
++extern GLAPI WidgetClass glwMDrawingAreaWidgetClass;
+
+
+ #else
+@@ -144,7 +144,7 @@
+ typedef struct _GLwDrawingAreaClassRec *GLwDrawingAreaWidgetClass;
+ typedef struct _GLwDrawingAreaRec *GLwDrawingAreaWidget;
+
+-GLAPI WidgetClass glwDrawingAreaWidgetClass;
++extern GLAPI WidgetClass glwDrawingAreaWidgetClass;
+
+
+ #endif