diff options
author | Joe Marcus Clarke <marcus@FreeBSD.org> | 2006-10-15 19:17:04 +0000 |
---|---|---|
committer | Joe Marcus Clarke <marcus@FreeBSD.org> | 2006-10-15 19:17:04 +0000 |
commit | 80be3e095133e02c80b4aa93dab0ac72cf4f9b33 (patch) | |
tree | 45c56fcf704eb5c63acd010d643fcc3a980f0974 /graphics/cairo/files | |
parent | Add MASTER_SITE_GENTOO. (diff) |
Fix the build on 4.X.
Submitted by: shaun
Approved by: portmgr (implicit)
Diffstat (limited to 'graphics/cairo/files')
-rw-r--r-- | graphics/cairo/files/patch-src_cairoint.h | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/graphics/cairo/files/patch-src_cairoint.h b/graphics/cairo/files/patch-src_cairoint.h new file mode 100644 index 000000000000..a9b3ce480918 --- /dev/null +++ b/graphics/cairo/files/patch-src_cairoint.h @@ -0,0 +1,14 @@ +--- src/cairoint.h.orig Sun Oct 15 18:02:35 2006 ++++ src/cairoint.h Sun Oct 15 18:10:11 2006 +@@ -50,6 +50,11 @@ + #include "config.h" + #endif + ++#ifndef INT16_MAX ++#define INT16_MAX 0x7fff ++#define INT16_MIN (-0x7fff-1) ++#endif ++ + #include <assert.h> + #include <stdlib.h> + #include <string.h> |