diff options
author | Richard Purdie <rpurdie@linux.intel.com> | 2010-09-01 19:09:11 +0100 |
---|---|---|
committer | Richard Purdie <rpurdie@linux.intel.com> | 2010-09-01 19:09:57 +0100 |
commit | d62ee7eaf2ba025c3f64b2d4e10dc7cec4637612 (patch) | |
tree | f36fe3008f36ff75cbdd31b630f8f13f1f205ebb /meta/recipes-support/beecrypt/beecrypt/disable-icu-check.patch | |
parent | caab7fc509bf27706ff3248689f6afd04225cfda (diff) | |
download | poky-d62ee7eaf2ba025c3f64b2d4e10dc7cec4637612.tar.gz |
packages: Separate out most of the remaining packages into recipes
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
Diffstat (limited to 'meta/recipes-support/beecrypt/beecrypt/disable-icu-check.patch')
-rw-r--r-- | meta/recipes-support/beecrypt/beecrypt/disable-icu-check.patch | 41 |
1 files changed, 41 insertions, 0 deletions
diff --git a/meta/recipes-support/beecrypt/beecrypt/disable-icu-check.patch b/meta/recipes-support/beecrypt/beecrypt/disable-icu-check.patch new file mode 100644 index 0000000000..3e18a87c3f --- /dev/null +++ b/meta/recipes-support/beecrypt/beecrypt/disable-icu-check.patch | |||
@@ -0,0 +1,41 @@ | |||
1 | We are unable to run code at configure time in a cross environemnt, but as we | ||
2 | control the build we can be fairly certain this dependency is met. | ||
3 | |||
4 | JL 05/07/10 | ||
5 | Index: beecrypt-4.1.2/configure.ac | ||
6 | =================================================================== | ||
7 | --- beecrypt-4.1.2.orig/configure.ac 2004-12-21 11:37:56.000000000 +0000 | ||
8 | +++ beecrypt-4.1.2/configure.ac 2010-07-05 16:09:50.390083494 +0100 | ||
9 | @@ -243,32 +243,6 @@ | ||
10 | # Predefines and checks for C++ API support | ||
11 | AH_TEMPLATE([CPPGLUE],[Define to 1 if you want to include the C++ code]) | ||
12 | |||
13 | -if test "$ac_with_cplusplus" = yes; then | ||
14 | - AC_MSG_CHECKING([for IBM's ICU library version >= 2.8]) | ||
15 | - AC_LANG_PUSH(C) | ||
16 | - AC_RUN_IFELSE([ | ||
17 | - AC_LANG_PROGRAM([[#include <unicode/uversion.h>]],[[ | ||
18 | - #if U_ICU_VERSION_MAJOR_NUM < 2 | ||
19 | - exit(1); | ||
20 | - #elif U_ICU_VERSION_MAJOR_NUM == 2 | ||
21 | - # if U_ICU_VERSION_MINOR_NUM < 8 | ||
22 | - exit(1); | ||
23 | - # else | ||
24 | - exit(0); | ||
25 | - # endif | ||
26 | - #else | ||
27 | - exit(0); | ||
28 | - #endif | ||
29 | - ]])],[ | ||
30 | - AC_MSG_RESULT([yes]) | ||
31 | - ],[ | ||
32 | - AC_MSG_RESULT([no]) | ||
33 | - AC_MSG_WARN([disabling cplusplus]) | ||
34 | - ac_with_cplusplus=no | ||
35 | - ]) | ||
36 | - AC_LANG_POP(C) | ||
37 | -fi | ||
38 | - | ||
39 | if test "$ac_with_cplusplus" = yes ; then | ||
40 | AC_DEFINE([CPPGLUE],1) | ||
41 | fi | ||