summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarek Szuba <marecki@gentoo.org>2020-10-15 16:19:31 +0200
committerMarek Szuba <marecki@gentoo.org>2020-10-15 16:19:31 +0200
commit2cbe4d3d2f240b4d74b518b3137684d8b2b599f6 (patch)
tree581dcb2c64e959881145d61cd59cac42ad2af202 /sys-auth/yubico-piv-tool/files
parentsys-auth/yubico-piv-tool: remove old (diff)
downloadgentoo-2cbe4d3d2f240b4d74b518b3137684d8b2b599f6.tar.gz
gentoo-2cbe4d3d2f240b4d74b518b3137684d8b2b599f6.tar.bz2
gentoo-2cbe4d3d2f240b4d74b518b3137684d8b2b599f6.zip
sys-auth/yubico-piv-tool: remove -Werror from compiler flags
Closes: https://bugs.gentoo.org/749165 Signed-off-by: Marek Szuba <marecki@gentoo.org>
Diffstat (limited to 'sys-auth/yubico-piv-tool/files')
-rw-r--r--sys-auth/yubico-piv-tool/files/yubico-piv-tool-2.1.1-no-Werror.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/sys-auth/yubico-piv-tool/files/yubico-piv-tool-2.1.1-no-Werror.patch b/sys-auth/yubico-piv-tool/files/yubico-piv-tool-2.1.1-no-Werror.patch
new file mode 100644
index 000000000000..a177395bc751
--- /dev/null
+++ b/sys-auth/yubico-piv-tool/files/yubico-piv-tool-2.1.1-no-Werror.patch
@@ -0,0 +1,11 @@
+--- a/CMakeLists.txt
++++ b/CMakeLists.txt
+@@ -97,7 +97,7 @@
+ find_package (PkgConfig REQUIRED)
+
+ set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -w") # -g -O2
+- set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -Wall -Wextra -Werror")
++ set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -Wall -Wextra")
+ 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")