diff options
Diffstat (limited to 'meta/recipes-support/rng-tools/rng-tools/underquote.patch')
-rw-r--r-- | meta/recipes-support/rng-tools/rng-tools/underquote.patch | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/meta/recipes-support/rng-tools/rng-tools/underquote.patch b/meta/recipes-support/rng-tools/rng-tools/underquote.patch new file mode 100644 index 0000000000..1422571818 --- /dev/null +++ b/meta/recipes-support/rng-tools/rng-tools/underquote.patch | |||
@@ -0,0 +1,31 @@ | |||
1 | Fix underquoted m4 entry. This causes a failure if gcrypt isn't present: | ||
2 | |||
3 | | configure: libgcrypt support disabled | ||
4 | | ../rng-tools-5/configure: line 4345: ac_fn_c_try_link: command not found | ||
5 | | configure: error: in `/media/build1/poky/build/tmp/work/i586-poky-linux/rng-tools/5-r0/build': | ||
6 | |||
7 | RP | ||
8 | 2016/2/16 | ||
9 | |||
10 | Index: rng-tools-5/configure.ac | ||
11 | =================================================================== | ||
12 | --- rng-tools-5.orig/configure.ac | ||
13 | +++ rng-tools-5/configure.ac | ||
14 | @@ -71,7 +71,7 @@ AS_IF( | ||
15 | [test "x$with_libgcrypt" != "xno"], | ||
16 | [ | ||
17 | AC_CHECK_HEADER([gcrypt.h], | ||
18 | - AC_CHECK_LIB( | ||
19 | + [AC_CHECK_LIB( | ||
20 | [gcrypt], | ||
21 | [gcry_check_version], , | ||
22 | [ | ||
23 | @@ -80,7 +80,7 @@ AS_IF( | ||
24 | AC_MSG_NOTICE([libgcrypt support disabled]) | ||
25 | fi | ||
26 | ] | ||
27 | - ), | ||
28 | + )], | ||
29 | [if test "x$with_libgcrypt" != "xcheck"; then | ||
30 | AC_MSG_FAILURE([libgcrypt headers not found]); else | ||
31 | AC_MSG_NOTICE([libgcrypt support disabled]) | ||