buildroot/package/gptfdisk
Ben Wolsieffer 58fbfe8706 package/gptfdisk: fix bug with util-linux 2.38
Due to a change in util-linux (commit
10f5f79485964ab52272ebe79c3b0047b1f84d82, "libbuid: use
_UL_LIBUUID_UUID_H to cover uuid.h"), gptfdisk no longer detects the
availability of libuuid to generate UUIDs, causing the following
message at runtime:

  Warning! Unable to generate a proper UUID! Creating an improper one as a last
  resort! Windows 7 may crash if you save this partition table!

This issue exists since util-linux was bumped to version 2.38 in
Buildroot
ee978e853a ("package/util-linux: bump
version to 2.38").

This issue has been fixed in upstream gptfdisk, but the fix [0] is not
yet in a new stable release, so we backport it.

Additionally, now that gptfdisk uses libuuid again, the build fails
because passing LDLIBS to make overrides the default value in the
Makefile. To fix this, this patch adds -luuid to GPTFDISK_LDLIBS.

[0] 6a8416cbd1

Signed-off-by: Ben Wolsieffer <ben.wolsieffer@hefring.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
2023-10-01 23:05:28 +02:00
..
0001-gptcurses-partially-revert-Tweaks-for-building-on-th.patch
0002-Fix-failure-crash-of-sgdisk-when-compiled-with-lates.patch
0003-Fix-NULL-dereference-when-duplicating-string-argumen.patch
0004-Updated-guid.cc-to-deal-with-minor-change-in-libuuid.patch package/gptfdisk: fix bug with util-linux 2.38 2023-10-01 23:05:28 +02:00
Config.in
Config.in.host
gptfdisk.hash
gptfdisk.mk package/gptfdisk: fix bug with util-linux 2.38 2023-10-01 23:05:28 +02:00