summaryrefslogtreecommitdiff
path: root/devel
diff options
context:
space:
mode:
authorwiz <wiz@pkgsrc.org>2007-07-20 22:52:44 +0000
committerwiz <wiz@pkgsrc.org>2007-07-20 22:52:44 +0000
commit80043429f499ed97bac58aaf249f40313e71ad6e (patch)
tree5973a26e5bc07d1781d8905e5c1e50b2ea5cbac9 /devel
parenta0378cffcb922eae6d5707d7c0c51eec3a3e8ae9 (diff)
downloadpkgsrc-80043429f499ed97bac58aaf249f40313e71ad6e.tar.gz
Revert update to 1.4.10 because it seems to break autoconf.
(breaking mng, firefox, thunderbird, dosbox and probably others)
Diffstat (limited to 'devel')
-rw-r--r--devel/m4/Makefile6
-rw-r--r--devel/m4/distinfo9
-rw-r--r--devel/m4/patches/patch-aa20
3 files changed, 28 insertions, 7 deletions
diff --git a/devel/m4/Makefile b/devel/m4/Makefile
index 71de47e504f..cbe892d7dd8 100644
--- a/devel/m4/Makefile
+++ b/devel/m4/Makefile
@@ -1,6 +1,7 @@
-# $NetBSD: Makefile,v 1.48 2007/07/19 22:13:43 wiz Exp $
+# $NetBSD: Makefile,v 1.49 2007/07/20 22:52:44 wiz Exp $
-DISTNAME= m4-1.4.10
+DISTNAME= m4-1.4.9
+PKGREVISION= 1
CATEGORIES= devel
MASTER_SITES= ${MASTER_SITE_GNU:=m4/}
@@ -13,7 +14,6 @@ PKG_DESTDIR_SUPPORT= user-destdir
GNU_CONFIGURE= yes
INFO_FILES= # PLIST
-#LICENSE= GPLv3
TEST_TARGET= check
diff --git a/devel/m4/distinfo b/devel/m4/distinfo
index 3ead0b39ed7..2a6a1ca058f 100644
--- a/devel/m4/distinfo
+++ b/devel/m4/distinfo
@@ -1,5 +1,6 @@
-$NetBSD: distinfo,v 1.17 2007/07/19 22:13:43 wiz Exp $
+$NetBSD: distinfo,v 1.18 2007/07/20 22:52:44 wiz Exp $
-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 (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
diff --git a/devel/m4/patches/patch-aa b/devel/m4/patches/patch-aa
new file mode 100644
index 00000000000..3981b0f550c
--- /dev/null
+++ b/devel/m4/patches/patch-aa
@@ -0,0 +1,20 @@
+$NetBSD: patch-aa,v 1.6 2007/07/20 22:52:44 wiz Exp $
+
+avoid the following incorrect behaviour.
+
+% echo "eval(-2/2)" | gm4 -
+2147483647
+
+has been reported on bug-m4@gnu.org
+
+--- 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;
+
+ case MODULO: