freebsd-ports/x11-fonts/gfe/files/patch-src_glyph.h
Mathieu Arnold 1a8a092d9f Rename all files containing a : in their filename.
While there, run make makepatch on affected ports, and rename patches
accordingly.

Sponsored by:	Absolight
2016-06-17 23:28:04 +00:00

20 lines
568 B
C

--- src/glyph.h.orig 2000-06-27 07:19:31 UTC
+++ src/glyph.h
@@ -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)