commit: 00eeb10af78687b684228e84233ca5c92558c020 Author: Marek Szuba <marecki <AT> gentoo <DOT> org> AuthorDate: Mon Oct 12 12:05:39 2020 +0000 Commit: Marek Szuba <marecki <AT> gentoo <DOT> org> CommitDate: Mon Oct 12 12:07:35 2020 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=00eeb10a
dev-libs/intel-neo: remove -Werror from compiler flags Closes: https://bugs.gentoo.org/747580 Signed-off-by: Marek Szuba <marecki <AT> gentoo.org> 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(+) 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 00000000000..aaa34012096 --- /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 d5b0ed670f8..73c9118afb5 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