From turutani@scphys.kyoto-u.ac.jp  Mon Feb 16 13:44:01 2009
Return-Path: <turutani@scphys.kyoto-u.ac.jp>
Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34])
	by hub.freebsd.org (Postfix) with ESMTP id CA734106566B
	for <FreeBSD-gnats-submit@freebsd.org>; Mon, 16 Feb 2009 13:44:01 +0000 (UTC)
	(envelope-from turutani@scphys.kyoto-u.ac.jp)
Received: from m101.mbos.jp (mbos141-201.alpenstock.jp [220.156.141.201])
	by mx1.freebsd.org (Postfix) with ESMTP id 60B248FC14
	for <FreeBSD-gnats-submit@freebsd.org>; Mon, 16 Feb 2009 13:44:01 +0000 (UTC)
	(envelope-from turutani@scphys.kyoto-u.ac.jp)
Received: (qmail 23701 invoked from network); 16 Feb 2009 22:44:00 +0900
Received: from softbank218183189199.bbtec.net (HELO h120.65.226.10.32118.vlan.kuins.net) (turutani@mbox.kyoto-inet.or.jp@[218.183.189.199])
          (envelope-sender <turutani@scphys.kyoto-u.ac.jp>)
          by pyongyang.mbos (qmail-ldap-1.03) with SMTP
          for <FreeBSD-gnats-submit@freebsd.org>; 16 Feb 2009 22:44:00 +0900
Received: from h120.65.226.10.32118.vlan.kuins.net (localhost [127.0.0.1])
	by h120.65.226.10.32118.vlan.kuins.net (8.14.3/8.14.3/20071004-1) with ESMTP id n1GDhu3k009955;
	Mon, 16 Feb 2009 22:43:56 +0900 (JST)
	(envelope-from turutani@h120.65.226.10.32118.vlan.kuins.net)
Received: (from turutani@localhost)
	by h120.65.226.10.32118.vlan.kuins.net (8.14.3/8.14.3/Submit) id n1GDhusH009954;
	Mon, 16 Feb 2009 22:43:56 +0900 (JST)
	(envelope-from turutani)
Message-Id: <200902161343.n1GDhusH009954@h120.65.226.10.32118.vlan.kuins.net>
Date: Mon, 16 Feb 2009 22:43:56 +0900 (JST)
From: Tsurutani Naoki <turutani@scphys.kyoto-u.ac.jp>
Reply-To: Tsurutani Naoki <turutani@scphys.kyoto-u.ac.jp>
To: FreeBSD-gnats-submit@freebsd.org
Cc: turutani@scphys.kyoto-u.ac.jp
Subject: fix problem of japanese/plain2
X-Send-Pr-Version: 3.113
X-GNATS-Notify:

>Number:         131746
>Category:       ports
>Synopsis:       fix problem of japanese/plain2
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    rafan
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Mon Feb 16 13:50:01 UTC 2009
>Closed-Date:    Sun Mar 01 12:20:43 UTC 2009
>Last-Modified:  Sun Mar 01 12:20:43 UTC 2009
>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:
Responsible-Changed-From-To: freebsd-ports-bugs->rafan 
Responsible-Changed-By: rafan 
Responsible-Changed-When: Sun Mar 1 12:13:29 UTC 2009 
Responsible-Changed-Why:  
I'll take it. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=131746 

From: dfilter@FreeBSD.ORG (dfilter service)
To: bug-followup@FreeBSD.org
Cc:  
Subject: Re: ports/131746: commit references a PR
Date: Sun,  1 Mar 2009 12:19:46 +0000 (UTC)

 rafan       2009-03-01 12:19:31 UTC
 
   FreeBSD ports repository
 
   Modified files:
     japanese/plain2      Makefile 
   Added files:
     japanese/plain2/files patch-src__macro.h 
   Log:
   - Fix build with gcc 4.x
   
   PR:             ports/131746 (part of)
   Submitted by:   Tsurutani Naoki <turutani at scphys.kyoto-u.ac.jp>
   
   Revision  Changes    Path
   1.18      +1 -5      ports/japanese/plain2/Makefile
   1.1       +17 -0     ports/japanese/plain2/files/patch-src__macro.h (new)
 _______________________________________________
 cvs-all@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/cvs-all
 To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"
 
State-Changed-From-To: open->closed 
State-Changed-By: rafan 
State-Changed-When: Sun Mar 1 12:20:41 UTC 2009 
State-Changed-Why:  
Committed. Thanks! 

http://www.freebsd.org/cgi/query-pr.cgi?pr=131746 
>Unformatted:
