sm-commit AT lists.ibiblio.org
Subject: Source Mage code commit list
List archive
[[SM-Commit] ] GIT changes to master grimoire by Ismael Luceno (2240c6c7891fc137cac9955cc70e4325f4272220)
- From: Ismael Luceno <scm AT sourcemage.org>
- To: sm-commit AT lists.ibiblio.org, sm-commit AT lists.sourcemage.org
- Subject: [[SM-Commit] ] GIT changes to master grimoire by Ismael Luceno (2240c6c7891fc137cac9955cc70e4325f4272220)
- Date: Wed, 13 May 2026 17:21:14 +0000
GIT changes to master grimoire by Ismael Luceno <ismael AT sourcemage.org>:
disk/gparted/DETAILS
| 4
disk/gparted/HISTORY
| 6 +
disk/gparted/patches/0001-Replace-NULL-to-PedPartitionFlag-static_cast.patch
| 29 -----
disk/gparted/patches/0001-Use-POSIX-basename-in-BCache_Info.cc-99-.patch
| 58 ----------
4 files changed, 8 insertions(+), 89 deletions(-)
New commits:
commit 2240c6c7891fc137cac9955cc70e4325f4272220
Author: Ismael Luceno <ismael AT sourcemage.org>
Commit: Ismael Luceno <ismael AT sourcemage.org>
gparted 1.8.1
diff --git a/disk/gparted/DETAILS b/disk/gparted/DETAILS
index 30f4b87..c6aa2ec 100755
--- a/disk/gparted/DETAILS
+++ b/disk/gparted/DETAILS
@@ -1,7 +1,7 @@
# Watch: https://gparted.org/ /gparted/gparted-([0-9.]+)/
SPELL=gparted
- VERSION=1.4.0
-
SOURCE_HASH=sha512:20f94622fc1a2727f1fc9bb39ea9f04f14af06b0ff7e47c2149730d5eb339089b0d3c21cd3c9ce6f971e955a9f6ab89cc32fd5b7545a5e340b451297d87e8f39
+ VERSION=1.8.1
+
SOURCE_HASH=sha512:aa191bc30d8ca5e0ee8a74464c1a829b99336ffc49580e1908a1890e654e6164b7ff99f7a505f8c25e0b85b1333aa5acd3915ee8fccd697370ec78cca4946a15
SOURCE=$SPELL-$VERSION.tar.gz
SOURCE_URL[0]=http://downloads.sourceforge.net/sourceforge/$SPELL/$SOURCE
SOURCE_DIRECTORY=${BUILD_DIRECTORY}/${SPELL}-${VERSION}
diff --git a/disk/gparted/HISTORY b/disk/gparted/HISTORY
index d89c06c..bc917b2 100644
--- a/disk/gparted/HISTORY
+++ b/disk/gparted/HISTORY
@@ -1,3 +1,9 @@
+2026-05-13 Ismael Luceno <ismael AT sourcemage.org>
+ * DETAILS: updated spell to 1.8.1
+ * patches/0001-Use-POSIX-basename-in-BCache_Info.cc-99-.patch,
+ patches/0001-Replace-NULL-to-PedPartitionFlag-static_cast.patch:
+ removed, no longer needed
+
2026-05-11 Ismael Luceno <ismael AT sourcemage.org>
* DETAILS: updated WEB_SITE
diff --git
a/disk/gparted/patches/0001-Replace-NULL-to-PedPartitionFlag-static_cast.patch
b/disk/gparted/patches/0001-Replace-NULL-to-PedPartitionFlag-static_cast.patch
deleted file mode 100644
index 4aae89f..0000000
---
a/disk/gparted/patches/0001-Replace-NULL-to-PedPartitionFlag-static_cast.patch
+++ /dev/null
@@ -1,29 +0,0 @@
-From Mon Sep 17 00:00:00 2001
-From: Ismael Luceno <ismael AT iodev.co.uk>
-Date: Thu, 7 Jul 2022 22:18:03 +0200
-Subject: [PATCH] Replace NULL to PedPartitionFlag static_cast
-
-It fails when NULL is defined as std::nullptr_t.
-
-Error:
-GParted_Core.cc: In constructor 'GParted::GParted_Core::GParted_Core()':
-GParted_Core.cc:75:64: error: invalid 'static_cast' from type
'std::nullptr_t' to type 'PedPartitionFlag'
- 75 | for ( PedPartitionFlag flag = ped_partition_flag_next(
static_cast<PedPartitionFlag>( NULL ) ) ;
-
----
- src/GParted_Core.cc | 2 +-
- 1 file changed, 1 insertion(+), 1 deletion(-)
-
-diff --git a/src/GParted_Core.cc b/src/GParted_Core.cc
-index 46c651933866..6502134d2819 100644
---- a/src/GParted_Core.cc
-+++ b/src/GParted_Core.cc
-@@ -72,7 +72,7 @@ GParted_Core::GParted_Core()
- ped_exception_set_handler( ped_exception_handler ) ;
-
- //get valid flags ...
-- for ( PedPartitionFlag flag = ped_partition_flag_next(
static_cast<PedPartitionFlag>( NULL ) ) ;
-+ for ( PedPartitionFlag flag = ped_partition_flag_next(
static_cast<PedPartitionFlag>( 0 ) ) ;
- flag ;
- flag = ped_partition_flag_next( flag ) )
- flags .push_back( flag ) ;
diff --git
a/disk/gparted/patches/0001-Use-POSIX-basename-in-BCache_Info.cc-99-.patch
b/disk/gparted/patches/0001-Use-POSIX-basename-in-BCache_Info.cc-99-.patch
deleted file mode 100644
index 607580d..0000000
--- a/disk/gparted/patches/0001-Use-POSIX-basename-in-BCache_Info.cc-99-.patch
+++ /dev/null
@@ -1,58 +0,0 @@
-From 45c00927b72319f00855c7feaf4dcf109b3e4414 Mon Sep 17 00:00:00 2001
-From: Markus Volk <f_l_k AT t-online.de>
-Date: Fri, 8 Apr 2022 08:58:46 +0000
-Subject: [PATCH] Use POSIX basename() in BCache_Info.cc (!99)
-
-Musl libc [1][2] doesn't implement the GNU variant of basename() [3][4],
-obtained via #include <string.h>. Therefore GParted fails to build on
-such distributions:
-
-
fdebug-prefix-map=TOPDIR/build/tmp/work/cortexa57-yoe-linux-musl/gparted/1.4.0-r0/recipe-sysroot-native=-fvisibility-inlines-hidden
-c -o ../../gparted-1.4.0/src/BCache_Info.cc:52:33:
-
- error: use of undeclared identifier 'basename'; did you mean
'g_basename'?
- return "/dev/" + Glib::ustring(basename(buf));
- ^~~~~~~~
- g_basename
-
-Fix by using the POSIX implementation of basename() [5] instead,
-obtained via #include <libgen.h>, which musl libc does implement [6].
-Note that the POSIX implementation of basename() is allowed to modify
-the string passed to it. This is okay because
-BCache_Info::get_bcache_device() is using a modifiable local character
-buffer.
-
-[1] musl libc
- https://musl.libc.org/
-[2] Projects using musl
- https://wiki.musl-libc.org/projects-using-musl.html
-[3] The GNU C Library, 5.10 Finding Tokens in a String
-
https://www.gnu.org/software/libc/manual/html_node/Finding-Tokens-in-a-String.html
-[4] basename(3) - Linux manual page
- https://man7.org/linux/man-pages/man3/basename.3.html
-[5] POSIX basename()
- https://pubs.opengroup.org/onlinepubs/009695399/functions/basename.html
-[6] musl source, basename.c
- http://git.musl-libc.org/cgit/musl/tree/src/misc/basename.c
-
-Closes !99 - Fix undeclared identifier 'basename' build failure with
- musl libc
----
- src/BCache_Info.cc | 2 +-
- 1 file changed, 1 insertion(+), 1 deletion(-)
-
-diff --git a/src/BCache_Info.cc b/src/BCache_Info.cc
-index 129a5178..aecc9ef1 100644
---- a/src/BCache_Info.cc
-+++ b/src/BCache_Info.cc
-@@ -17,7 +17,7 @@
-
- #include "BCache_Info.h"
-
--#include <string.h> // GNU version of basename()
-+#include <libgen.h> // POSIX version of basename()
- #include <unistd.h>
- #include <glibmm/ustring.h>
- #include <glibmm/fileutils.h>
---
-GitLab
-
- [[SM-Commit] ] GIT changes to master grimoire by Ismael Luceno (2240c6c7891fc137cac9955cc70e4325f4272220), Ismael Luceno, 05/13/2026
Archive powered by MHonArc 2.6.24.