From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 46F3615808B for ; Sat, 26 Mar 2022 07:36:28 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 5B555E0844; Sat, 26 Mar 2022 07:36:27 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id CBD5FE0844 for ; Sat, 26 Mar 2022 07:36:26 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 96B02342F2A for ; Sat, 26 Mar 2022 07:36:25 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id EBBF032D for ; Sat, 26 Mar 2022 07:36:23 +0000 (UTC) From: "Joonas Niilola" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Joonas Niilola" Message-ID: <1648280180.09a2c0823d2dd32c9000256b48adbf3e93f89afa.juippis@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: sys-devel/dev86/, sys-devel/dev86/files/ X-VCS-Repository: repo/gentoo X-VCS-Files: sys-devel/dev86/dev86-0.16.21-r3.ebuild sys-devel/dev86/files/dev86-0.16.21-void-return-check-msdos-clang-fix.patch X-VCS-Directories: sys-devel/dev86/ sys-devel/dev86/files/ X-VCS-Committer: juippis X-VCS-Committer-Name: Joonas Niilola X-VCS-Revision: 09a2c0823d2dd32c9000256b48adbf3e93f89afa X-VCS-Branch: master Date: Sat, 26 Mar 2022 07:36:23 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 6ae5e346-997f-4e71-afec-d081e5869f7c X-Archives-Hash: cef8bb047fb44d19a247dd619c52c5a4 commit: 09a2c0823d2dd32c9000256b48adbf3e93f89afa Author: Denis Pronin yandex ru> AuthorDate: Sat Mar 19 10:17:46 2022 +0000 Commit: Joonas Niilola gentoo 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 yandex.ru> Closes: https://github.com/gentoo/gentoo/pull/24659 Signed-off-by: Joonas Niilola 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 */