mirror of
https://git.freebsd.org/ports.git
synced 2025-07-18 09:49:18 -04:00
Fix the build on 4.X.
Submitted by: shaun Approved by: portmgr (implicit)
This commit is contained in:
parent
e8b3d43a49
commit
80be3e0951
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=175331
1 changed files with 14 additions and 0 deletions
14
graphics/cairo/files/patch-src_cairoint.h
Normal file
14
graphics/cairo/files/patch-src_cairoint.h
Normal file
|
@ -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>
|
Loading…
Add table
Reference in a new issue