freebsd-ports/lang/gcl/files/patch-h_gclincl.h.in
Mikhail Teterin 59b74c075b Let the healing begin by unbreaking. The main thing was to set DBEGIN to
0 as seems to happen with the upcoming version 2.6.8 (not released yet).

Add minor patches to ensure clean build with `-Wall -Werror',
proper definition of HZ, etc.

Instead of explicitly specifying LIB_DEPENDS, convert to USE_TK. Leave the
TCL_VER at 8.4 for now.

Gentoo builds theirs for various platforms -- not just i386 -- so that would
be the next step.
2009-12-07 22:00:26 +00:00

18 lines
432 B
C

--- h/gclincl.h.in 2005-01-15 14:17:18.000000000 -0500
+++ h/gclincl.h.in 2009-12-07 12:11:34.000000000 -0500
@@ -10,7 +10,5 @@
#undef X_DISPLAY_MISSING
-#define DBEGIN 0
-
-#define MAXPAGE 128*1024
+#define MAXPAGE (128*1024*(SIZEOF_LONG>>2)/(1<<(PAGEWIDTH-12)))
#define VSSIZE 128*1024
#define BDSSIZE 2*1024
@@ -205,5 +203,4 @@
#undef HOST_SYSTEM
#undef GCL_GPROF_START
-#undef HZ
/* The number of bytes in a long. */