summaryrefslogtreecommitdiff
path: root/package/gdisk/gdisk-0.6.14-uuid.h.patch
diff options
context:
space:
mode:
authorMalte Starostik <m-starostik@versanet.de>2011-02-27 16:19:45 +0100
committerPeter Korsgaard <jacmet@sunsite.dk>2011-04-25 23:28:59 +0200
commit7d5a772f63660b84c7c755518fd91cb1a7c7d0c7 (patch)
tree83a941e304e206e83954beb33cccaf42d2dc0582 /package/gdisk/gdisk-0.6.14-uuid.h.patch
parent648d33d6142329151ca1ef61b50649477574c684 (diff)
New package: gdisk
This includes two separately configurable parition manipulation utilities: gdsik and sgdisk are to GPT disks what fdisk and sfdisk are in MBR land. [Peter: patch source, fix typos, fix partial build, pass correct flags] Signed-off-by: Malte Starostik <m-starostik@versanet.de> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
Diffstat (limited to 'package/gdisk/gdisk-0.6.14-uuid.h.patch')
-rw-r--r--package/gdisk/gdisk-0.6.14-uuid.h.patch22
1 files changed, 22 insertions, 0 deletions
diff --git a/package/gdisk/gdisk-0.6.14-uuid.h.patch b/package/gdisk/gdisk-0.6.14-uuid.h.patch
new file mode 100644
index 000000000..ba447a1c3
--- /dev/null
+++ b/package/gdisk/gdisk-0.6.14-uuid.h.patch
@@ -0,0 +1,22 @@
+[PATCH] Don't hardcode uuid.h location
+
+Breaks cross compilation.
+
+Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
+---
+ guid.h | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+Index: gdisk-0.6.14/guid.h
+===================================================================
+--- gdisk-0.6.14.orig/guid.h
++++ gdisk-0.6.14/guid.h
+@@ -22,7 +22,7 @@
+ #ifdef _WIN32
+ typedef unsigned char my_uuid_t[16];
+ #else
+-#include </usr/include/uuid/uuid.h>
++#include <uuid/uuid.h>
+ typedef uuid_t my_uuid_t;
+ #endif
+