1.1 --- a/openpkg/beecrypt.patch Tue Jul 31 12:12:54 2012 +0200 1.2 +++ b/openpkg/beecrypt.patch Tue Jul 31 12:23:42 2012 +0200 1.3 @@ -1,50 +1,64 @@ 1.4 -Index: gas/aesopt.x86.m4 1.5 ---- gas/aesopt.x86.m4.orig 2004-06-13 13:37:23 +0200 1.6 -+++ gas/aesopt.x86.m4 2004-07-28 20:02:07 +0200 1.7 -@@ -134,6 +134,9 @@ 1.8 - pxor 6144(%esi,%edx,8),s0 1.9 - ') 1.10 +Index: configure 1.11 +--- configure.orig 2009-07-12 09:19:15 +0200 1.12 ++++ configure 2010-01-07 18:10:28 +0100 1.13 +@@ -2821,7 +2821,7 @@ 1.14 + # Check whether --enable-expert-mode was given. 1.15 + if test "${enable_expert_mode+set}" = set; then 1.16 + enableval=$enable_expert_mode; 1.17 +- ac_enable_expert_mode=yes 1.18 ++ ac_enable_expert_mode=$enableval 1.19 1.20 -+') 1.21 -+ifdef(`USE_MMX',` 1.22 -+ 1.23 - define(`elr',` 1.24 - movd 0(%ebp),s0 1.25 - movd t0,%eax 1.26 -@@ -253,6 +256,9 @@ 1.27 - ') 1.28 + else 1.29 1.30 +@@ -4502,13 +4502,7 @@ 1.31 + if $ac_preproc_ok; then 1.32 + : 1.33 + else 1.34 +- { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5 1.35 +-$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 1.36 +-{ { $as_echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check 1.37 +-See \`config.log' for more details." >&5 1.38 +-$as_echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check 1.39 +-See \`config.log' for more details." >&2;} 1.40 +- { (exit 1); exit 1; }; }; } 1.41 ++ : 1.42 + fi 1.43 1.44 -+') 1.45 -+ifdef(`USE_MMX',` 1.46 -+ 1.47 - C_FUNCTION_BEGIN(aesEncrypt) 1.48 - pushl %edi 1.49 - pushl %esi 1.50 -@@ -364,6 +370,9 @@ 1.51 - pxor 6144(%esi,%edx,8),t2 1.52 - ') 1.53 + ac_ext=c 1.54 +@@ -6170,13 +6164,7 @@ 1.55 + if $ac_preproc_ok; then 1.56 + : 1.57 + else 1.58 +- { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5 1.59 +-$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 1.60 +-{ { $as_echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check 1.61 +-See \`config.log' for more details." >&5 1.62 +-$as_echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check 1.63 +-See \`config.log' for more details." >&2;} 1.64 +- { (exit 1); exit 1; }; }; } 1.65 ++ : 1.66 + fi 1.67 1.68 -+') 1.69 -+ifdef(`USE_MMX',` 1.70 -+ 1.71 - define(`dsft',` 1.72 - movd $1+ 0(%ebp),s0 1.73 - movd t0,%eax 1.74 -@@ -490,6 +499,9 @@ 1.75 - pxor t3,s2 1.76 - ') 1.77 + ac_ext=c 1.78 +@@ -6901,13 +6889,7 @@ 1.79 + if $ac_preproc_ok; then 1.80 + : 1.81 + else 1.82 +- { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5 1.83 +-$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 1.84 +-{ { $as_echo "$as_me:$LINENO: error: C++ preprocessor \"$CXXCPP\" fails sanity check 1.85 +-See \`config.log' for more details." >&5 1.86 +-$as_echo "$as_me: error: C++ preprocessor \"$CXXCPP\" fails sanity check 1.87 +-See \`config.log' for more details." >&2;} 1.88 +- { (exit 1); exit 1; }; }; } 1.89 ++ : 1.90 + fi 1.91 1.92 -+') 1.93 -+ifdef(`USE_MMX',` 1.94 -+ 1.95 - define(`dblock',` 1.96 - sxrk 1.97 - 1.98 + ac_ext=c 1.99 Index: gnu.h.in 1.100 ---- gnu.h.in.orig 2004-12-19 21:18:48 +0100 1.101 -+++ gnu.h.in 2005-03-08 19:34:03 +0100 1.102 -@@ -48,15 +48,6 @@ 1.103 +--- gnu.h.in.orig 2009-06-18 21:56:25 +0200 1.104 ++++ gnu.h.in 2010-01-07 18:10:08 +0100 1.105 +@@ -59,15 +59,6 @@ 1.106 @TYPEDEF_UINT32_T@ 1.107 @TYPEDEF_UINT64_T@ 1.108