From: "Sam James" <sam@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: sys-kernel/kpatch/files/, sys-kernel/kpatch/
Date: Sat, 11 Jun 2022 05:58:19 +0000 (UTC) [thread overview]
Message-ID: <1654926803.7e27203cbdad242722e9bf58362068246a091fab.sam@gentoo> (raw)
commit: 7e27203cbdad242722e9bf58362068246a091fab
Author: Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Sat Jun 11 05:53:23 2022 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Sat Jun 11 05:53:23 2022 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7e27203c
sys-kernel/kpatch: drop Werror
Closes: https://bugs.gentoo.org/776925
Signed-off-by: Sam James <sam <AT> gentoo.org>
sys-kernel/kpatch/files/kpatch-0.9.4-no-werror.patch | 12 ++++++++++++
sys-kernel/kpatch/kpatch-0.9.4.ebuild | 4 ++++
2 files changed, 16 insertions(+)
diff --git a/sys-kernel/kpatch/files/kpatch-0.9.4-no-werror.patch b/sys-kernel/kpatch/files/kpatch-0.9.4-no-werror.patch
new file mode 100644
index 000000000000..0667fdd91ca1
--- /dev/null
+++ b/sys-kernel/kpatch/files/kpatch-0.9.4-no-werror.patch
@@ -0,0 +1,12 @@
+https://bugs.gentoo.org/776925
+--- a/kpatch-build/Makefile
++++ b/kpatch-build/Makefile
+@@ -1,7 +1,7 @@
+ include ../Makefile.inc
+
+ CFLAGS += -MMD -MP -I../kmod/patch -Iinsn -Wall -Wsign-compare \
+- -Wconversion -Wno-sign-conversion -g -Werror
++ -Wconversion -Wno-sign-conversion -g
+ LDLIBS = -lelf
+
+ TARGETS = create-diff-object create-klp-module create-kpatch-module
diff --git a/sys-kernel/kpatch/kpatch-0.9.4.ebuild b/sys-kernel/kpatch/kpatch-0.9.4.ebuild
index 5cdcff76d491..e30e6e2e09cf 100644
--- a/sys-kernel/kpatch/kpatch-0.9.4.ebuild
+++ b/sys-kernel/kpatch/kpatch-0.9.4.ebuild
@@ -34,6 +34,10 @@ DEPEND="
test? ( dev-util/shellcheck-bin )
"
+PATCHES=(
+ "${FILESDIR}"/${PN}-0.9.4-no-werror.patch
+)
+
pkg_setup() {
if use kmod; then
if kernel_is gt 3 9 0; then
next reply other threads:[~2022-06-11 5:58 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-06-11 5:58 Sam James [this message]
-- strict thread matches above, loose matches on Subject: below --
2025-03-12 10:43 [gentoo-commits] repo/gentoo:master commit in: sys-kernel/kpatch/files/, sys-kernel/kpatch/ Arisu Tachibana
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=1654926803.7e27203cbdad242722e9bf58362068246a091fab.sam@gentoo \
--to=sam@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