diff options
Diffstat (limited to 'dev-lang/mercury/files')
3 files changed, 159 insertions, 3 deletions
diff --git a/dev-lang/mercury/files/digest-mercury-0.13.0_beta20060615 b/dev-lang/mercury/files/digest-mercury-0.13.0_beta20060615 new file mode 100644 index 000000000000..32f583c74620 --- /dev/null +++ b/dev-lang/mercury/files/digest-mercury-0.13.0_beta20060615 @@ -0,0 +1,6 @@ +MD5 4449e6286edcef47d90b59a086d5a84e mercury-compiler-0.13.0-beta-2006-06-15-unstable.tar.gz 15853119 +RMD160 7fc153df37a7e5977d5dca9abc18763684b8ba12 mercury-compiler-0.13.0-beta-2006-06-15-unstable.tar.gz 15853119 +SHA256 8f207aade2587849daaf2ba0b96e5a06ac84c30d0b50c8c2999e76dbd941ed75 mercury-compiler-0.13.0-beta-2006-06-15-unstable.tar.gz 15853119 +MD5 2f38bc98ac8769282655645652a7c596 mercury-tests-0.13.0-beta-2006-06-15-unstable.tar.gz 980888 +RMD160 21321ee66fc006442d3a80005a24447e7bdfc40d mercury-tests-0.13.0-beta-2006-06-15-unstable.tar.gz 980888 +SHA256 00745f179f8dbb8880bdff85cb4493931d7844247422f892126002b901c0c864 mercury-tests-0.13.0-beta-2006-06-15-unstable.tar.gz 980888 diff --git a/dev-lang/mercury/files/mercury-0.13.0_beta-portage.patch b/dev-lang/mercury/files/mercury-0.13.0_beta-portage.patch index 6727c51c0b56..d4b4cdfbd69b 100644 --- a/dev-lang/mercury/files/mercury-0.13.0_beta-portage.patch +++ b/dev-lang/mercury/files/mercury-0.13.0_beta-portage.patch @@ -18,9 +18,9 @@ # `mmake clean' has a different meaning to the usual GNU standard `make clean': # it removes the .c files, which makes bootstrapping impossible unless you ---- mercury-compiler-0.13.0-beta-2006-04-03.orig/Mmakefile 2005-08-12 03:56:57.000000000 +1200 -+++ mercury-compiler-0.13.0-beta-2006-04-03/Mmakefile 2006-04-04 22:34:34.000000000 +1200 -@@ -483,21 +483,6 @@ +--- mercury-compiler-0.13.0-beta-2006-06-09.orig/Mmakefile 2005-08-12 03:56:57.000000000 +1200 ++++ mercury-compiler-0.13.0-beta-2006-06-09/Mmakefile 2006-06-14 22:46:40.000000000 +1200 +@@ -483,28 +483,13 @@ @echo @echo "-- Installation complete." @echo @@ -42,3 +42,77 @@ .PHONY: install_main install_main: all \ + install_scripts install_util install_runtime install_boehm_gc \ + install_library install_mdbcomp install_browser install_trace \ + install_compiler install_slice install_profiler \ +- install_deep_profiler install_doc install_config ++ install_deep_profiler install_doc + + .PHONY: install_scripts + install_scripts: scripts +--- mercury-compiler-0.13.0-beta-2006-06-09.orig/runtime/Mmakefile 2006-03-30 18:13:48.000000000 +1200 ++++ mercury-compiler-0.13.0-beta-2006-06-09/runtime/Mmakefile 2006-06-14 22:49:57.000000000 +1200 +@@ -434,8 +434,6 @@ + -[ -d $(INSTALL_MODULE_DIR) ] || mkdir -p $(INSTALL_MODULE_DIR) + -[ -d $(INSTALL_MERC_LIB_DIR) ] || mkdir -p $(INSTALL_MERC_LIB_DIR) + -[ -d $(INSTALL_CONF_DIR) ] || mkdir -p $(INSTALL_CONF_DIR) +- -[ -d $(INSTALL_RECONF_DIR)/runtime ] || \ +- mkdir -p $(INSTALL_RECONF_DIR)/runtime + + ifeq ($(findstring java,$(GRADE)),java) + +@@ -481,7 +479,6 @@ + rm -f $(INSTALL_INC_DIR)/mercury_conf.h + cp `vpath_find mercury_conf.h` $(INSTALL_CONF_DIR) + -chmod u+w $(INSTALL_CONF_DIR)/mercury_conf.h +- cp `vpath_find mercury_conf.h.in` $(INSTALL_RECONF_DIR)/runtime + cp `vpath_find $(MACHHDRS)` $(INSTALL_INC_DIR)/machdeps + + .PHONY: install_init +--- mercury-compiler-0.13.0-beta-2006-06-09.orig/scripts/Mmakefile 2006-04-04 19:41:49.000000000 +1200 ++++ mercury-compiler-0.13.0-beta-2006-06-09/scripts/Mmakefile 2006-06-14 22:53:13.000000000 +1200 +@@ -26,16 +26,12 @@ + canonical_grade \ + mdb \ + mdprof \ +- mercury.bat \ +- mercury_config \ + mercury_update_interface \ + mgnuc \ +- mkfifo_using_mknod \ + ml \ + mmake \ + mmc \ +- mprof \ +- prepare_tmp_dir_fixed_part ++ mprof + + SCRIPTS = $(NONCONF_SCRIPTS) $(CONF_SCRIPTS) + +@@ -103,8 +99,6 @@ + [ -d $(INSTALL_LIBDIR)/mdb ] || mkdir -p $(INSTALL_LIBDIR)/mdb + [ -d $(INSTALL_CONF_DIR) ] || mkdir -p $(INSTALL_CONF_DIR) + [ -d $(INSTALL_ELISP_DIR) ] || mkdir -p $(INSTALL_ELISP_DIR) +- [ -d $(INSTALL_RECONF_DIR)/scripts ] || \ +- mkdir -p $(INSTALL_RECONF_DIR)/scripts + + .PHONY: install_mmake + install_mmake: Mmake.vars Mmake.rules install_dirs +@@ -122,7 +116,6 @@ + -for file in $(SCRIPTS); do \ + chmod u+w $(INSTALL_BINDIR)/$$file ;\ + done +- cp *.in *.sh-subr $(SCRIPTS) $(INSTALL_RECONF_DIR)/scripts + -rm -f $(INSTALL_BINDIR)/mmake.old + + .PHONY: install_config +--- mercury-compiler-0.13.0-beta-2006-06-15.orig/configure 2006-06-15 22:36:38.000000000 +1200 ++++ mercury-compiler-0.13.0-beta-2006-06-15/configure 2006-06-17 20:49:30.000000000 +1200 +@@ -9140,7 +9140,6 @@ + enable_mm_grades=no + enable_dmm_grades=no + enable_hlc_prof_grades=no +- enable_par_grades=no + enable_dotnet_grades=no + enable_java_grade=no + fi diff --git a/dev-lang/mercury/files/mercury-0.13.0_beta-tests.patch b/dev-lang/mercury/files/mercury-0.13.0_beta-tests.patch new file mode 100644 index 000000000000..6fcb8daf9a9f --- /dev/null +++ b/dev-lang/mercury/files/mercury-0.13.0_beta-tests.patch @@ -0,0 +1,76 @@ +diff -urN mercury-tests-0.13.0-beta-2006-06-09.orig/hard_coded/dir_test.exp mercury-tests-0.13.0-beta-2006-06-09/hard_coded/dir_test.exp +--- mercury-tests-0.13.0-beta-2006-06-09.orig/hard_coded/dir_test.exp 2003-07-29 03:50:45.000000000 +1200 ++++ mercury-tests-0.13.0-beta-2006-06-09/hard_coded/dir_test.exp 2006-06-14 23:21:55.000000000 +1200 +@@ -130,7 +130,6 @@ + "foo"/"bar/baz" = "foo\bar\baz".
+ "foo/"/"bar/baz" = "foo\bar\baz".
+ checking whether `unwritable' is readable...ok
+-unwritable file found to be unwritable
+ make_directory succeeded
+ make_directory succeeded
+ dir.make_single_directory with non-existent parent failed as expected.
+diff -urN mercury-tests-0.13.0-beta-2006-06-09.orig/hard_coded/dir_test.exp2 mercury-tests-0.13.0-beta-2006-06-09/hard_coded/dir_test.exp2 +--- mercury-tests-0.13.0-beta-2006-06-09.orig/hard_coded/dir_test.exp2 2003-07-29 03:50:45.000000000 +1200 ++++ mercury-tests-0.13.0-beta-2006-06-09/hard_coded/dir_test.exp2 2006-06-14 23:22:25.000000000 +1200 +@@ -127,7 +127,6 @@ + "foo"/"bar/baz" = "foo/bar/baz". + "foo/"/"bar/baz" = "foo/bar/baz". + checking whether `unwritable' is readable...ok +-unwritable file found to be unwritable + make_directory succeeded + make_directory succeeded + dir.make_single_directory with non-existent parent failed as expected. +diff -urN mercury-tests-0.13.0-beta-2006-06-09.orig/hard_coded/dir_test.exp3 mercury-tests-0.13.0-beta-2006-06-09/hard_coded/dir_test.exp3 +--- mercury-tests-0.13.0-beta-2006-06-09.orig/hard_coded/dir_test.exp3 2003-07-29 03:50:45.000000000 +1200 ++++ mercury-tests-0.13.0-beta-2006-06-09/hard_coded/dir_test.exp3 2006-06-14 23:22:52.000000000 +1200 +@@ -130,7 +130,6 @@ + "foo"/"bar/baz" = "foo/bar/baz". + "foo/"/"bar/baz" = "foo/bar/baz". + checking whether `unwritable' is readable...ok +-unwritable file found to be unwritable + make_directory succeeded + make_directory succeeded + dir.make_single_directory with non-existent parent failed as expected. +diff -urN mercury-tests-0.13.0-beta-2006-06-09.orig/hard_coded/dir_test.m mercury-tests-0.13.0-beta-2006-06-09/hard_coded/dir_test.m +--- mercury-tests-0.13.0-beta-2006-06-09.orig/hard_coded/dir_test.m 2006-03-29 20:08:00.000000000 +1200 ++++ mercury-tests-0.13.0-beta-2006-06-09/hard_coded/dir_test.m 2006-06-14 23:21:10.000000000 +1200 +@@ -50,16 +50,6 @@ + io__write(ReadResult), + io__nl, + +- io__check_file_accessibility("unwritable", +- [read, write], WriteResult), +- ( { WriteResult = ok } -> +- io__write_string( +- "Error: unwritable file found to be writable\n") +- ; +- io__write_string( +- "unwritable file found to be unwritable\n") +- ), +- + { Dir1 = "test_dir"/"d1" }, + test0("make_directory", dir__make_directory(Dir1)), + % Test making a directory that already exists. +diff -urN mercury-tests-0.13.0-beta-2006-06-09.orig/mdbrc mercury-tests-0.13.0-beta-2006-06-09/mdbrc +--- mercury-tests-0.13.0-beta-2006-06-09.orig/mdbrc 1970-01-01 12:00:00.000000000 +1200 ++++ mercury-tests-0.13.0-beta-2006-06-09/mdbrc 2006-06-14 22:59:49.000000000 +1200 +@@ -0,0 +1,19 @@ ++source MDB_DOC ++alias s step ++alias g goto ++alias f finish ++alias r retry ++alias v vars ++alias p print ++alias P print * ++alias d stack ++alias c continue ++alias b break ++alias h help ++alias ? help ++alias excp exception ++alias e exception ++alias EMPTY step ++alias NUMBER step ++xml_browser_cmd '' ++xml_tmp_filename '' |