public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Marek Szuba" <marecki@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: sys-auth/yubico-piv-tool/, sys-auth/yubico-piv-tool/files/
Date: Thu, 15 Oct 2020 14:27:23 +0000 (UTC)	[thread overview]
Message-ID: <1602771571.2cbe4d3d2f240b4d74b518b3137684d8b2b599f6.marecki@gentoo> (raw)

commit:     2cbe4d3d2f240b4d74b518b3137684d8b2b599f6
Author:     Marek Szuba <marecki <AT> gentoo <DOT> org>
AuthorDate: Thu Oct 15 14:19:31 2020 +0000
Commit:     Marek Szuba <marecki <AT> gentoo <DOT> org>
CommitDate: Thu Oct 15 14:19:31 2020 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2cbe4d3d

sys-auth/yubico-piv-tool: remove -Werror from compiler flags

Closes: https://bugs.gentoo.org/749165
Signed-off-by: Marek Szuba <marecki <AT> gentoo.org>

 .../files/yubico-piv-tool-2.1.1-no-Werror.patch               | 11 +++++++++++
 sys-auth/yubico-piv-tool/yubico-piv-tool-2.1.1-r2.ebuild      |  1 +
 2 files changed, 12 insertions(+)

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 00000000000..a177395bc75
--- /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")

diff --git a/sys-auth/yubico-piv-tool/yubico-piv-tool-2.1.1-r2.ebuild b/sys-auth/yubico-piv-tool/yubico-piv-tool-2.1.1-r2.ebuild
index 1d8e72cde90..38068c17a3e 100644
--- a/sys-auth/yubico-piv-tool/yubico-piv-tool-2.1.1-r2.ebuild
+++ b/sys-auth/yubico-piv-tool/yubico-piv-tool-2.1.1-r2.ebuild
@@ -27,6 +27,7 @@ BDEPEND="dev-util/gengetopt
 
 PATCHES=(
 	"${FILESDIR}"/${PN}-2.1.1-install-man-page.patch
+	"${FILESDIR}"/${PN}-2.1.1-no-Werror.patch
 	"${FILESDIR}"/${PN}-2.1.1-tests-optional.patch
 	"${FILESDIR}"/${PN}-2.1.1-ykcs11-threads.patch
 )


             reply	other threads:[~2020-10-15 14:27 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-10-15 14:27 Marek Szuba [this message]
  -- strict thread matches above, loose matches on Subject: below --
2020-09-12 19:56 [gentoo-commits] repo/gentoo:master commit in: sys-auth/yubico-piv-tool/, sys-auth/yubico-piv-tool/files/ Marek Szuba
2020-09-06 20:27 Marek Szuba
2020-08-24 14:39 Joonas Niilola
2018-03-06 11:23 Michael Palimaka
2017-04-28 14:41 Alexys Jacob
2016-11-14 11:19 Manuel Rüger

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1602771571.2cbe4d3d2f240b4d74b518b3137684d8b2b599f6.marecki@gentoo \
    --to=marecki@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox