ports/131746: fix problem of japanese/plain2

Tsurutani Naoki turutani at scphys.kyoto-u.ac.jp
Mon Feb 16 13:50:03 UTC 2009


>Number:         131746
>Category:       ports
>Synopsis:       fix problem of japanese/plain2
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Mon Feb 16 13:50:01 UTC 2009
>Closed-Date:
>Last-Modified:
>Originator:     Tsurutani Naoki
>Release:        FreeBSD 7.1-STABLE i386
>Organization:
>Environment:
System: FreeBSD h120.65.226.10.32118.vlan.kuins.net 7.1-STABLE FreeBSD 7.1-STABLE #17: Wed Jan 7 11:14:01 JST 2009 turutani at h120.65.226.10.32118.vlan.kuins.net:/usr/local/work/usr/obj/usr/src/sys/POLYMER i386


	
>Description:
	japanese/plain2 is marked as broken now.
	an ad hoc patch is available elsewhere.
	some new fixes might be submitted later by someone,
	but it will be useful if this port becomes unbroken.
	
>How-To-Repeat:
	
>Fix:

--- src/macro.h.orig	2009-02-01 16:53:53.000000000 +0900
+++ src/macro.h	2009-02-01 16:55:03.000000000 +0900
@@ -2,6 +2,8 @@
  * 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 +76,5 @@
 
 struct	macDefs {
 	int	mdef_number;
-	char	*mdef_def;
+	char	mdef_def[MAX_MACRO_LEN];
 };
	


>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list