From 00eeb10af78687b684228e84233ca5c92558c020 Mon Sep 17 00:00:00 2001 From: Marek Szuba Date: Mon, 12 Oct 2020 14:05:39 +0200 Subject: dev-libs/intel-neo: remove -Werror from compiler flags Closes: https://bugs.gentoo.org/747580 Signed-off-by: Marek Szuba --- dev-libs/intel-neo/files/intel-neo-20.37.17906-no_Werror.patch | 10 ++++++++++ dev-libs/intel-neo/intel-neo-20.37.17906.ebuild | 4 ++++ 2 files changed, 14 insertions(+) create mode 100644 dev-libs/intel-neo/files/intel-neo-20.37.17906-no_Werror.patch (limited to 'dev-libs') 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 -- cgit v1.2.3-65-gdbad