slackware-current/source/a/gptfdisk/util-linux-2.38.patch
Patrick J Volkerding 668a929acf Fri Dec 2 06:58:38 UTC 2022
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.
2022-12-02 16:59:51 +01:00

22 lines
672 B
Diff

From 6a8416cbd12d55f882bb751993b94f72d338d96f Mon Sep 17 00:00:00 2001
From: Rod Smith <rodsmith@rodsbooks.com>
Date: Sat, 16 Apr 2022 09:32:04 -0400
Subject: [PATCH] Updated guid.cc to deal with minor change in libuuid
---
guid.cc | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/guid.cc b/guid.cc
index 1e73ab7..d3e4fd5 100644
--- a/guid.cc
+++ b/guid.cc
@@ -141,7 +141,7 @@ void GUIDData::Zero(void) {
void GUIDData::Randomize(void) {
int i, uuidGenerated = 0;
-#ifdef _UUID_UUID_H
+#if defined (_UUID_UUID_H) || defined (_UL_LIBUUID_UUID_H)
uuid_generate(uuidData);
ReverseBytes(&uuidData[0], 4);
ReverseBytes(&uuidData[4], 2);