On 14/12/2010 20:02, Søren Sandmann wrote:
> From: Søren Sandmann Pedersen <[email protected]>
> 
> Test the gradients with various transformations, and test cases where
> the gradients are specified with two identical points.
> ---
>  test/Makefile.am           |    5 ++-
>  test/gradient-crash-test.c |  124 +++++++++++++++++++++++++++++--------------
>  2 files changed, 87 insertions(+), 42 deletions(-)

> diff --git a/test/gradient-crash-test.c b/test/gradient-crash-test.c
> index 804f83b..395c469 100644
> --- a/test/gradient-crash-test.c
> +++ b/test/gradient-crash-test.c
> @@ -1,6 +1,7 @@
>  #include <stdio.h>
>  #include <stdlib.h>
> -#include "pixman.h"
> +#include <fenv.h>
> +#include "utils.h"

This seems to have a stray #include <fenv.h>, which causes compilation to fail
when fenv.h doesn't exist, see [1].

Trivial patch to fix attached.

[1] http://tinderbox.freedesktop.org/builds/2010-12-18-0013/logs/pixman/#build
From 476b32857e2801681068ad9edc1e9dbb6adf0d33 Mon Sep 17 00:00:00 2001
From: Jon TURNEY <[email protected]>
Date: Sat, 18 Dec 2010 18:32:39 +0000
Subject: [PATCH pixman] Remove stray #include <fenv.h>

Remove a stray #include <fenv.h> added in commit 
2444b2265abeaf6dcf3df1763bc2711684e63bb8
to fix compilation on platforms which don't have fenv.h

Signed-off-by: Jon TURNEY <[email protected]>
---
 test/gradient-crash-test.c |    1 -
 1 files changed, 0 insertions(+), 1 deletions(-)

diff --git a/test/gradient-crash-test.c b/test/gradient-crash-test.c
index 395c469..c85712d 100644
--- a/test/gradient-crash-test.c
+++ b/test/gradient-crash-test.c
@@ -1,6 +1,5 @@
 #include <stdio.h>
 #include <stdlib.h>
-#include <fenv.h>
 #include "utils.h"
 
 int
-- 
1.7.2.3

_______________________________________________
Pixman mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/pixman

Reply via email to