Bug 122018

Summary: Update port: fix devel/m4 division of negative numbers bug
Product: Ports & Packages Reporter: Hiroki Sato <hrs>
Component: Individual Port(s)Assignee: Ade Lovett <ade>
Status: Closed FIXED    
Severity: Affects Only Me CC: ade
Priority: Normal    
Version: Latest   
Hardware: Any   
OS: Any   
Attachments:
Description Flags
file.diff none

Description Hiroki Sato freebsd_committer freebsd_triage 2008-03-23 16:20:00 UTC
	GNU m4 1.4.9 has a known bug involving division of negative
	numbers so needs to be updated.  This breaks some software
	which depends on GNU m4 like cad/pcb.

	1.4.10 is not the latest version and still has the same bug,
	but the attached patch should fix it and it works.  Although
	upgrading m4 would be problematic since many software depends
	on it, the effect from upgrading to 1.4.10 is small enough.
	This patch to fix the bug has already been submitted to the
	upstream and accepted.

How-To-Repeat: 	% echo "eval(-2/2)" | gm4 -
	2147483647
Comment 1 Edwin Groothuis freebsd_committer freebsd_triage 2008-03-23 16:20:07 UTC
Responsible Changed
From-To: freebsd-ports-bugs->ade

Over to maintainer (via the GNATS Auto Assign Tool)
Comment 2 Ed Maste freebsd_committer freebsd_triage 2008-05-01 18:55:26 UTC
Does the patch-src-eval.c apply to 1.4.9 as well?  Even if we're not
upgrading perhaps we can at least put just that fix in.

-Ed
Comment 3 Hiroki Sato freebsd_committer freebsd_triage 2008-05-01 19:36:39 UTC
----Security_Multipart(Fri_May__2_03_36_39_2008_541)--
Content-Type: Text/Plain; charset=us-ascii
Content-Transfer-Encoding: 7bit

Ed Maste <emaste@freebsd.org> wrote
  in <20080501175526.GA32949@sandvine.com>:

em> Does the patch-src-eval.c apply to 1.4.9 as well?  Even if we're not
em> upgrading perhaps we can at least put just that fix in.

 This patch works for 1.4.9 as well.

 I heard from Ade that he is planning to upgrade this after a test run
 on the package building cluster, BTW.

--
| Hiroki SATO

----Security_Multipart(Fri_May__2_03_36_39_2008_541)--
Content-Type: application/pgp-signature
Content-Transfer-Encoding: 7bit

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.7 (FreeBSD)

iD8DBQBIGg23TyzT2CeTzy0RAmScAKCD96iVdXLKaqnTo8PgPNR8s48BUACePdtW
ff1AsLzuiVg1BmIAKop4F2Q=
=fbI4
-----END PGP SIGNATURE-----

----Security_Multipart(Fri_May__2_03_36_39_2008_541)----
Comment 4 Ade Lovett freebsd_committer freebsd_triage 2008-05-06 05:33:14 UTC
State Changed
From-To: open->closed

This patch is incorporated into ports/123450, scheduled for an -exp run.