initial commit: 1.5.0
[systemrescuecd.git] / portage-overlay / sys-block / partimage / files / partimage-0.6.6-disable_header_check.patch
1 diff -uNr partimage-0.6.6.orig/src/client/main.cpp partimage-0.6.6/src/client/main.cpp
2 --- partimage-0.6.6.orig/src/client/main.cpp    2008-01-15 00:39:28.000000000 +0100
3 +++ partimage-0.6.6/src/client/main.cpp 2008-01-15 01:30:57.000000000 +0100
4 @@ -1015,6 +1015,11 @@
5  // =======================================================
6  int checkStructSizes()
7  {
8 +   // Disable header check for AMD64, because it fails
9 +#if defined(__x86_64__)
10 +   return 0;
11 +#endif
12 +
13     // ---- check types sizes
14  
15     if (sizeof(DWORD) != 4)