Control: tags -1 + patch

this lets the configure step succeed, but the build fails later.

diff -Nru ghc-8.8.4/debian/changelog ghc-8.8.4/debian/changelog
--- ghc-8.8.4/debian/changelog	2020-12-23 22:15:42.000000000 +0000
+++ ghc-8.8.4/debian/changelog	2021-10-01 06:48:44.000000000 +0000
@@ -1,3 +1,9 @@
+ghc (8.8.4-2.1) UNRELEASED; urgency=medium
+
+  * Fix ftbfs with autoconf 2.71. Closes: #995036.
+
+ -- Matthias Klose <d...@debian.org>  Fri, 01 Oct 2021 08:48:44 +0200
+
 ghc (8.8.4-2) unstable; urgency=medium
 
   [ Ilias Tsitsimpis ]
diff -Nru ghc-8.8.4/debian/patches/autoconf-2.71.diff ghc-8.8.4/debian/patches/autoconf-2.71.diff
--- ghc-8.8.4/debian/patches/autoconf-2.71.diff	1970-01-01 00:00:00.000000000 +0000
+++ ghc-8.8.4/debian/patches/autoconf-2.71.diff	2021-10-01 06:43:58.000000000 +0000
@@ -0,0 +1,11 @@
+--- a/aclocal.m4
++++ b/aclocal.m4
+@@ -613,7 +613,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
diff -Nru ghc-8.8.4/debian/patches/series ghc-8.8.4/debian/patches/series
--- ghc-8.8.4/debian/patches/series	2020-12-23 22:15:42.000000000 +0000
+++ ghc-8.8.4/debian/patches/series	2021-10-01 06:42:06.000000000 +0000
@@ -14,3 +14,4 @@
 11f8eef5a9625c77f78a829406c446b615ed6168.patch
 haddock-remove-googleapis-fonts
 fix-big-endian-ffi
+autoconf-2.71.diff

Reply via email to