diff -r 71503088f51b -r f880f219c566 openpkg/beecrypt.patch --- a/openpkg/beecrypt.patch Tue Jul 31 12:12:54 2012 +0200 +++ b/openpkg/beecrypt.patch Tue Jul 31 12:23:42 2012 +0200 @@ -1,50 +1,64 @@ -Index: gas/aesopt.x86.m4 ---- gas/aesopt.x86.m4.orig 2004-06-13 13:37:23 +0200 -+++ gas/aesopt.x86.m4 2004-07-28 20:02:07 +0200 -@@ -134,6 +134,9 @@ - pxor 6144(%esi,%edx,8),s0 - ') +Index: configure +--- configure.orig 2009-07-12 09:19:15 +0200 ++++ configure 2010-01-07 18:10:28 +0100 +@@ -2821,7 +2821,7 @@ + # Check whether --enable-expert-mode was given. + if test "${enable_expert_mode+set}" = set; then + enableval=$enable_expert_mode; +- ac_enable_expert_mode=yes ++ ac_enable_expert_mode=$enableval -+') -+ifdef(`USE_MMX',` -+ - define(`elr',` - movd 0(%ebp),s0 - movd t0,%eax -@@ -253,6 +256,9 @@ - ') + else +@@ -4502,13 +4502,7 @@ + if $ac_preproc_ok; then + : + else +- { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5 +-$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} +-{ { $as_echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check +-See \`config.log' for more details." >&5 +-$as_echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check +-See \`config.log' for more details." >&2;} +- { (exit 1); exit 1; }; }; } ++ : + fi -+') -+ifdef(`USE_MMX',` -+ - C_FUNCTION_BEGIN(aesEncrypt) - pushl %edi - pushl %esi -@@ -364,6 +370,9 @@ - pxor 6144(%esi,%edx,8),t2 - ') + ac_ext=c +@@ -6170,13 +6164,7 @@ + if $ac_preproc_ok; then + : + else +- { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5 +-$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} +-{ { $as_echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check +-See \`config.log' for more details." >&5 +-$as_echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check +-See \`config.log' for more details." >&2;} +- { (exit 1); exit 1; }; }; } ++ : + fi -+') -+ifdef(`USE_MMX',` -+ - define(`dsft',` - movd $1+ 0(%ebp),s0 - movd t0,%eax -@@ -490,6 +499,9 @@ - pxor t3,s2 - ') + ac_ext=c +@@ -6901,13 +6889,7 @@ + if $ac_preproc_ok; then + : + else +- { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5 +-$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} +-{ { $as_echo "$as_me:$LINENO: error: C++ preprocessor \"$CXXCPP\" fails sanity check +-See \`config.log' for more details." >&5 +-$as_echo "$as_me: error: C++ preprocessor \"$CXXCPP\" fails sanity check +-See \`config.log' for more details." >&2;} +- { (exit 1); exit 1; }; }; } ++ : + fi -+') -+ifdef(`USE_MMX',` -+ - define(`dblock',` - sxrk - + ac_ext=c Index: gnu.h.in ---- gnu.h.in.orig 2004-12-19 21:18:48 +0100 -+++ gnu.h.in 2005-03-08 19:34:03 +0100 -@@ -48,15 +48,6 @@ +--- gnu.h.in.orig 2009-06-18 21:56:25 +0200 ++++ gnu.h.in 2010-01-07 18:10:08 +0100 +@@ -59,15 +59,6 @@ @TYPEDEF_UINT32_T@ @TYPEDEF_UINT64_T@