summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPatrick McLean <patrick.mclean@sony.com>2020-04-17 15:16:33 -0700
committerPatrick McLean <chutzpah@gentoo.org>2020-04-17 15:17:05 -0700
commitb8dbca2ef7ab9dab03a51e2d99f92743d7b5b86e (patch)
treef4708f6c554ea2a23c0898c0ae3ce6831733af83 /dev-libs/libfido2
parentdev-libs/libfido2-1.4.0: Version bump, remove Werror (bug #717952) (diff)
downloadgentoo-b8dbca2ef7ab9dab03a51e2d99f92743d7b5b86e.tar.gz
gentoo-b8dbca2ef7ab9dab03a51e2d99f92743d7b5b86e.tar.bz2
gentoo-b8dbca2ef7ab9dab03a51e2d99f92743d7b5b86e.zip
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 <chutzpah@gentoo.org>
Diffstat (limited to 'dev-libs/libfido2')
-rw-r--r--dev-libs/libfido2/files/libfido2-1.3.1-no-werror.patch18
-rw-r--r--dev-libs/libfido2/libfido2-1.3.1.ebuild1
2 files changed, 19 insertions, 0 deletions
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() {