diff options
Diffstat (limited to 'sys-block/partimage/files/partimage-0.6.6-disable_header_check.patch')
-rw-r--r-- | sys-block/partimage/files/partimage-0.6.6-disable_header_check.patch | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/sys-block/partimage/files/partimage-0.6.6-disable_header_check.patch b/sys-block/partimage/files/partimage-0.6.6-disable_header_check.patch new file mode 100644 index 000000000000..37c32a81035c --- /dev/null +++ b/sys-block/partimage/files/partimage-0.6.6-disable_header_check.patch @@ -0,0 +1,15 @@ +diff -uNr partimage-0.6.6.orig/src/client/main.cpp partimage-0.6.6/src/client/main.cpp +--- partimage-0.6.6.orig/src/client/main.cpp 2008-01-15 00:39:28.000000000 +0100 ++++ partimage-0.6.6/src/client/main.cpp 2008-01-15 01:30:57.000000000 +0100 +@@ -1015,6 +1015,11 @@ + // ======================================================= + int checkStructSizes() + { ++ // Disable header check for AMD64, because it fails ++#if defined(__x86_64__) ++ return 0; ++#endif ++ + // ---- check types sizes + + if (sizeof(DWORD) != 4) |