summaryrefslogtreecommitdiff
path: root/dev-lang/ghc/files
diff options
context:
space:
mode:
Diffstat (limited to 'dev-lang/ghc/files')
-rw-r--r--dev-lang/ghc/files/ghc-8.10.3-C99-typo-ac270.patch12
1 files changed, 12 insertions, 0 deletions
diff --git a/dev-lang/ghc/files/ghc-8.10.3-C99-typo-ac270.patch b/dev-lang/ghc/files/ghc-8.10.3-C99-typo-ac270.patch
new file mode 100644
index 000000000000..762622a07e00
--- /dev/null
+++ b/dev-lang/ghc/files/ghc-8.10.3-C99-typo-ac270.patch
@@ -0,0 +1,12 @@
+autoconf-2.70 does not allow macros with underscores.
+--- a/aclocal.m4
++++ b/aclocal.m4
+@@ -673,7 +673,7 @@ AC_DEFUN([FP_SET_CFLAGS_C99],
+ CPPFLAGS="$$3"
+ unset ac_cv_prog_cc_c99
+ dnl perform detection
+- _AC_PROG_CC_C99
++ AC_PROG_CC_C99
+ fp_cc_c99="$ac_cv_prog_cc_c99"
+ case "x$ac_cv_prog_cc_c99" in
+ x) ;; # noop