summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Zoffoli <xmerlin@gentoo.org>2008-01-15 12:05:21 +0000
committerChristian Zoffoli <xmerlin@gentoo.org>2008-01-15 12:05:21 +0000
commit9840537aefcfc622f7f965cacaa8f60382307faf (patch)
tree6cb8938e4cdb02b9ea22a1569a101f2ddd31712d /sys-block/partimage/files/partimage-0.6.6-disable_header_check.patch
parentMove bubblemon-2.0.8 from SLOT 0 to 1. (diff)
downloadgentoo-2-9840537aefcfc622f7f965cacaa8f60382307faf.tar.gz
gentoo-2-9840537aefcfc622f7f965cacaa8f60382307faf.tar.bz2
gentoo-2-9840537aefcfc622f7f965cacaa8f60382307faf.zip
Version bump, ported patches, fixed pam auth, fixed amd64.
(Portage version: 2.1.3.9)
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.patch15
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)