Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 16 Feb 2009 22:43:56 +0900 (JST)
From:      Tsurutani Naoki <turutani@scphys.kyoto-u.ac.jp>
To:        FreeBSD-gnats-submit@FreeBSD.org
Cc:        turutani@scphys.kyoto-u.ac.jp
Subject:   ports/131746: fix problem of japanese/plain2
Message-ID:  <200902161343.n1GDhusH009954@h120.65.226.10.32118.vlan.kuins.net>
Resent-Message-ID: <200902161350.n1GDo2C6023629@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>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@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:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200902161343.n1GDhusH009954>