From dc7321684695ef29aeacc81b7d0b523244da3b7c Mon Sep 17 00:00:00 2001 From: veego Date: Mon, 26 Feb 2007 19:50:26 +0000 Subject: Add a patch to build it with gcc4 and reset the 'external' maintainer after no reaction from him (this time I waited 11 days, where I still have no reply from my last change which was over an 1 year ago). --- lang/ezm3/Makefile | 6 +++--- lang/ezm3/distinfo | 3 ++- lang/ezm3/patches/patch-ac | 21 +++++++++++++++++++++ 3 files changed, 26 insertions(+), 4 deletions(-) create mode 100644 lang/ezm3/patches/patch-ac (limited to 'lang/ezm3') diff --git a/lang/ezm3/Makefile b/lang/ezm3/Makefile index f2dc01af6d2..a1b70d35c3c 100644 --- a/lang/ezm3/Makefile +++ b/lang/ezm3/Makefile @@ -1,12 +1,12 @@ -# $NetBSD: Makefile,v 1.16 2007/02/22 19:26:37 wiz Exp $ +# $NetBSD: Makefile,v 1.17 2007/02/26 19:50:26 veego Exp $ DISTNAME= ezm3-1.2 -PKGREVISION= 1 +PKGREVISION= 2 CATEGORIES= lang MASTER_SITES= ftp://ftp.FreeBSD.org/pub/FreeBSD/development/CVSup/ezm3/ DISTFILES= ${DISTNAME}-src.tar.bz2 ${BOOTSTRAP} -MAINTAINER= motoyuki@bsdclub.org +MAINTAINER= veego@NetBSD.org HOMEPAGE= http://www.polstra.com/projects/freeware/ezm3/ COMMENT= Easier, more portable Modula-3 distribution for building CVSup diff --git a/lang/ezm3/distinfo b/lang/ezm3/distinfo index 4959b4a5d04..9d44b05abab 100644 --- a/lang/ezm3/distinfo +++ b/lang/ezm3/distinfo @@ -1,4 +1,4 @@ -$NetBSD: distinfo,v 1.6 2006/01/02 23:19:41 veego Exp $ +$NetBSD: distinfo,v 1.7 2007/02/26 19:50:26 veego Exp $ SHA1 (ezm3/ezm3-1.2-src.tar.bz2) = 2a284baac3be18a17e1fa49ab3b0b346f1a5dd68 RMD160 (ezm3/ezm3-1.2-src.tar.bz2) = a94b86a5f177e4f3ed242d93e21b079ee37c4454 @@ -16,3 +16,4 @@ SHA1 (ezm3/ezm3-1.2-LINUXLIBC6-boot.tar.bz2) = de6080f0e3e2bf6c2ac8a26f975b1cfe6 RMD160 (ezm3/ezm3-1.2-LINUXLIBC6-boot.tar.bz2) = bc3f240dce4c49df40d351d52f4edaf6be858a9b Size (ezm3/ezm3-1.2-LINUXLIBC6-boot.tar.bz2) = 1445569 bytes SHA1 (patch-ab) = d7ca4b997caacdd9a6eb16d13530dc1e9343ea1a +SHA1 (patch-ac) = 297efa1a8c8fdc33060734565ad19113903acd5d diff --git a/lang/ezm3/patches/patch-ac b/lang/ezm3/patches/patch-ac new file mode 100644 index 00000000000..8be2d1c35ea --- /dev/null +++ b/lang/ezm3/patches/patch-ac @@ -0,0 +1,21 @@ +$NetBSD: patch-ac,v 1.1 2007/02/26 19:50:27 veego Exp $ + +Patch from http://mail-index.netbsd.org/tech-toolchain/2005/09/22/0004.html + +--- language/modula3/m3compiler/m3cc/gcc/gcc/read-rtl.c.orig 2003-01-11 21:58:40.000000000 +0100 ++++ language/modula3/m3compiler/m3cc/gcc/gcc/read-rtl.c 2007-01-06 17:08:03.000000000 +0100 +@@ -657,9 +657,13 @@ + obstack_init (&vector_stack); + while ((c = read_skip_spaces (infile)) && c != ']') + { ++ rtx tmp; + ungetc (c, infile); + list_counter++; +- obstack_ptr_grow (&vector_stack, (PTR) read_rtx (infile)); ++ ++ tmp = read_rtx (infile); ++ obstack_grow (&vector_stack, &tmp, sizeof(rtx)); ++ /* obstack_ptr_grow (&vector_stack, (PTR) read_rtx (infile)); */ + } + if (list_counter > 0) + { -- cgit v1.2.3