gptfdisk: fix libuuid linking
This commit is contained in:
parent
0fb0eec5ff
commit
66b3cccafb
2 changed files with 15 additions and 1 deletions
14
srcpkgs/gptfdisk/patches/fix-libuuid-linking.patch
Normal file
14
srcpkgs/gptfdisk/patches/fix-libuuid-linking.patch
Normal file
|
@ -0,0 +1,14 @@
|
||||||
|
https://www.mail-archive.com/debian-bugs-dist@lists.debian.org/msg1853985.html
|
||||||
|
https://sourceforge.net/p/gptfdisk/code/ci/6a8416cbd12d55f882bb751993b94f72d338d96f/
|
||||||
|
|
||||||
|
--- a/guid.cc
|
||||||
|
+++ b/guid.cc
|
||||||
|
@@ -141,7 +141,7 @@
|
||||||
|
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);
|
|
@ -1,7 +1,7 @@
|
||||||
# Template file for 'gptfdisk'
|
# Template file for 'gptfdisk'
|
||||||
pkgname=gptfdisk
|
pkgname=gptfdisk
|
||||||
version=1.0.9
|
version=1.0.9
|
||||||
revision=2
|
revision=3
|
||||||
build_style=gnu-makefile
|
build_style=gnu-makefile
|
||||||
make_check_target=test
|
make_check_target=test
|
||||||
makedepends="ncurses-devel popt-devel libuuid-devel"
|
makedepends="ncurses-devel popt-devel libuuid-devel"
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue