From: "Joonas Niilola" <juippis@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: sys-devel/dev86/, sys-devel/dev86/files/
Date: Sat, 26 Mar 2022 07:36:23 +0000 (UTC) [thread overview]
Message-ID: <1648280180.09a2c0823d2dd32c9000256b48adbf3e93f89afa.juippis@gentoo> (raw)
commit: 09a2c0823d2dd32c9000256b48adbf3e93f89afa
Author: Denis Pronin <dannftk <AT> yandex <DOT> ru>
AuthorDate: Sat Mar 19 10:17:46 2022 +0000
Commit: Joonas Niilola <juippis <AT> gentoo <DOT> org>
CommitDate: Sat Mar 26 07:36:20 2022 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=09a2c082
sys-devel/dev86: add clang patch to 0.16.21-r3
patched bootblocks/makeboot.c of sys-devel/dev86-0.16.21-r3
Signed-off-by: Denis Pronin <dannftk <AT> yandex.ru>
Closes: https://github.com/gentoo/gentoo/pull/24659
Signed-off-by: Joonas Niilola <juippis <AT> gentoo.org>
sys-devel/dev86/dev86-0.16.21-r3.ebuild | 3 ++-
...6-0.16.21-void-return-check-msdos-clang-fix.patch | 20 ++++++++++++++++++++
2 files changed, 22 insertions(+), 1 deletion(-)
diff --git a/sys-devel/dev86/dev86-0.16.21-r3.ebuild b/sys-devel/dev86/dev86-0.16.21-r3.ebuild
index 2af636abe3e1..e3784e658bfb 100644
--- a/sys-devel/dev86/dev86-0.16.21-r3.ebuild
+++ b/sys-devel/dev86/dev86-0.16.21-r3.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2021 Gentoo Authors
+# Copyright 1999-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
@@ -22,6 +22,7 @@ PATCHES=(
"${FILESDIR}/${PN}-0.16.19-fortify.patch"
"${FILESDIR}/${P}-non-void-return-clang.patch"
"${FILESDIR}/${PN}-0.16.21-make.patch"
+ "${FILESDIR}/${P}-void-return-check-msdos-clang-fix.patch"
)
src_prepare() {
diff --git a/sys-devel/dev86/files/dev86-0.16.21-void-return-check-msdos-clang-fix.patch b/sys-devel/dev86/files/dev86-0.16.21-void-return-check-msdos-clang-fix.patch
new file mode 100644
index 000000000000..39e3a1296c21
--- /dev/null
+++ b/sys-devel/dev86/files/dev86-0.16.21-void-return-check-msdos-clang-fix.patch
@@ -0,0 +1,20 @@
+--- a/bootblocks/makeboot.c 2020-11-30 00:28:40.383078094 +0300
++++ b/bootblocks/makeboot.c 2020-11-30 00:28:26.969025659 +0300
+@@ -183,6 +183,8 @@
+ unsigned char bpb_flags[100];
+ int has_bpb_overrides = 0;
+
++static void check_msdos();
++
+ main(argc, argv)
+ int argc;
+ char ** argv;
+@@ -1122,7 +1124,7 @@
+
+ /**************************************************************************/
+
+-check_msdos()
++static void check_msdos()
+ {
+ decode_super(buffer);
+ if( dosflds[DOS_CLUST].value == 0 ) /* MSDOS v1.0 */
next reply other threads:[~2022-03-26 7:36 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-03-26 7:36 Joonas Niilola [this message]
-- strict thread matches above, loose matches on Subject: below --
2025-02-07 23:52 [gentoo-commits] repo/gentoo:master commit in: sys-devel/dev86/, sys-devel/dev86/files/ Sam James
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=1648280180.09a2c0823d2dd32c9000256b48adbf3e93f89afa.juippis@gentoo \
--to=juippis@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