freebsd-ports/japanese/plain2/files/patch-src__macro.h
Rong-En Fan 4d7036c976 - Fix build with gcc 4.x
PR:		ports/131746 (part of)
Submitted by:	Tsurutani Naoki <turutani at scphys.kyoto-u.ac.jp>
2009-03-01 12:19:31 +00:00

17 lines
425 B
C

--- src/macro.h.orig 2009-03-01 20:11:52.000000000 +0800
+++ src/macro.h 2009-03-01 20:12:31.000000000 +0800
@@ -2,6 +2,7 @@
* Copyright (C) 1992,1993 NEC Corporation.
* $Id: macro.h,v 2.6 1994/04/19 10:16:49 uchida Exp $ (NEC)
*/
+#define MAX_MACRO_LEN 320
#define MACRO_MAXARG 10
#define M_DOC_BEGIN 0
@@ -74,5 +75,5 @@
struct macDefs {
int mdef_number;
- char *mdef_def;
+ char mdef_def[MAX_MACRO_LEN];
};