summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Seifert <soap@gentoo.org>2021-08-14 01:24:01 +0200
committerDavid Seifert <soap@gentoo.org>2021-08-14 01:24:01 +0200
commitdea923aa48ca7c97492b24780c374a0181cb5273 (patch)
treec5963edc3e6837e431926fea7725425c6d25e68b /sys-apps/roccat-tools
parentnet-p2p/litecoind: block >=dev-libs/leveldb-1.23 (diff)
downloadgentoo-dea923aa48ca7c97492b24780c374a0181cb5273.tar.gz
gentoo-dea923aa48ca7c97492b24780c374a0181cb5273.tar.bz2
gentoo-dea923aa48ca7c97492b24780c374a0181cb5273.zip
sys-apps/roccat-tools: fix -fno-common / GCC 10
Closes: https://bugs.gentoo.org/776571 Signed-off-by: David Seifert <soap@gentoo.org>
Diffstat (limited to 'sys-apps/roccat-tools')
-rw-r--r--sys-apps/roccat-tools/files/roccat-tools-5.9.0-fno-common.patch11
-rw-r--r--sys-apps/roccat-tools/roccat-tools-5.9.0-r101.ebuild1
2 files changed, 12 insertions, 0 deletions
diff --git a/sys-apps/roccat-tools/files/roccat-tools-5.9.0-fno-common.patch b/sys-apps/roccat-tools/files/roccat-tools-5.9.0-fno-common.patch
new file mode 100644
index 000000000000..ba37866efe77
--- /dev/null
+++ b/sys-apps/roccat-tools/files/roccat-tools-5.9.0-fno-common.patch
@@ -0,0 +1,11 @@
+--- a/ryosmk/libroccatryosmk/ryos_device.h
++++ b/ryosmk/libroccatryosmk/ryos_device.h
+@@ -22,7 +22,7 @@
+
+ G_BEGIN_DECLS
+
+-enum {
++typedef enum {
+ RYOS_WRITE_CHECK_WAIT_LIGHT_CONTROL = 10,
+ } RyosWriteCheckWait;
+
diff --git a/sys-apps/roccat-tools/roccat-tools-5.9.0-r101.ebuild b/sys-apps/roccat-tools/roccat-tools-5.9.0-r101.ebuild
index ee1371ca60cb..84bfb0cbab3f 100644
--- a/sys-apps/roccat-tools/roccat-tools-5.9.0-r101.ebuild
+++ b/sys-apps/roccat-tools/roccat-tools-5.9.0-r101.ebuild
@@ -75,6 +75,7 @@ BDEPEND="
PATCHES=(
"${FILESDIR}"/${PN}-5.9.0-cmake_lua_impl.patch
+ "${FILESDIR}"/${PN}-5.9.0-fno-common.patch
)
DOCS=( Changelog KNOWN_LIMITATIONS README )