aboutsummaryrefslogtreecommitdiffstats
path: root/graphics
diff options
context:
space:
mode:
authormarcus <marcus@FreeBSD.org>2006-10-16 03:17:04 +0800
committermarcus <marcus@FreeBSD.org>2006-10-16 03:17:04 +0800
commit0862b7a6d3ec2e41dbe16621882e61d7188c2ad6 (patch)
treef23e9f70171cbc7e50bba86b24500012241c666c /graphics
parentc5bb66c48175bd3e14f50b6fe62c4e65a555ef4f (diff)
downloadfreebsd-ports-gnome-0862b7a6d3ec2e41dbe16621882e61d7188c2ad6.tar.gz
freebsd-ports-gnome-0862b7a6d3ec2e41dbe16621882e61d7188c2ad6.tar.zst
freebsd-ports-gnome-0862b7a6d3ec2e41dbe16621882e61d7188c2ad6.zip
Fix the build on 4.X.
Submitted by: shaun Approved by: portmgr (implicit)
Diffstat (limited to 'graphics')
-rw-r--r--graphics/cairo/files/patch-src_cairoint.h14
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>