]> git.pld-linux.org Git - packages/gdisk.git/blob - gptfdisk-1.0.9-libuuid.patch
rel 2; uuid and segv fixees from gentoo
[packages/gdisk.git] / gptfdisk-1.0.9-libuuid.patch
1 From e67faca2c0ca955f56cbd22e90941cdcbdc12597 Mon Sep 17 00:00:00 2001
2 From: Rod Smith <rodsmith@rodsbooks.com>
3 Date: Sat, 16 Apr 2022 09:32:04 -0400
4 Subject: [PATCH] Updated guid.cc to deal with minor change in libuuid
5
6 ---
7  NEWS    | 3 +++
8  guid.cc | 2 +-
9  2 files changed, 4 insertions(+), 1 deletion(-)
10
11 diff --git a/NEWS b/NEWS
12 index c7add56..3d90d9a 100644
13 --- a/NEWS
14 +++ b/NEWS
15 @@ -1,3 +1,6 @@
16 +
17 +- Updated guid.cc to deal with minor change in libuuid.
18 +
19  1.0.9 (4/14/2022):
20  ------------------
21  
22 diff --git a/guid.cc b/guid.cc
23 index 1e73ab7..d3e4fd5 100644
24 --- a/guid.cc
25 +++ b/guid.cc
26 @@ -141,7 +141,7 @@ void GUIDData::Zero(void) {
27  void GUIDData::Randomize(void) {
28     int i, uuidGenerated = 0;
29  
30 -#ifdef _UUID_UUID_H
31 +#if defined (_UUID_UUID_H) || defined (_UL_LIBUUID_UUID_H)
32     uuid_generate(uuidData);
33     ReverseBytes(&uuidData[0], 4);
34     ReverseBytes(&uuidData[4], 2);
35 -- 
36 2.36.1
37
This page took 0.046899 seconds and 3 git commands to generate.