pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/devel/m4 Update to 1.4.10nb1. Like previous update to ...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/f93cb387c9be
branches:  trunk
changeset: 531167:f93cb387c9be
user:      wiz <wiz%pkgsrc.org@localhost>
date:      Sun Jul 22 06:34:41 2007 +0000

description:
Update to 1.4.10nb1. Like previous update to 1.4.10, but includes
a patch from Eric Blake that fixes the problem that appeared e.g.
in dosbox or mng.

diffstat:

 devel/m4/Makefile         |   7 ++++---
 devel/m4/distinfo         |  10 +++++-----
 devel/m4/patches/patch-aa |  32 +++++++++++++++-----------------
 3 files changed, 24 insertions(+), 25 deletions(-)

diffs (76 lines):

diff -r 7d53eabb28c2 -r f93cb387c9be devel/m4/Makefile
--- a/devel/m4/Makefile Sun Jul 22 04:33:14 2007 +0000
+++ b/devel/m4/Makefile Sun Jul 22 06:34:41 2007 +0000
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.49 2007/07/20 22:52:44 wiz Exp $
+# $NetBSD: Makefile,v 1.50 2007/07/22 06:34:41 wiz Exp $
 
-DISTNAME=      m4-1.4.9
+DISTNAME=      m4-1.4.10
 PKGREVISION=   1
 CATEGORIES=    devel
 MASTER_SITES=  ${MASTER_SITE_GNU:=m4/}
@@ -13,7 +13,8 @@
 PKG_DESTDIR_SUPPORT=   user-destdir
 
 GNU_CONFIGURE=         yes
-INFO_FILES=            # PLIST
+INFO_FILES=            yes
+#LICENSE=              GPLv3
 
 TEST_TARGET=           check
 
diff -r 7d53eabb28c2 -r f93cb387c9be devel/m4/distinfo
--- a/devel/m4/distinfo Sun Jul 22 04:33:14 2007 +0000
+++ b/devel/m4/distinfo Sun Jul 22 06:34:41 2007 +0000
@@ -1,6 +1,6 @@
-$NetBSD: distinfo,v 1.18 2007/07/20 22:52:44 wiz Exp $
+$NetBSD: distinfo,v 1.19 2007/07/22 06:34:41 wiz Exp $
 
-SHA1 (m4-1.4.9.tar.gz) = 15ad35c65d4c4f2f856687288e7f6b51704d65e1
-RMD160 (m4-1.4.9.tar.gz) = 5833efd8aaec3f60cff9997ca7cf15cc7a7ea3c1
-Size (m4-1.4.9.tar.gz) = 770647 bytes
-SHA1 (patch-aa) = 2cc5688669b1dc5b5ab7ddc46a1912100ea147a4
+SHA1 (m4-1.4.10.tar.gz) = 26d47c893722d683308f5d9fc172a11d5b2ad8a9
+RMD160 (m4-1.4.10.tar.gz) = 0a26a714ce9691006524da7c2c3e2859e7321a95
+Size (m4-1.4.10.tar.gz) = 928375 bytes
+SHA1 (patch-aa) = 426327aabb1f48647b3561439dba0261a49860f3
diff -r 7d53eabb28c2 -r f93cb387c9be devel/m4/patches/patch-aa
--- a/devel/m4/patches/patch-aa Sun Jul 22 04:33:14 2007 +0000
+++ b/devel/m4/patches/patch-aa Sun Jul 22 06:34:41 2007 +0000
@@ -1,20 +1,18 @@
-$NetBSD: patch-aa,v 1.6 2007/07/20 22:52:44 wiz Exp $
-
-avoid the following incorrect behaviour.
+$NetBSD: patch-aa,v 1.7 2007/07/22 06:34:41 wiz Exp $
 
-% echo "eval(-2/2)" | gm4 -
-2147483647
-
-has been reported on bug-m4%gnu.org@localhost
+From Eric Blake -- will be in m4-1.4.11.
 
---- src/eval.c.orig    2007-01-09 16:12:43.000000000 +0000
-+++ src/eval.c
-@@ -721,7 +721,7 @@ mult_term (eval_token et, int32_t *v1)
-           /* Avoid the x86 SIGFPE on INT_MIN / -1.  */
-           *v1 = (int32_t) -(uint32_t) *v1;
-         else
--          *v1 = (int32_t) ((uint32_t) *v1 / (uint32_t) v2);
-+          *v1 = *v1 / v2;
-         break;
+--- src/output.c.orig  2007-07-05 03:56:06.000000000 +0000
++++ src/output.c
+@@ -252,6 +252,11 @@ m4_tmpopen (int divnum)
+   else if (set_cloexec_flag (fileno (file), true) != 0)
+     M4ERROR ((warning_status, errno,
+             "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;
+ }
  
-       case MODULO:



Home | Main Index | Thread Index | Old Index