pkgsrc/x11/pixman/patches/patch-aa

24 lines
608 B
Text

$NetBSD: patch-aa,v 1.2 2008/01/18 03:12:41 bjs Exp $
Not only OpenBSD has <inttypes.h>.
--- pixman/pixman.h.orig 2007-12-17 18:50:58.000000000 -0500
+++ pixman/pixman.h
@@ -75,7 +75,7 @@ SOFTWARE.
#if defined (__SVR4) && defined (__sun)
# include <sys/int_types.h>
# include <stdint.h>
-#elif defined (__OpenBSD__)
+#elif defined (HAVE_INTTYPES_H)
# include <inttypes.h>
#elif defined (_MSC_VER)
typedef __int8 int8_t;
@@ -370,7 +370,7 @@ pixman_bool_t pixman_fill (uint32_t *bit
int y,
int width,
int height,
- uint32_t xor);
+ uint32_t _xor);
/*
* Images
*/