summaryrefslogtreecommitdiff
path: root/x11-fonts/gfe
diff options
context:
space:
mode:
authorMaxim Sobolev <sobomax@FreeBSD.org>2003-02-20 18:20:36 +0000
committerMaxim Sobolev <sobomax@FreeBSD.org>2003-02-20 18:20:36 +0000
commitea1cd5ed25b9e5ced62ffe817efdefbcc6e56d09 (patch)
tree0c3562a153e944b43828d168ae42a2ee4881a8e0 /x11-fonts/gfe
parentActually enable all those nifty new features. (diff)
Unbreak on -current: use INT_MAX instead of MAXINT.
Notes
Notes: svn path=/head/; revision=75964
Diffstat (limited to 'x11-fonts/gfe')
-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)