diff options
author | veego <veego> | 2007-02-26 19:50:26 +0000 |
---|---|---|
committer | veego <veego> | 2007-02-26 19:50:26 +0000 |
commit | 3048d3d60a4d0545124ef32539d4d1755670e78e (patch) | |
tree | 8f34e1bc573967d266fc27bb1f5ab85b248c18fa /lang/ezm3/patches | |
parent | d2d130cd59c44dc6b2a6e5e4d52bfa59cf6786e5 (diff) | |
download | pkgsrc-3048d3d60a4d0545124ef32539d4d1755670e78e.tar.gz |
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).
Diffstat (limited to 'lang/ezm3/patches')
-rw-r--r-- | lang/ezm3/patches/patch-ac | 21 |
1 files changed, 21 insertions, 0 deletions
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) + { |