summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJakov Smolic <jakov.smolic@sartura.hr>2020-12-28 15:47:55 +0100
committerDavid Seifert <soap@gentoo.org>2020-12-28 15:47:55 +0100
commit8992197e6efcd3a4265fa02137609745f2c714b3 (patch)
tree3774fadecfe107e9c9935ee700d52063e8e77c9d /media-gfx/freewrl
parentmail-filter/sigh: Port to EAPI 7 and GLEP 81 (diff)
downloadgentoo-8992197e6efcd3a4265fa02137609745f2c714b3.tar.gz
gentoo-8992197e6efcd3a4265fa02137609745f2c714b3.tar.bz2
gentoo-8992197e6efcd3a4265fa02137609745f2c714b3.zip
media-gfx/freewrl: Fix build with gcc-10
Closes: https://bugs.gentoo.org/712176 Package-Manager: Portage-3.0.9, Repoman-3.0.1 Signed-off-by: Jakov Smolic <jakov.smolic@sartura.hr> Signed-off-by: David Seifert <soap@gentoo.org>
Diffstat (limited to 'media-gfx/freewrl')
-rw-r--r--media-gfx/freewrl/files/freewrl-3.0.0-fno-common.patch11
-rw-r--r--media-gfx/freewrl/freewrl-3.0.0-r1.ebuild3
2 files changed, 13 insertions, 1 deletions
diff --git a/media-gfx/freewrl/files/freewrl-3.0.0-fno-common.patch b/media-gfx/freewrl/files/freewrl-3.0.0-fno-common.patch
new file mode 100644
index 000000000000..e3fbc2d736e5
--- /dev/null
+++ b/media-gfx/freewrl/files/freewrl-3.0.0-fno-common.patch
@@ -0,0 +1,11 @@
+--- a/src/lib/desktop.c
++++ b/src/lib/desktop.c
+@@ -233,7 +233,7 @@ enum {
+ url2file_task_spawn,
+ } url2file_task_tactic;
+
+-enum {
++typedef enum {
+ file2blob_task_chain,
+ file2blob_task_spawn,
+ file2blob_task_enqueue,
diff --git a/media-gfx/freewrl/freewrl-3.0.0-r1.ebuild b/media-gfx/freewrl/freewrl-3.0.0-r1.ebuild
index 5ff59f6d8e1d..7f33a3b42a41 100644
--- a/media-gfx/freewrl/freewrl-3.0.0-r1.ebuild
+++ b/media-gfx/freewrl/freewrl-3.0.0-r1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2017 Gentoo Foundation
+# Copyright 1999-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=5
@@ -57,6 +57,7 @@ RDEPEND="${COMMONDEPEND}
src_prepare() {
epatch_user
+ epatch "${FILESDIR}"/${P}-fno-common.patch
eautoreconf
}