summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKeri Harris <keri@gentoo.org>2010-09-12 03:17:24 +0000
committerKeri Harris <keri@gentoo.org>2010-09-12 03:17:24 +0000
commit8a851476cb76837450cd406bfacbf6edcd436a03 (patch)
tree915dc83f88355027cc41fc41bc0e930ef1bf2a78 /dev-lang/mercury/files
parentRespect LDFLAGS. Closes #334575 (diff)
downloadgentoo-2-8a851476cb76837450cd406bfacbf6edcd436a03.tar.gz
gentoo-2-8a851476cb76837450cd406bfacbf6edcd436a03.tar.bz2
gentoo-2-8a851476cb76837450cd406bfacbf6edcd436a03.zip
Test char.det_from_char() when checking for bootstrappable mmc
(Portage version: 2.1.8.3/cvs/Linux x86_64)
Diffstat (limited to 'dev-lang/mercury/files')
-rw-r--r--dev-lang/mercury/files/mercury-10.04.1-char-det-from-int.patch12
1 files changed, 12 insertions, 0 deletions
diff --git a/dev-lang/mercury/files/mercury-10.04.1-char-det-from-int.patch b/dev-lang/mercury/files/mercury-10.04.1-char-det-from-int.patch
new file mode 100644
index 000000000000..6440854baf8d
--- /dev/null
+++ b/dev-lang/mercury/files/mercury-10.04.1-char-det-from-int.patch
@@ -0,0 +1,12 @@
+--- mercury-compiler-10.04.1.orig/configure 2010-08-29 19:27:34.000000000 +1200
++++ mercury-compiler-10.04.1/configure 2010-09-12 12:59:51.000000000 +1200
+@@ -3412,7 +3412,8 @@
+ Version >= 8,
+ ac(2) ^ elem(3, 5) = 17,
+ (1 .. 2) = [1, 2],
+- Global = 561
++ Global = 561,
++ char.det_from_int(255) = '\xFF\'
+ ->
+ trace [io(!S)] (
+ io.print("Hello, world\n", !S)