mirror of
git://slackware.nl/current.git
synced 2024-12-30 10:24:23 +01:00
668a929acf
a/gptfdisk-1.0.9-x86_64-2.txz: Rebuilt. Applied upstream patches to fix a crash and partition corruption caused by the popt upgrade: [PATCH] Updated guid.cc to deal with minor change in libuuid [PATCH] Fix failure & crash of sgdisk when compiled with latest popt [PATCH] Fix NULL dereference when duplicating string argument Thanks to jloco. d/cmake-3.25.1-x86_64-1.txz: Upgraded. kde/calligra-3.2.1-x86_64-24.txz: Rebuilt. Recompiled against poppler-22.12.0. kde/cantor-22.08.3-x86_64-2.txz: Rebuilt. Recompiled against poppler-22.12.0. kde/kfilemetadata-5.100.0-x86_64-2.txz: Rebuilt. Recompiled against poppler-22.12.0. kde/kile-2.9.93-x86_64-22.txz: Rebuilt. Recompiled against poppler-22.12.0. kde/kitinerary-22.08.3-x86_64-2.txz: Rebuilt. Recompiled against poppler-22.12.0. kde/krita-5.1.3-x86_64-2.txz: Rebuilt. Recompiled against poppler-22.12.0. kde/okular-22.08.3-x86_64-2.txz: Rebuilt. Recompiled against poppler-22.12.0. l/glib2-2.74.3-x86_64-1.txz: Upgraded. l/poppler-22.12.0-x86_64-1.txz: Upgraded. Shared library .so-version bump. n/NetworkManager-1.40.6-x86_64-1.txz: Upgraded. xap/NetworkManager-openvpn-1.10.2-x86_64-1.txz: Upgraded. xap/libnma-1.10.4-x86_64-1.txz: Upgraded. xap/network-manager-applet-1.30.0-x86_64-1.txz: Upgraded.
37 lines
1.1 KiB
Diff
37 lines
1.1 KiB
Diff
From 5d5e76d369a412bfb3d2cebb5fc0a7509cef878d Mon Sep 17 00:00:00 2001
|
|
From: Rod Smith <rodsmith@rodsbooks.com>
|
|
Date: Fri, 15 Apr 2022 18:10:14 -0400
|
|
Subject: [PATCH] Fix failure & crash of sgdisk when compiled with latest popt
|
|
(commit 740; presumably eventually release 1.19)
|
|
|
|
---
|
|
gptcl.cc | 2 +-
|
|
support.h | 2 +-
|
|
2 files changed, 2 insertions(+), 2 deletions(-)
|
|
|
|
diff --git a/gptcl.cc b/gptcl.cc
|
|
index 34c9421..0d578eb 100644
|
|
--- a/gptcl.cc
|
|
+++ b/gptcl.cc
|
|
@@ -155,7 +155,7 @@ int GPTDataCL::DoOptions(int argc, char* argv[]) {
|
|
} // while
|
|
|
|
// Assume first non-option argument is the device filename....
|
|
- device = (char*) poptGetArg(poptCon);
|
|
+ device = strdup((char*) poptGetArg(poptCon));
|
|
poptResetContext(poptCon);
|
|
|
|
if (device != NULL) {
|
|
diff --git a/support.h b/support.h
|
|
index 8ba9ad1..f91f1bc 100644
|
|
--- a/support.h
|
|
+++ b/support.h
|
|
@@ -8,7 +8,7 @@
|
|
#include <stdlib.h>
|
|
#include <string>
|
|
|
|
-#define GPTFDISK_VERSION "1.0.9"
|
|
+#define GPTFDISK_VERSION "1.0.9.1"
|
|
|
|
#if defined (__FreeBSD__) || defined (__FreeBSD_kernel__) || defined (__APPLE__)
|
|
// Darwin (Mac OS) & FreeBSD: disk IOCTLs are different, and there is no lseek64
|