From 8a851476cb76837450cd406bfacbf6edcd436a03 Mon Sep 17 00:00:00 2001 From: Keri Harris Date: Sun, 12 Sep 2010 03:17:24 +0000 Subject: Test char.det_from_char() when checking for bootstrappable mmc (Portage version: 2.1.8.3/cvs/Linux x86_64) --- .../mercury/files/mercury-10.04.1-char-det-from-int.patch | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 dev-lang/mercury/files/mercury-10.04.1-char-det-from-int.patch (limited to 'dev-lang/mercury/files') 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) -- cgit v1.2.3-65-gdbad