From ea1cd5ed25b9e5ced62ffe817efdefbcc6e56d09 Mon Sep 17 00:00:00 2001 From: Maxim Sobolev Date: Thu, 20 Feb 2003 18:20:36 +0000 Subject: Unbreak on -current: use INT_MAX instead of MAXINT. --- x11-fonts/gfe/files/patch-src::glyph.h | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 x11-fonts/gfe/files/patch-src::glyph.h (limited to 'x11-fonts/gfe') 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 +-#include ++#include + + /* 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) -- cgit v1.2.3