summaryrefslogtreecommitdiffstats
path: root/x11-fonts
diff options
context:
space:
mode:
authorsobomax <sobomax@FreeBSD.org>2003-02-20 18:20:36 +0000
committersobomax <sobomax@FreeBSD.org>2003-02-20 18:20:36 +0000
commitb770506a8f8d5273d876d81651eadca5d762fba7 (patch)
tree539bc399c2729e192ef300d7dfa73905280e880f /x11-fonts
parent4b3e5dd0c64f7c37b297e6e8963fb449662a6c1d (diff)
downloadFreeBSD-ports-b770506a8f8d5273d876d81651eadca5d762fba7.zip
FreeBSD-ports-b770506a8f8d5273d876d81651eadca5d762fba7.tar.gz
Unbreak on -current: use INT_MAX instead of MAXINT.
Diffstat (limited to 'x11-fonts')
-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 0000000..dc8a479
--- /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)
OpenPOWER on IntegriCloud