diff options
Diffstat (limited to 'meta/recipes-support/libgcrypt/files/no-native-gpg-error.patch')
-rw-r--r-- | meta/recipes-support/libgcrypt/files/no-native-gpg-error.patch | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/meta/recipes-support/libgcrypt/files/no-native-gpg-error.patch b/meta/recipes-support/libgcrypt/files/no-native-gpg-error.patch new file mode 100644 index 0000000000..b9a607863d --- /dev/null +++ b/meta/recipes-support/libgcrypt/files/no-native-gpg-error.patch | |||
@@ -0,0 +1,18 @@ | |||
1 | Don't depend on a native libgpg-error to build the test driver, as it's | ||
2 | an optional dependency for some C annotations. | ||
3 | |||
4 | Upstream-Status: Inappropriate | ||
5 | Signed-off-by: Ross Burton <ross.burton@arm.com> | ||
6 | |||
7 | diff --git a/tests/testdrv.c b/tests/testdrv.c | ||
8 | index 0ccde326..6d6abd57 100644 | ||
9 | --- a/tests/testdrv.c | ||
10 | +++ b/tests/testdrv.c | ||
11 | @@ -32,7 +32,6 @@ | ||
12 | # include <fcntl.h> | ||
13 | # include <sys/wait.h> | ||
14 | #endif | ||
15 | -#include <gpg-error.h> /* For some macros. */ | ||
16 | |||
17 | #include "stopwatch.h" | ||
18 | |||