summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
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
}