Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package gptfdisk for openSUSE:Factory 
checked in at 2023-09-13 20:43:46
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/gptfdisk (Old)
 and      /work/SRC/openSUSE:Factory/.gptfdisk.new.1766 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "gptfdisk"

Wed Sep 13 20:43:46 2023 rev:26 rq:1110886 version:1.0.9

Changes:
--------
--- /work/SRC/openSUSE:Factory/gptfdisk/gptfdisk.changes        2023-03-08 
14:51:26.798308170 +0100
+++ /work/SRC/openSUSE:Factory/.gptfdisk.new.1766/gptfdisk.changes      
2023-09-13 20:44:20.841618355 +0200
@@ -1,0 +2,6 @@
+Thu Sep  7 08:44:04 UTC 2023 - Fabian Vogt <fv...@suse.com>
+
+- Add patch to fix UUID generation with util-linux >= 2.38:
+  * gptfdisk-1.0.9-libuuid.patch
+
+-------------------------------------------------------------------

New:
----
  gptfdisk-1.0.9-libuuid.patch

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ gptfdisk.spec ++++++
--- /var/tmp/diff_new_pack.I48xa5/_old  2023-09-13 20:44:22.001659596 +0200
+++ /var/tmp/diff_new_pack.I48xa5/_new  2023-09-13 20:44:22.001659596 +0200
@@ -29,6 +29,8 @@
 Patch1:         0001-Fix-failure-crash-of-sgdisk-when-compiled-with-lates.patch
 # PATCH-FIX-UPSTREAM gptfdisk-fix-null-pointer-dereference.patch bsc#1208877 
alynx.z...@suse.com -- Fix NULL pointer dereference in previous patch
 Patch2:         gptfdisk-fix-null-pointer-dereference.patch
+# PATCH-FIX-UPSTREAM https://bugs.gentoo.org/844073 
https://sourceforge.net/p/gptfdisk/code/ci/6a8416cbd12d55f882bb751993b94f72d338d96f/
+Patch3:         gptfdisk-1.0.9-libuuid.patch
 BuildRequires:  gcc-c++
 BuildRequires:  ncurses-devel
 BuildRequires:  pkgconfig(popt)

++++++ gptfdisk-1.0.9-libuuid.patch ++++++
>From e67faca2c0ca955f56cbd22e90941cdcbdc12597 Mon Sep 17 00:00:00 2001
From: Rod Smith <rodsm...@rodsbooks.com>
Date: Sat, 16 Apr 2022 09:32:04 -0400
Subject: [PATCH] Updated guid.cc to deal with minor change in libuuid

---
 NEWS    | 3 +++
 guid.cc | 2 +-
 2 files changed, 4 insertions(+), 1 deletion(-)

Index: gptfdisk-1.0.9/NEWS
===================================================================
--- gptfdisk-1.0.9.orig/NEWS
+++ gptfdisk-1.0.9/NEWS
@@ -1,6 +1,8 @@
 1.0.10 (?/??/2022):
 -------------------
 
+- Updated guid.cc to deal with minor change in libuuid.
+
 - Fixed problem that caused sgdisk to crash with errors about being unable
   to read the disk's partition table when compiled with the latest popt
   (commit 740, which is pre-release as I type; presumably version 1.19 and
Index: gptfdisk-1.0.9/guid.cc
===================================================================
--- gptfdisk-1.0.9.orig/guid.cc
+++ gptfdisk-1.0.9/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);

Reply via email to