From: Patrick McLean Date: Fri, 17 Apr 2020 22:16:33 +0000 (-0700) Subject: dev-libs/libfido2-1.3.1: Drop -Werror (bug #717952) X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=b8dbca2ef7ab9dab03a51e2d99f92743d7b5b86e;p=gentoo.git dev-libs/libfido2-1.3.1: Drop -Werror (bug #717952) Closes: https://bugs.gentoo.org/717952 Copyright: Sony Interactive Entertainment Inc. Package-Manager: Portage-2.3.99, Repoman-2.3.22 Signed-off-by: Patrick McLean --- diff --git a/dev-libs/libfido2/files/libfido2-1.3.1-no-werror.patch b/dev-libs/libfido2/files/libfido2-1.3.1-no-werror.patch new file mode 100644 index 000000000000..d2ebc1a54a1b --- /dev/null +++ b/dev-libs/libfido2/files/libfido2-1.3.1-no-werror.patch @@ -0,0 +1,18 @@ +diff --git a/CMakeLists.txt b/CMakeLists.txt +index 9481c46..b347fab 100644 +--- a/CMakeLists.txt ++++ b/CMakeLists.txt +@@ -107,13 +107,11 @@ else() + + set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -Wall") + set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -Wextra") +- set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -Werror") + set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -Wshadow") + set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -Wwrite-strings") + set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -Wmissing-prototypes") + set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -Wbad-function-cast") + set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -pedantic") +- set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -pedantic-errors") + set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -fstack-protector-all") + set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -std=c99") + diff --git a/dev-libs/libfido2/libfido2-1.3.1.ebuild b/dev-libs/libfido2/libfido2-1.3.1.ebuild index bd76b0619811..eb279f392c54 100644 --- a/dev-libs/libfido2/libfido2-1.3.1.ebuild +++ b/dev-libs/libfido2/libfido2-1.3.1.ebuild @@ -24,6 +24,7 @@ RDEPEND="${DEPEND}" PATCHES=( "${FILESDIR}/libfido2-1.3.0-cmakelists.patch" + "${FILESDIR}/libfido2-1.3.1-no-werror.patch" ) pkg_pretend() {