Don't fallback on C89's isnan/isinf on uclibc which already has them
[proj/hardened-dev.git] / x11-libs / gtk+ / files / gtk+-3.4.4-dont-fallback-c89-uclibc.patch
1 diff -Naur gtk+-3.4.4.orig/gdk/gdkrgba.c gtk+-3.4.4/gdk/gdkrgba.c
2 --- gtk+-3.4.4.orig/gdk/gdkrgba.c       2012-07-15 04:52:45.000000000 +0000
3 +++ gtk+-3.4.4/gdk/gdkrgba.c    2012-11-03 21:25:04.842187979 +0000
4 @@ -28,7 +28,9 @@
5  #include <errno.h>
6  #include <math.h>
7  
8 +#ifndef __UCLIBC__
9  #include "fallback-c89.c"
10 +#endif
11  
12  /**
13   * SECTION:rgba_colors