diff options
Diffstat (limited to 'meta/recipes-graphics/xorg-lib/pixman/0001-test-utils-Check-for-FE_INVALID-definition-before-us.patch')
-rw-r--r-- | meta/recipes-graphics/xorg-lib/pixman/0001-test-utils-Check-for-FE_INVALID-definition-before-us.patch | 33 |
1 files changed, 0 insertions, 33 deletions
diff --git a/meta/recipes-graphics/xorg-lib/pixman/0001-test-utils-Check-for-FE_INVALID-definition-before-us.patch b/meta/recipes-graphics/xorg-lib/pixman/0001-test-utils-Check-for-FE_INVALID-definition-before-us.patch deleted file mode 100644 index 23cbf53a41..0000000000 --- a/meta/recipes-graphics/xorg-lib/pixman/0001-test-utils-Check-for-FE_INVALID-definition-before-us.patch +++ /dev/null | |||
@@ -1,33 +0,0 @@ | |||
1 | From 0ccd906b904d21536d5ab41c6196760e3e5d72cb Mon Sep 17 00:00:00 2001 | ||
2 | From: Khem Raj <raj.khem@gmail.com> | ||
3 | Date: Tue, 17 May 2016 17:30:00 -0700 | ||
4 | Subject: [PATCH] test/utils: Check for FE_INVALID definition before use | ||
5 | |||
6 | Some architectures e.g. nios2 do not support all exceptions | ||
7 | |||
8 | Signed-off-by: Khem Raj <raj.khem@gmail.com> | ||
9 | --- | ||
10 | Upstream-Status: Submitted [https://gitlab.freedesktop.org/pixman/pixman/merge_requests/24] | ||
11 | |||
12 | test/utils.c | 2 ++ | ||
13 | 1 file changed, 2 insertions(+) | ||
14 | |||
15 | diff --git a/test/utils.c b/test/utils.c | ||
16 | index f8e42a5..fe32b1e 100644 | ||
17 | --- a/test/utils.c | ||
18 | +++ b/test/utils.c | ||
19 | @@ -978,9 +978,11 @@ enable_invalid_exceptions (void) | ||
20 | { | ||
21 | #ifdef HAVE_FENV_H | ||
22 | #ifdef HAVE_FEENABLEEXCEPT | ||
23 | +#ifdef FE_INVALID | ||
24 | feenableexcept (FE_INVALID); | ||
25 | #endif | ||
26 | #endif | ||
27 | +#endif | ||
28 | } | ||
29 | |||
30 | void * | ||
31 | -- | ||
32 | 2.8.2 | ||
33 | |||