mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-24 04:59:14 -07:00
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>
This commit is contained in:
20
x11-libs/libGLw/files/libGLw-8.0.0-gcc10-fno-common.patch
Normal file
20
x11-libs/libGLw/files/libGLw-8.0.0-gcc10-fno-common.patch
Normal file
@@ -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
|
||||
@@ -1,4 +1,4 @@
|
||||
# Copyright 1999-2019 Gentoo Authors
|
||||
# Copyright 1999-2020 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
@@ -25,6 +25,8 @@ BDEPEND="virtual/pkgconfig"
|
||||
|
||||
S="${WORKDIR}/${MY_P}"
|
||||
|
||||
PATCHES=( "${FILESDIR}"/${P}-gcc10-fno-common.patch )
|
||||
|
||||
src_configure() {
|
||||
econf \
|
||||
--disable-static \
|
||||
Reference in New Issue
Block a user