db-move: moved xdg-desktop-portal-gnome from [testing] to [extra] (x86_64)
[arch-packages.git] / gptfdisk / repos / extra-x86_64 / util-linux-2.38.patch
blob1d4fbbda80b3d35685370f47992dc98dcec22247
1 From 6a8416cbd12d55f882bb751993b94f72d338d96f 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
6 ---
7 guid.cc | 2 +-
8 1 file changed, 1 insertion(+), 1 deletion(-)
10 diff --git a/guid.cc b/guid.cc
11 index 1e73ab7..d3e4fd5 100644
12 --- a/guid.cc
13 +++ b/guid.cc
14 @@ -141,7 +141,7 @@ void GUIDData::Zero(void) {
15 void GUIDData::Randomize(void) {
16 int i, uuidGenerated = 0;
18 -#ifdef _UUID_UUID_H
19 +#if defined (_UUID_UUID_H) || defined (_UL_LIBUUID_UUID_H)
20 uuid_generate(uuidData);
21 ReverseBytes(&uuidData[0], 4);
22 ReverseBytes(&uuidData[4], 2);