From ee3857ac876456535c09c83cc89dfe0ee26d65d3 Mon Sep 17 00:00:00 2001 From: Ade Lovett Date: Fri, 6 Jun 2008 02:36:00 +0000 Subject: Major autotools-related update: automake 1.10 -> 1.10.1 gettext 0.16.1 -> 0.17 libtool 1.5.24 -> 1.5.26 m4 1.4.9 -> 1.4.11 Please see ports/UPDATING entry 20080605 for further information. PR: 123450 Tested by: Full -exp package building run Thanks to: linimon, pav Approved by: portmgr --- devel/m4/files/patch-src-output.c | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 devel/m4/files/patch-src-output.c (limited to 'devel/m4/files/patch-src-output.c') diff --git a/devel/m4/files/patch-src-output.c b/devel/m4/files/patch-src-output.c new file mode 100644 index 000000000000..5d97ec428d22 --- /dev/null +++ b/devel/m4/files/patch-src-output.c @@ -0,0 +1,11 @@ +--- src/output.c.orig 2007-07-05 03:56:06.000000000 +0000 ++++ src/output.c 2007-12-12 03:48:25.000000000 +0000 +@@ -254,2 +254,8 @@ + "Warning: cannot protect diversion across forks")); ++ /* POSIX states that it is undefined whether an append stream starts ++ * at offset 0 or at the end. We want the beginning. ++ */ ++ else if (fseeko (file, 0, SEEK_SET) != 0) ++ M4ERROR ((EXIT_FAILURE, errno, ++ "cannot seek to beginning of diversion")); + return file; -- cgit v1.2.3