diff options
Diffstat (limited to 'sys-block/sedutil')
-rw-r--r-- | sys-block/sedutil/Manifest | 3 | ||||
-rw-r--r-- | sys-block/sedutil/files/sedutil-1.20.0-gcc-13.patch | 25 | ||||
-rw-r--r-- | sys-block/sedutil/sedutil-1.20.0.ebuild | 6 |
3 files changed, 32 insertions, 2 deletions
diff --git a/sys-block/sedutil/Manifest b/sys-block/sedutil/Manifest index 4a4f8b677918..f73719b4f3d9 100644 --- a/sys-block/sedutil/Manifest +++ b/sys-block/sedutil/Manifest @@ -1,3 +1,4 @@ +AUX sedutil-1.20.0-gcc-13.patch 774 BLAKE2B bccf9d201e4a2ac77ef7b57691d86d3554cf3530ce416baed2de2b504000cf37e7205f1688e9083c488671f885b34453e2435406040cf9d357c9c9aaadf4436d SHA512 6005d489c24eee3ad49a94f3d5d9be73408b78671adcf3ecb01141131ec0b58793c1bccbb760bd1d6e314419e09152fe2d54d000f029634a8da8952b732d2d8e DIST sedutil-1.20.0.tar.gz 301067 BLAKE2B 6eb18b15a00a2555684459f00c59a9ffa1c0a85ab275bfd4de50225e3e7e9990751c7e4065987527f9c9c798c52abb5d45ef2336c72d6ee1c0e06c8a668ca210 SHA512 b85891f1c519295bf9551ffc2488300611f519aec88c60d74555e0870e125efd6153a49a6ae5a9783102e0ad0fbb148a0c0a804a61984934c23020add85287d3 -EBUILD sedutil-1.20.0.ebuild 575 BLAKE2B 6210f4b420e4acf67c0f7b3ab52fabe1017486fcf8442535aab50d32a52f9f93f7ed07821ef503791b800e5dea08084fa907c93715528b84367809c043ad94c7 SHA512 82b316e966d508f7fd1415f956ba4167535ebb794c617182372d779f0b2988ea659b45b5fc67d97d0a1d5cdb3ea5c97ddd3084cdf8fded412f71f2cf8b1d55c2 +EBUILD sedutil-1.20.0.ebuild 629 BLAKE2B 7a6bedb8fa3b7696a5dc165e6ae6738933f37a9aed3d3d1fefcb9d371ff7aef187e5e965682f238f039fed56eb6a0c7d76d01ae01f83ce67a3e1acb5af35a64c SHA512 a5364fb672f3ade783fe7b00ba345c34a8e5d70ab9b9fb3f57355fb67caf850ca34d2d3d8843b0f43c1834392e521d8800954761c5ae2ac118a3afe36d2f6b74 MISC metadata.xml 311 BLAKE2B 759819d08ad9f60ef24922d6520618640ced0b1c3a7973c92c4ae63029e6dfc4183b4dbbfac4d1d97b8de10c6cef371da0dbb507d4cde00dda21e6667863f2dd SHA512 b5e52382be6323223e43fbdf2e6fdf2d3e7b264b16c72cf8f27e052e1025080147809c79cd30d58299ce8ba7b9fac6ffaff82c33cefd0244a608103abb37bb31 diff --git a/sys-block/sedutil/files/sedutil-1.20.0-gcc-13.patch b/sys-block/sedutil/files/sedutil-1.20.0-gcc-13.patch new file mode 100644 index 000000000000..7b803028230b --- /dev/null +++ b/sys-block/sedutil/files/sedutil-1.20.0-gcc-13.patch @@ -0,0 +1,25 @@ +https://github.com/Drive-Trust-Alliance/sedutil/pull/425 + +From 927cd88cad7bea94c2eebecc18f7881f0defaccb Mon Sep 17 00:00:00 2001 +From: Khem Raj <raj.khem@gmail.com> +Date: Thu, 26 Jan 2023 23:36:29 -0800 +Subject: [PATCH] include missing <cstdint> + +gcc 13 moved some includes around and as a result <cstdint> +is no longer transitively included [1]. Explicitly include +it for uint{32,64}_t. + +[1] https://gcc.gnu.org/gcc-13/porting_to.html#header-dep-changes + +Signed-off-by: Khem Raj <raj.khem@gmail.com> +--- a/Common/DtaOptions.h ++++ b/Common/DtaOptions.h +@@ -21,6 +21,7 @@ along with sedutil. If not, see <http://www.gnu.org/licenses/>. + #ifndef _DTAOPTIONS_H + #define _DTAOPTIONS_H + ++#include <cstdint> + /** Output modes */ + typedef enum _sedutiloutput { + sedutilNormal, + diff --git a/sys-block/sedutil/sedutil-1.20.0.ebuild b/sys-block/sedutil/sedutil-1.20.0.ebuild index 917e43286854..d920ad8c3c36 100644 --- a/sys-block/sedutil/sedutil-1.20.0.ebuild +++ b/sys-block/sedutil/sedutil-1.20.0.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2022 Gentoo Authors +# Copyright 1999-2023 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 @@ -13,6 +13,10 @@ LICENSE="GPL-3+" SLOT="0" KEYWORDS="amd64 ~ppc64 x86" +PATCHES=( + "${FILESDIR}"/${PN}-1.20.0-gcc-13.patch +) + src_prepare() { default # https://github.com/Drive-Trust-Alliance/sedutil/pull/49 |