1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-10-20 20:09:11 +00:00

Fix build on -CURRENT.

Notified by:	bento
This commit is contained in:
Christian Weisgerber 2002-11-30 01:09:55 +00:00
parent f863daabed
commit d0a57d830c
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=71238
4 changed files with 38 additions and 14 deletions

View File

@ -19,6 +19,4 @@ USE_GNOMENG= yes
USE_GNOME= gtk12
USE_XPM= yes
NO_MAN=
.include <bsd.port.mk>

View File

@ -12,18 +12,6 @@ diff -u src.dist/auxil.c src/auxil.c
#include "auxil.h"
Only in src.dist: auxil.o
diff -u src.dist/bdf.c src/bdf.c
--- src.dist/bdf.c Thu Dec 27 06:00:20 2001
+++ src/bdf.c Thu Dec 27 06:01:59 2001
@@ -18,7 +18,7 @@
#include <gtk/gtk.h>
#include <ctype.h>
-#include <malloc.h>
+#include <stdlib.h>
#include "auxil.h"
#include "bdf.h"
diff -u src.dist/bitmap.c src/bitmap.c
--- src.dist/bitmap.c Thu Dec 27 06:00:20 2001
+++ src/bitmap.c Thu Dec 27 06:01:59 2001

View File

@ -0,0 +1,15 @@
$FreeBSD$
--- src/bdf.c.orig Tue Jun 27 12:36:09 2000
+++ src/bdf.c Sat Nov 30 02:04:14 2002
@@ -18,7 +18,8 @@
#include <gtk/gtk.h>
#include <ctype.h>
-#include <malloc.h>
+#include <stdlib.h>
+#include <string.h>
#include "auxil.h"
#include "bdf.h"

View File

@ -0,0 +1,23 @@
$FreeBSD$
--- src/glyph.h.orig Sat Nov 30 02:01:40 2002
+++ src/glyph.h Sat Nov 30 02:06:16 2002
@@ -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)