summaryrefslogtreecommitdiff
path: root/sys-block/parted
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2024-11-27 02:00:01 +0000
committerV3n3RiX <venerix@koprulu.sector>2024-11-27 02:00:01 +0000
commitead7697a01fd631b56240b2d58aedd98ba7f92d3 (patch)
treec73ecbedbb9db967a7dff614f5e8b79eacb79f5d /sys-block/parted
parent403335d7014372971e9e9267493a808d08bab48e (diff)
gentoo auto-resync : 27:11:2024 - 02:00:00
Diffstat (limited to 'sys-block/parted')
-rw-r--r--sys-block/parted/Manifest3
-rw-r--r--sys-block/parted/files/parted-3.6-c23.patch38
-rw-r--r--sys-block/parted/parted-3.6-r2.ebuild2
3 files changed, 42 insertions, 1 deletions
diff --git a/sys-block/parted/Manifest b/sys-block/parted/Manifest
index 3d7485041908..b48845ea2ffa 100644
--- a/sys-block/parted/Manifest
+++ b/sys-block/parted/Manifest
@@ -1,10 +1,11 @@
AUX parted-3.2-po4a-mandir.patch 275 BLAKE2B 5342cc776f557c9ef95604eb2c15ad484c4dbf102d4093dcb1d4005f2f6d4f90db2ff0fc3ceae59fd22c3442604b2abbdac48594f860ba810dc4d8dce89d6fc0 SHA512 5ef686f56d8c3939da3f24fdb6196d8858c2f980805f1cb06020d6f6996158f62b8372a233ec3ec98aae30b41034046d615e415b3abf2648db7be88e3b45a872
AUX parted-3.3-atari.patch 421 BLAKE2B 9048176f882e66cf89cc2d79aa0ea7a550f9c649d8f54f4df102eb361c6e0be473a2e07e1ab8f63dc446422a92ced10cfb4858a27b7988c1b5a960e6e8e1d518 SHA512 59738de6f89dd6d407eef139ffe4d0925d418f4d33a30a1ead1e1f05ab7ad93e13294412d5061dd40302b9592a33b97f137089f477dc6a2febd3fe60eae77ca0
AUX parted-3.4-posix-printf.patch 2872 BLAKE2B 55c1bef638a88f7d3b5b1f90ca28df1d0ccb40590536c0a0f10416509c3d90a2a329dd530ebbcc9945b2eefb7a3540a113d27a73c7d636b372eb9fc8e19f7eed SHA512 d16bb7e3cfccaa8b40ece90b507559857fb1a4f5a08bc93da61b7afde4b69e06de363948426cec66cbb1135d6d1d5a50206cee6cec9973e1cb02aefe50697670
+AUX parted-3.6-c23.patch 1557 BLAKE2B 9e4dc9beffec7080a1ef3c327a31b0b3cd05fc0a6b53b7e11962284aab78236391de8a9d13ef09af6d9e4919afbeb272350764c84570bd9ecd0bcb9d91d3afd4 SHA512 403bf70afde6fa926f653a6bd913dfcc82e42216b16620cf7f80d55e85788b1392c799d504e7c1dbfec338e5a57ffc986b05a9e41a96a4d45fab8c812f37c58c
AUX parted-3.6-tests-non-bash.patch 3100 BLAKE2B 2aa7c4fcb03cdd354e85c8bd0696a07a09106cc37e482d7bcd720146964468b6d234195ba900dc2afb982f2348bd5455617072e8cace04feef959aad05ccdb30 SHA512 d0b6f9ff544255ae4240dda1d7b44385224dbbf64c8059e5cc1338a348cc2c045eb23d3f3e9c3b4d4fe2fba677a99f235232a38310e95c6565e412e44ed526dc
AUX parted-3.6-tests-unicode.patch 2009 BLAKE2B 73e376209d1aa99d6f9988e139e2b15f68c78d3fdfc17b86113cb05b2611591d7dadabeee5a72be837bee047d898615f27dfd6e2d8e077ef05de6cf3cfeff4ed SHA512 1fe8f8155b5c155cd39fa859318066e6580497b044e31b22f8a22b8617662e35b028879e5f9bcea1ec6c7e4aad038d5803c635a3e2b57a7a769a09e3194890d8
AUX parted-3.6-underlinked-util-linux.patch 2120 BLAKE2B 3aeabc6e752abf84888bc4a50a7f030d103e403a6b8c8c3d7ede0dee1247e0870fb91b502da0f45d4f576bef2408558b5ff68f06e8daf415b9ea4679fbe0bf68 SHA512 c69fe8f298d7dfe41ed37d8df150864ca4abe806b8ce87d606a0dfa3897d30076d751dc23b95923790f9da58547c7f02aadabdd6aa3f8db3a5dae527792e682f
DIST parted-3.6.tar.xz 1896164 BLAKE2B 99b6d096e4db05144c98e9f0a9a97c647aa911ee5df031244b03d5223f709d43d9302cef12dd4b2f97f42ec476510561b7f8b3b1ef7cb09d0a7c4d512e7a6739 SHA512 034a44b25718acba175212019d24f092972a791c5bd1d921ae91e17478657a77c5c5dd0c832bed7968c3a07ec6c65c0785acfac2f90c1ca5e1692f3c141693ef
DIST parted-3.6.tar.xz.sig 508 BLAKE2B 92fbf624cfeb474e36d43954ecf6c42cf86557b99c7cd477c648bdeefb3ca2b40c51c320b20ea91075276d9ccc1da4219cd843b2916157c564c92a34a35ec55f SHA512 7c845026937b29fb49085ef9e3354226b73a1c3b5f9082d440d9a8ac13d76b1d07dae0bc10d8c974d4e57bc582f38c0a908e80718dd1ff1adfad3b04699c672c
-EBUILD parted-3.6-r2.ebuild 2058 BLAKE2B 11e8aba20fe48a3ce50b1bca7a2a56c89062026e8943d2a81683e1f2f602956ef7ce8bbb6812e5bdb940e5bed07062dc5b531ea56751776b706f48205b06271c SHA512 8a7c22705aa1696d37448d84b879d1964fc7d97e9240266848c7a0572e88259be9e6325ec38eb41a00dfd3c81b94901beb6c442dbc16e66c7a8f9148a0f2ae8a
+EBUILD parted-3.6-r2.ebuild 2103 BLAKE2B e968a1210a748b24f8f47c615ff632eaa989e816b97c4154d187e93822acba90ea6fe8ed7a30da2cf65ffeb0f49413371b67b230f70cc7cef29c693d23af7645 SHA512 9e8eb7a2b3e4c62c3455730fe65d810d6f823d828e7603b6c4f14e6daeaea0441e7b36b3e0f14fe703ed9d148ddf6d6e614cdfb87955e59ba58812f48bf56e8a
MISC metadata.xml 1060 BLAKE2B b37f3b9d7869cb816ece89fa99d2fcd3569ee8d224b1aa4d9f7189169fe91b63762323a2e8b07c57ec4e0dbf46fa325c9919d1d11f09489c855fc7c319c4ffa0 SHA512 1d9646a575046ea235bd2417d70e03b472f7b1fe6a1c2c2fd85cb5acdb03517658020f656a519b83db580c4faa13843ef1b47d5bc645d04f8955415024bc5260
diff --git a/sys-block/parted/files/parted-3.6-c23.patch b/sys-block/parted/files/parted-3.6-c23.patch
new file mode 100644
index 000000000000..97134562dd65
--- /dev/null
+++ b/sys-block/parted/files/parted-3.6-c23.patch
@@ -0,0 +1,38 @@
+https://bugs.gentoo.org/943690
+https://debbugs.gnu.org/74444
+https://git.savannah.gnu.org/gitweb/?p=parted.git;a=commit;h=16343bda6ce0d41edf43f8dac368db3bbb63d271
+
+From 16343bda6ce0d41edf43f8dac368db3bbb63d271 Mon Sep 17 00:00:00 2001
+From: Rudi Heitbaum <rudi@heitbaum.com>
+Date: Wed, 20 Nov 2024 12:22:22 +0000
+Subject: [PATCH] bug#74444: [PATCH] parted: fix do_version declaration
+
+With gcc 15-20241117 compile fails with the below error, update the
+do_version declaration to match the header in command.h
+
+../../parted/parted.c: In function '_init_commands':
+../../parted/parted.c:2469:9: error: passing argument 2 of 'command_create' from incompatible pointer type [-Wincompatible-pointer-types]
+ 2469 | do_version,
+ | ^~~~~~~~~~
+ | |
+ | int (*)(void)
+In file included from ../../parted/parted.c:28:
+../../parted/command.h:35:39: note: expected 'int (*)(PedDevice **, PedDisk **)' {aka 'int (*)(struct _PedDevice **, struct _PedDisk **)'} but argument is of type 'int (*)(void)'
+ 35 | int (*method) (PedDevice** dev, PedDisk** diskp),
+ | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+
+Signed-off-by: Rudi Heitbaum <rudi@heitbaum.com>
+Signed-off-by: Brian C. Lane <bcl@redhat.com>
+--- a/parted/parted.c
++++ b/parted/parted.c
+@@ -2172,7 +2172,7 @@ do_unit (PedDevice** dev, PedDisk** diskp)
+ }
+
+ static int
+-do_version ()
++do_version (PedDevice** dev, PedDisk** diskp)
+ {
+ printf ("\n%s\n%s",
+ prog_name,
+--
+2.34.1
diff --git a/sys-block/parted/parted-3.6-r2.ebuild b/sys-block/parted/parted-3.6-r2.ebuild
index c4c140fe695c..6da8fe0d91cd 100644
--- a/sys-block/parted/parted-3.6-r2.ebuild
+++ b/sys-block/parted/parted-3.6-r2.ebuild
@@ -51,6 +51,8 @@ PATCHES=(
"${FILESDIR}"/${PN}-3.6-tests-non-bash.patch
# bug #910487
"${FILESDIR}"/${P}-underlinked-util-linux.patch
+ # bug #943690
+ "${FILESDIR}"/${P}-c23.patch
)
# false positive