summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKeri Harris <keri@gentoo.org>2010-07-24 00:05:32 +0000
committerKeri Harris <keri@gentoo.org>2010-07-24 00:05:32 +0000
commit3700799b7743f7efd2b5d3ac1b08712b9c79410b (patch)
tree8d7e1a4306d53c352fa669a6b43c7c4000e2bbfa /dev-lang/mercury
parentSet SUPPORT_PYTHON_ABIS. (diff)
downloadgentoo-2-3700799b7743f7efd2b5d3ac1b08712b9c79410b.tar.gz
gentoo-2-3700799b7743f7efd2b5d3ac1b08712b9c79410b.tar.bz2
gentoo-2-3700799b7743f7efd2b5d3ac1b08712b9c79410b.zip
Update hlc grade testsuites for MR_sprintf_float fix
(Portage version: 2.1.8.3/cvs/Linux x86_64)
Diffstat (limited to 'dev-lang/mercury')
-rw-r--r--dev-lang/mercury/ChangeLog6
-rw-r--r--dev-lang/mercury/files/mercury-10.04-tests-mercury-float.patch40
-rw-r--r--dev-lang/mercury/mercury-10.04.ebuild3
3 files changed, 47 insertions, 2 deletions
diff --git a/dev-lang/mercury/ChangeLog b/dev-lang/mercury/ChangeLog
index f6454414ce74..a467fda6f066 100644
--- a/dev-lang/mercury/ChangeLog
+++ b/dev-lang/mercury/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for dev-lang/mercury
# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-lang/mercury/ChangeLog,v 1.106 2010/07/22 07:01:16 keri Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-lang/mercury/ChangeLog,v 1.107 2010/07/24 00:05:31 keri Exp $
+
+ 24 Jul 2010; <keri@gentoo.org> mercury-10.04.ebuild,
+ +files/mercury-10.04-tests-mercury-float.patch:
+ Update hlc grade testsuites for MR_sprintf_float fix
22 Jul 2010; <keri@gentoo.org> +files/50mercury-gentoo.el:
Add mercury site-lisp configuration
diff --git a/dev-lang/mercury/files/mercury-10.04-tests-mercury-float.patch b/dev-lang/mercury/files/mercury-10.04-tests-mercury-float.patch
new file mode 100644
index 000000000000..cc63ec07fc48
--- /dev/null
+++ b/dev-lang/mercury/files/mercury-10.04-tests-mercury-float.patch
@@ -0,0 +1,40 @@
+Common subdirectories: mercury-tests-10.04.orig/hard_coded/CVS and mercury-tests-10.04/hard_coded/CVS
+Common subdirectories: mercury-tests-10.04.orig/hard_coded/exceptions and mercury-tests-10.04/hard_coded/exceptions
+Common subdirectories: mercury-tests-10.04.orig/hard_coded/purity and mercury-tests-10.04/hard_coded/purity
+Common subdirectories: mercury-tests-10.04.orig/hard_coded/sub-modules and mercury-tests-10.04/hard_coded/sub-modules
+Common subdirectories: mercury-tests-10.04.orig/hard_coded/typeclasses and mercury-tests-10.04/hard_coded/typeclasses
+diff -u mercury-tests-10.04.orig/hard_coded/write_reg1.exp3 mercury-tests-10.04/hard_coded/write_reg1.exp3
+--- mercury-tests-10.04.orig/hard_coded/write_reg1.exp3 2007-02-22 18:35:31.000000000 +1300
++++ mercury-tests-10.04/hard_coded/write_reg1.exp3 2010-07-24 11:57:06.000000000 +1200
+@@ -23,8 +23,8 @@
+ 'a'
+ '&'
+ 3.14159
+-1.12832498300000e-21
+-2.23954899000000e+23
++1.128324983e-21
++2.23954899e+23
+ -65
+ 4
+ univ_cons(["hi! I\'m a univ!"])
+diff -u mercury-tests-10.04.orig/hard_coded/write_xml.exp2 mercury-tests-10.04/hard_coded/write_xml.exp2
+--- mercury-tests-10.04.orig/hard_coded/write_xml.exp2 2007-02-22 18:35:31.000000000 +1300
++++ mercury-tests-10.04/hard_coded/write_xml.exp2 2010-07-24 11:56:36.000000000 +1200
+@@ -25,7 +25,7 @@
+ <Int type="int">123456</Int>
+ <Tuple--2--Tag_-123character-44-32float-125 functor="{}" type="{character, float}" arity="2">
+ <Char type="character">a</Char>
+- <Float type="float">1.23553225220000e-97</Float>
++ <Float type="float">1.2355322522e-97</Float>
+ </Tuple--2--Tag_-123character-44-32float-125>
+ </Tuple--3--Tag_-123string-44-32int-44-32-123character-44-32float-125-125>
+ </a_tuple--1--write_xml-46mytype>
+@@ -404,7 +404,7 @@
+ <Int type="int">123456</Int>
+ <Tuple functor="{}" type="{character, float}" arity="2">
+ <Char type="character">a</Char>
+- <Float type="float">1.23553225220000e-97</Float>
++ <Float type="float">1.2355322522e-97</Float>
+ </Tuple>
+ </Tuple>
+ </a_tuple>
diff --git a/dev-lang/mercury/mercury-10.04.ebuild b/dev-lang/mercury/mercury-10.04.ebuild
index ac174705d705..8ca605ec33ff 100644
--- a/dev-lang/mercury/mercury-10.04.ebuild
+++ b/dev-lang/mercury/mercury-10.04.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2010 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-lang/mercury/mercury-10.04.ebuild,v 1.1 2010/07/19 09:25:31 keri Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-lang/mercury/mercury-10.04.ebuild,v 1.2 2010/07/24 00:05:32 keri Exp $
inherit elisp-common eutils flag-o-matic java-pkg-opt-2 multilib
@@ -46,6 +46,7 @@ src_unpack() {
if use test; then
epatch "${FILESDIR}"/${P}-tests-workspace.patch
epatch "${FILESDIR}"/${P}-tests-sandbox.patch
+ epatch "${FILESDIR}"/${P}-tests-mercury-float.patch
fi
}