From 4bab6569878f89180d50a40524a675712b0cec2a Mon Sep 17 00:00:00 2001 From: Jeroen Roovers Date: Fri, 3 Jan 2020 16:13:06 +0100 Subject: [PATCH] sys-block/parted: Reintroduce PED_ASSERT with correct assertion Package-Manager: Portage-2.3.84, Repoman-2.3.20 Bug: https://bugs.gentoo.org/704704 Fixes: 1af57544e419afdbc54cb6dc76e053593e4bb088 Signed-off-by: Jeroen Roovers --- sys-block/parted/files/parted-3.3-atari.patch | 2 +- sys-block/parted/{parted-3.3-r1.ebuild => parted-3.3-r2.ebuild} | 0 2 files changed, 1 insertion(+), 1 deletion(-) rename sys-block/parted/{parted-3.3-r1.ebuild => parted-3.3-r2.ebuild} (100%) diff --git a/sys-block/parted/files/parted-3.3-atari.patch b/sys-block/parted/files/parted-3.3-atari.patch index 41771d02d4ee..af9c488d48d1 100644 --- a/sys-block/parted/files/parted-3.3-atari.patch +++ b/sys-block/parted/files/parted-3.3-atari.patch @@ -5,7 +5,7 @@ PED_ASSERT (sizeof (AtariRawTable) == 512); /* GNU Libc doesn't support NULL instead of the locale name */ - PED_ASSERT ((atr_c_locale = newlocale(LC_ALL_MASK, "C", NULL)) != NULL); -+ atr_c_locale = newlocale(LC_ALL_MASK, "C", NULL); ++ PED_ASSERT ((atr_c_locale = newlocale(LC_ALL_MASK, "C", (locale_t) 0)) != (locale_t) 0); ped_disk_type_register (&atari_disk_type); } diff --git a/sys-block/parted/parted-3.3-r1.ebuild b/sys-block/parted/parted-3.3-r2.ebuild similarity index 100% rename from sys-block/parted/parted-3.3-r1.ebuild rename to sys-block/parted/parted-3.3-r2.ebuild -- 2.26.2