aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorsobomax <sobomax@FreeBSD.org>2003-02-21 02:20:36 +0800
committersobomax <sobomax@FreeBSD.org>2003-02-21 02:20:36 +0800
commitb770506a8f8d5273d876d81651eadca5d762fba7 (patch)
tree539bc399c2729e192ef300d7dfa73905280e880f
parent4b3e5dd0c64f7c37b297e6e8963fb449662a6c1d (diff)
downloadfreebsd-ports-gnome-b770506a8f8d5273d876d81651eadca5d762fba7.tar.gz
freebsd-ports-gnome-b770506a8f8d5273d876d81651eadca5d762fba7.tar.zst
freebsd-ports-gnome-b770506a8f8d5273d876d81651eadca5d762fba7.zip
Unbreak on -current: use INT_MAX instead of MAXINT.
-rw-r--r--x11-fonts/gfe/files/patch-src::glyph.h23
1 files changed, 23 insertions, 0 deletions
diff --git a/x11-fonts/gfe/files/patch-src::glyph.h b/x11-fonts/gfe/files/patch-src::glyph.h
new file mode 100644
index 000000000000..dc8a479e4fdd
--- /dev/null
+++ b/x11-fonts/gfe/files/patch-src::glyph.h
@@ -0,0 +1,23 @@
+
+$FreeBSD$
+
+--- src/glyph.h 2002/08/26 17:43:17 1.1
++++ src/glyph.h 2002/08/26 17:44:14
+@@ -20,7 +20,7 @@
+ #define __GFE_GLYPH_H__
+
+ #include <gtk/gtk.h>
+-#include <values.h>
++#include <limits.h>
+
+ /* macro for type casting */
+ #define GFE_GLYPH(glyph) ((GfeGlyph*)(glyph))
+@@ -29,7 +29,7 @@
+ #define GFE_GLYPH_NO_ENCODING (-1)
+
+ /* constant used to define undefined status of variables */
+-#define GFE_UNDEFINED (MAXINT)
++#define GFE_UNDEFINED (INT_MAX)
+
+ /* macro(s) to access member(s) of GfeGlyph structure */
+ #define GFE_GLYPH_TYPE(glyph) (((glyph)->flags) & 0xFF)