summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarek Szuba <marecki@gentoo.org>2020-10-12 14:05:39 +0200
committerMarek Szuba <marecki@gentoo.org>2020-10-12 14:07:35 +0200
commit00eeb10af78687b684228e84233ca5c92558c020 (patch)
tree6a1c220ee92f9495c1ad68fe412435be4fbd63c0 /dev-libs/intel-neo
parentsci-geosciences/qgis: x86 stable wrt bug #747694 (diff)
downloadgentoo-00eeb10af78687b684228e84233ca5c92558c020.tar.gz
gentoo-00eeb10af78687b684228e84233ca5c92558c020.tar.bz2
gentoo-00eeb10af78687b684228e84233ca5c92558c020.zip
dev-libs/intel-neo: remove -Werror from compiler flags
Closes: https://bugs.gentoo.org/747580 Signed-off-by: Marek Szuba <marecki@gentoo.org>
Diffstat (limited to 'dev-libs/intel-neo')
-rw-r--r--dev-libs/intel-neo/files/intel-neo-20.37.17906-no_Werror.patch10
-rw-r--r--dev-libs/intel-neo/intel-neo-20.37.17906.ebuild4
2 files changed, 14 insertions, 0 deletions
diff --git a/dev-libs/intel-neo/files/intel-neo-20.37.17906-no_Werror.patch b/dev-libs/intel-neo/files/intel-neo-20.37.17906-no_Werror.patch
new file mode 100644
index 000000000000..aaa34012096d
--- /dev/null
+++ b/dev-libs/intel-neo/files/intel-neo-20.37.17906-no_Werror.patch
@@ -0,0 +1,10 @@
+--- a/CMakeLists.txt
++++ b/CMakeLists.txt
+@@ -801,7 +801,6 @@
+ set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wno-noexcept-type") # Added for gtest
+ endif()
+ endif()
+- set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Werror")
+ endif()
+
+ # Compile code with defenses enabled (settings to be used for production release code)
diff --git a/dev-libs/intel-neo/intel-neo-20.37.17906.ebuild b/dev-libs/intel-neo/intel-neo-20.37.17906.ebuild
index d5b0ed670f89..73c9118afb5f 100644
--- a/dev-libs/intel-neo/intel-neo-20.37.17906.ebuild
+++ b/dev-libs/intel-neo/intel-neo-20.37.17906.ebuild
@@ -30,6 +30,10 @@ DEPEND="${COMMON}
media-libs/mesa" # for Khronos OpenGL headers
RDEPEND="${COMMON}"
+PATCHES=(
+ "${FILESDIR}"/${PN}-20.37.17906-no_Werror.patch
+)
+
DOCS=(
README.md
FAQ.md