diff options
Diffstat (limited to 'x11-libs/libGLw')
-rw-r--r-- | x11-libs/libGLw/Manifest | 3 | ||||
-rw-r--r-- | x11-libs/libGLw/files/libGLw-8.0.0-gcc10-fno-common.patch | 20 | ||||
-rw-r--r-- | x11-libs/libGLw/libGLw-8.0.0-r1.ebuild (renamed from x11-libs/libGLw/libGLw-8.0.0.ebuild) | 5 |
3 files changed, 25 insertions, 3 deletions
diff --git a/x11-libs/libGLw/Manifest b/x11-libs/libGLw/Manifest index 5761ac4d7b7c..867222d6c083 100644 --- a/x11-libs/libGLw/Manifest +++ b/x11-libs/libGLw/Manifest @@ -1,3 +1,4 @@ +AUX libGLw-8.0.0-gcc10-fno-common.patch 558 BLAKE2B 901d7fc3b61eb6b50f09c2318d0dcefb3a3551d85f2c0d239f3d69c8e15a7360a4e1628370d13c0810ce380c1f8da9d5887917a131d0055956b0286018488e35 SHA512 d44de8dd3ed9648122fc5661137d6990772595213cdf5fccba6c191eeca20234fb05b97b86c8249208f3c5a978ab677c18d01b4d39da94333d8cd36ef21340da DIST glw-8.0.0.tar.bz2 221136 BLAKE2B fcbd1fa99da4fa5d45b0ec14af1a9798c53ad13adfa6e2fb46b45a214397b7a7d11186f2efa2f64cddd589fba9c24280825bca11163eba8fd4149fbfefd822e9 SHA512 09e1352edb16a9a34b9031996c2a1545d69dc690d7eda10a1aad6a7ad9ef0576d0af8a1b7740dba47f9647b7c957c1d7a078b38747d2d2c28ea39314a0e53587 -EBUILD libGLw-8.0.0.ebuild 699 BLAKE2B f11b2beba45aae0307eaae5a47f14b5ecfff72e24845f247fc3d1f50a1abbc7397bddf53a33cde57b0938966341f49e029444eb85081389700d655c7ee4cc72b SHA512 6c9dcbf09f1845f5693fa762ed23e05ed4fd35b8b504e8ee482c11e150b797b30665b6c73b146536d5fc297883ea8822baedb4c0a85c31d1b3ba48a66bf1226b +EBUILD libGLw-8.0.0-r1.ebuild 729 BLAKE2B a5fd5b4b47816d1b51de4c4ad390d47fd142c8ccdb0760946ac863c3134322421fdc3ac19516b3fbca3236cc5c8dd79ad39fadacaab9e9aaaa60ed2fdd0d49c1 SHA512 018636a3b405792ea4e3c8a19d2e860a44f40c7e1ee4fd1d4d4907cc7ce6714e96530c26c99a89b37656ab9bb08dfe7b6ad8a973e6d79e8a4dde2d2c1f3b6e87 MISC metadata.xml 310 BLAKE2B 6cd072bd58e5525e3e31fecd7d823e85498858e9109ff94707a21aa801697d59f21cc1ba8d477511a14bdc1d10238bdb34da1402c1b431ad25b52b2adcdd96f6 SHA512 797bbd05193951c317b30062db58f04f950889b9c5b31d1e3338142c9ea826d10e2f4c6d55fd076bb9c409239667bf3bf9f7ccec3c7c5d4aedf9187619ee1196 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 diff --git a/x11-libs/libGLw/libGLw-8.0.0.ebuild b/x11-libs/libGLw/libGLw-8.0.0-r1.ebuild index 94fc2c6d16f3..6be3bab29d6b 100644 --- a/x11-libs/libGLw/libGLw-8.0.0.ebuild +++ b/x11-libs/libGLw/libGLw-8.0.0-r1.ebuild @@ -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 @@ -15,7 +15,6 @@ KEYWORDS="amd64 ppc ~ppc64 x86 ~amd64-linux ~x86-linux" IUSE="+motif" RDEPEND=" - !media-libs/mesa[motif] x11-libs/libX11 x11-libs/libXt x11-libs/motif:0 @@ -25,6 +24,8 @@ BDEPEND="virtual/pkgconfig" S="${WORKDIR}/${MY_P}" +PATCHES=( "${FILESDIR}"/${P}-gcc10-fno-common.patch ) + src_configure() { econf \ --disable-static \ |