openpkg/beecrypt.patch

changeset 794
07be25b95aca
parent 13
cb59d6afeb61
equal deleted inserted replaced
0:4d91fcd77eba 1:49abb1797328
1 Index: gas/aesopt.x86.m4 1 Index: configure
2 --- gas/aesopt.x86.m4.orig 2004-06-13 13:37:23 +0200 2 --- configure.orig 2009-07-12 09:19:15 +0200
3 +++ gas/aesopt.x86.m4 2004-07-28 20:02:07 +0200 3 +++ configure 2010-01-07 18:10:28 +0100
4 @@ -134,6 +134,9 @@ 4 @@ -2821,7 +2821,7 @@
5 pxor 6144(%esi,%edx,8),s0 5 # Check whether --enable-expert-mode was given.
6 ') 6 if test "${enable_expert_mode+set}" = set; then
7 enableval=$enable_expert_mode;
8 - ac_enable_expert_mode=yes
9 + ac_enable_expert_mode=$enableval
7 10
8 +') 11 else
9 +ifdef(`USE_MMX',`
10 +
11 define(`elr',`
12 movd 0(%ebp),s0
13 movd t0,%eax
14 @@ -253,6 +256,9 @@
15 ')
16 12
13 @@ -4502,13 +4502,7 @@
14 if $ac_preproc_ok; then
15 :
16 else
17 - { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
18 -$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
19 -{ { $as_echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
20 -See \`config.log' for more details." >&5
21 -$as_echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
22 -See \`config.log' for more details." >&2;}
23 - { (exit 1); exit 1; }; }; }
24 + :
25 fi
17 26
18 +') 27 ac_ext=c
19 +ifdef(`USE_MMX',` 28 @@ -6170,13 +6164,7 @@
20 + 29 if $ac_preproc_ok; then
21 C_FUNCTION_BEGIN(aesEncrypt) 30 :
22 pushl %edi 31 else
23 pushl %esi 32 - { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
24 @@ -364,6 +370,9 @@ 33 -$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
25 pxor 6144(%esi,%edx,8),t2 34 -{ { $as_echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
26 ') 35 -See \`config.log' for more details." >&5
36 -$as_echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
37 -See \`config.log' for more details." >&2;}
38 - { (exit 1); exit 1; }; }; }
39 + :
40 fi
27 41
28 +') 42 ac_ext=c
29 +ifdef(`USE_MMX',` 43 @@ -6901,13 +6889,7 @@
30 + 44 if $ac_preproc_ok; then
31 define(`dsft',` 45 :
32 movd $1+ 0(%ebp),s0 46 else
33 movd t0,%eax 47 - { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
34 @@ -490,6 +499,9 @@ 48 -$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
35 pxor t3,s2 49 -{ { $as_echo "$as_me:$LINENO: error: C++ preprocessor \"$CXXCPP\" fails sanity check
36 ') 50 -See \`config.log' for more details." >&5
51 -$as_echo "$as_me: error: C++ preprocessor \"$CXXCPP\" fails sanity check
52 -See \`config.log' for more details." >&2;}
53 - { (exit 1); exit 1; }; }; }
54 + :
55 fi
37 56
38 +') 57 ac_ext=c
39 +ifdef(`USE_MMX',`
40 +
41 define(`dblock',`
42 sxrk
43
44 Index: gnu.h.in 58 Index: gnu.h.in
45 --- gnu.h.in.orig 2004-12-19 21:18:48 +0100 59 --- gnu.h.in.orig 2009-06-18 21:56:25 +0200
46 +++ gnu.h.in 2005-03-08 19:34:03 +0100 60 +++ gnu.h.in 2010-01-07 18:10:08 +0100
47 @@ -48,15 +48,6 @@ 61 @@ -59,15 +59,6 @@
48 @TYPEDEF_UINT32_T@ 62 @TYPEDEF_UINT32_T@
49 @TYPEDEF_UINT64_T@ 63 @TYPEDEF_UINT64_T@
50 64
51 -#if defined(__GNUC__) 65 -#if defined(__GNUC__)
52 -# if !defined(__GNUC_PREREQ__) 66 -# if !defined(__GNUC_PREREQ__)

mercurial