Silvan Calarco
7228158b62
added icons and default configuration file [release 0.14-2mamba;Wed Jul 11 2012]
32 lines
1.3 KiB
Diff
32 lines
1.3 KiB
Diff
#! /bin/sh /usr/share/dpatch/dpatch-run
|
|
## 01_gptsync_64bit_fix.dpatch by <jblache@debian.org>
|
|
##
|
|
## All lines beginning with `## DP:' are a description of the patch.
|
|
## DP: Fix type issues on 64bit platforms. Causes runtime failure.
|
|
|
|
@DPATCH@
|
|
diff -urNad refit-src-0.11~/gptsync/gptsync.h refit-src-0.11/gptsync/gptsync.h
|
|
--- refit-src-0.11~/gptsync/gptsync.h 2007-06-12 06:44:17.000000000 +0200
|
|
+++ refit-src-0.11/gptsync/gptsync.h 2008-05-21 22:06:45.071831818 +0200
|
|
@@ -77,7 +77,7 @@
|
|
typedef unsigned int UINTN;
|
|
typedef unsigned char UINT8;
|
|
typedef unsigned short UINT16;
|
|
-typedef unsigned long UINT32;
|
|
+typedef unsigned int UINT32;
|
|
typedef unsigned long long UINT64;
|
|
typedef void VOID;
|
|
|
|
diff -urNad refit-src-0.11~/gptsync/lib.c refit-src-0.11/gptsync/lib.c
|
|
--- refit-src-0.11~/gptsync/lib.c 2007-04-05 06:58:35.000000000 +0200
|
|
+++ refit-src-0.11/gptsync/lib.c 2008-05-21 22:06:45.071831818 +0200
|
|
@@ -245,7 +245,7 @@
|
|
Print(L" No GPT partition table present!\n");
|
|
return 0;
|
|
}
|
|
- if (header->spec_revision != 0x00010000UL) {
|
|
+ if (header->spec_revision != 0x00010000) {
|
|
Print(L" Warning: Unknown GPT spec revision 0x%08x\n", header->spec_revision);
|
|
}
|
|
if ((512 % header->entry_size) > 0 || header->entry_size > 512) {
|