diff options
author | Patrick Lauer <patrick@gentoo.org> | 2009-03-01 16:57:50 +0000 |
---|---|---|
committer | Patrick Lauer <patrick@gentoo.org> | 2009-03-01 16:57:50 +0000 |
commit | 11df82228cc08873bfafaf9655952000bd9fa978 (patch) | |
tree | cc2c60a66bfaa0541b3ada5d0508a4ea7a43e229 /net-wireless/aircrack-ng/files | |
parent | Oops, Manifest fix (diff) | |
download | gentoo-2-11df82228cc08873bfafaf9655952000bd9fa978.tar.gz gentoo-2-11df82228cc08873bfafaf9655952000bd9fa978.tar.bz2 gentoo-2-11df82228cc08873bfafaf9655952000bd9fa978.zip |
Bump to 1.0_rc2, fixes #256545. Patch by toogle <commando2004@yandex.ru>.
(Portage version: 2.2_rc23/cvs/Linux x86_64)
Diffstat (limited to 'net-wireless/aircrack-ng/files')
-rw-r--r-- | net-wireless/aircrack-ng/files/sha-compile-fix-64bit.patch | 39 |
1 files changed, 39 insertions, 0 deletions
diff --git a/net-wireless/aircrack-ng/files/sha-compile-fix-64bit.patch b/net-wireless/aircrack-ng/files/sha-compile-fix-64bit.patch new file mode 100644 index 000000000000..e47d718acfa0 --- /dev/null +++ b/net-wireless/aircrack-ng/files/sha-compile-fix-64bit.patch @@ -0,0 +1,39 @@ +Index: src/sha1-sse2.S +=================================================================== +--- src/sha1-sse2.S (revision 1365) ++++ src/sha1-sse2.S (working copy) +@@ -413,11 +413,16 @@ + ret + do_cpuid: + #endif +- ++ ++#ifdef __x86_64__ ++ push %rbx ++ push %rcx ++ push %rdx ++#else + push %ebx + push %ecx + push %edx +- ++#endif + movl $1, %eax + cpuid + +@@ -438,9 +443,15 @@ + movl $0, %eax + + cpuid_exit: ++#ifdef __x86_64__ ++ pop %rdx ++ pop %rcx ++ pop %rbx ++#else + pop %edx + pop %ecx + pop %ebx ++#endif + ret + #endif + |