From 80be3e095133e02c80b4aa93dab0ac72cf4f9b33 Mon Sep 17 00:00:00 2001 From: Joe Marcus Clarke Date: Sun, 15 Oct 2006 19:17:04 +0000 Subject: [PATCH] Fix the build on 4.X. Submitted by: shaun Approved by: portmgr (implicit) --- graphics/cairo/files/patch-src_cairoint.h | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 graphics/cairo/files/patch-src_cairoint.h 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 + #include + #include