summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'dev-lang/mercury/files/mercury-0.12.2-bootstrap.patch')
-rw-r--r--dev-lang/mercury/files/mercury-0.12.2-bootstrap.patch124
1 files changed, 0 insertions, 124 deletions
diff --git a/dev-lang/mercury/files/mercury-0.12.2-bootstrap.patch b/dev-lang/mercury/files/mercury-0.12.2-bootstrap.patch
deleted file mode 100644
index 32a2e6fbd921..000000000000
--- a/dev-lang/mercury/files/mercury-0.12.2-bootstrap.patch
+++ /dev/null
@@ -1,124 +0,0 @@
---- mercury-compiler-0.12.2.orig/configure 2006-01-25 17:24:01.000000000 +1300
-+++ mercury-compiler-0.12.2/configure 2006-07-24 20:11:45.000000000 +1200
-@@ -7232,21 +7232,21 @@
-
- echo "$as_me:$LINENO: result: $mercury_cv_unboxed_floats" >&5
- echo "${ECHO_T}$mercury_cv_unboxed_floats" >&6
--if test "$mercury_cv_unboxed_floats" = yes; then
-- if test "$BOOTSTRAP_MC" = ""; then
-- { echo "$as_me:$LINENO: WARNING: Mercury compiler not yet installed -
--**** cannot use unboxed floats, bootstrapping using boxed floats
--**** after installation is complete you may want to reinstall
--**** from scratch so you can use unboxed floats, which are more
--**** efficient." >&5
--echo "$as_me: WARNING: Mercury compiler not yet installed -
--**** cannot use unboxed floats, bootstrapping using boxed floats
--**** after installation is complete you may want to reinstall
--**** from scratch so you can use unboxed floats, which are more
--**** efficient." >&2;}
-- mercury_cv_unboxed_floats=no
-- fi
--fi
-+#if test "$mercury_cv_unboxed_floats" = yes; then
-+# if test "$BOOTSTRAP_MC" = ""; then
-+# { echo "$as_me:$LINENO: WARNING: Mercury compiler not yet installed -
-+#**** cannot use unboxed floats, bootstrapping using boxed floats
-+#**** after installation is complete you may want to reinstall
-+#**** from scratch so you can use unboxed floats, which are more
-+#**** efficient." >&5
-+#echo "$as_me: WARNING: Mercury compiler not yet installed -
-+#**** cannot use unboxed floats, bootstrapping using boxed floats
-+#**** after installation is complete you may want to reinstall
-+#**** from scratch so you can use unboxed floats, which are more
-+#**** efficient." >&2;}
-+# mercury_cv_unboxed_floats=no
-+# fi
-+#fi
- if test "$mercury_cv_unboxed_floats" = yes; then
- HAVE_BOXED_FLOATS="--unboxed-float"
- else
-@@ -8790,34 +8790,34 @@
-
- if test "$BEST_GRADE_FOR_COMPILER" != "$BOOTSTRAP_GRADE"; then
- if test "$BOOTSTRAP_MC" = ""; then
-- GRADE="$BOOTSTRAP_GRADE"
-- { echo "$as_me:$LINENO: WARNING: Mercury compiler not yet installed
--**** cannot use grade \`$BEST_GRADE_FOR_COMPILER'
--**** using grade \`$GRADE' to compile the compiler
--**** after installation is complete you should reinstall
--**** from scratch so you can use the more efficient
--**** grade \`$BEST_GRADE_FOR_COMPILER'." >&5
--echo "$as_me: WARNING: Mercury compiler not yet installed
--**** cannot use grade \`$BEST_GRADE_FOR_COMPILER'
--**** using grade \`$GRADE' to compile the compiler
--**** after installation is complete you should reinstall
--**** from scratch so you can use the more efficient
--**** grade \`$BEST_GRADE_FOR_COMPILER'." >&2;}
--
-+ if test "$BOOTSTRAP_STAGE" = "1"; then
-+ GRADE="$BOOTSTRAP_GRADE"
-+ else
-+ GRADE=$BEST_GRADE_FOR_COMPILER
-+ find library compiler browser mdbcomp analysis \
-+ profiler deep_profiler \
-+ -name \*.c -o -name \*.c_date | \
-+ xargs rm > /dev/null 2>&1
-+ find -name \*.o -o -name \*.pic_o -o \
-+ -name \*.a -o -name \*.so | \
-+ xargs rm > /dev/null 2>&1
-+ rm -f compiler/mercury_compile profiler/mercury_profile
-+ fi
- else
-- GRADE=$BEST_GRADE_FOR_COMPILER
-- echo "using grade \`$GRADE' to compile the compiler
-- compiler and library will be rebuilt with new grade
-- installation may take a long time" 1>&6
-- find library compiler browser mdbcomp analysis \
-- profiler deep_profiler \
-- -name \*.c -o -name \*.c_date | \
-- xargs rm > /dev/null 2>&1
-+ if test "$BOOTSTRAP_STAGE" = "1"; then
-+ GRADE=$BEST_GRADE_FOR_COMPILER
-+ find library compiler browser mdbcomp analysis \
-+ profiler deep_profiler \
-+ -name \*.c -o -name \*.c_date | \
-+ xargs rm > /dev/null 2>&1
-+ else
-+ GRADE=$BEST_GRADE_FOR_COMPILER
-+ fi
- fi
- else
- GRADE=$BEST_GRADE_FOR_COMPILER
-- echo "using grade \`$GRADE' to compile the compiler" 1>&6
- fi
-+echo "using grade \`$GRADE' to compile the compiler" 1>&6
-
-
- #-----------------------------------------------------------------------------#
-@@ -9980,10 +9980,10 @@
-
- fi
- #-----------------------------------------------------------------------------#
--if test "$BOOTSTRAP_MC" = ""; then
-- BOOTSTRAP_MC=mmc
--fi
--BOOTSTRAP_MC="$BOOTSTRAP_MC $HAVE_BOXED_FLOATS --conf-low-tag-bits $LOW_TAG_BITS --bits-per-word $BITS_PER_WORD --bytes-per-word $BYTES_PER_WORD"
-+#if test "$BOOTSTRAP_MC" = ""; then
-+# BOOTSTRAP_MC=mmc
-+#fi
-+#BOOTSTRAP_MC="$BOOTSTRAP_MC $HAVE_BOXED_FLOATS --conf-low-tag-bits $LOW_TAG_BITS --bits-per-word $BITS_PER_WORD --bytes-per-word $BYTES_PER_WORD"
-
- #-----------------------------------------------------------------------------#
-
-@@ -12010,6 +12010,11 @@
- rm -f confscratch $to_delete
- fi
- #-----------------------------------------------------------------------------#
-+if test "$BOOTSTRAP_MC" = ""; then
-+ BOOTSTRAP_MC=mmc
-+fi
-+BOOTSTRAP_MC="$BOOTSTRAP_MC $HAVE_BOXED_FLOATS --conf-low-tag-bits $LOW_TAG_BITS --bits-per-word $BITS_PER_WORD --bytes-per-word $BYTES_PER_WORD"
-+#-----------------------------------------------------------------------------#
-
- echo "$as_me:$LINENO: checking for C shell executable" >&5
- echo $ECHO_N "checking for C shell executable... $ECHO_C" >&6