diff -Nru ghc-8.8.4/debian/changelog ghc-8.8.4/debian/changelog --- ghc-8.8.4/debian/changelog 2021-10-03 11:27:00.000000000 +0000 +++ ghc-8.8.4/debian/changelog 2021-10-09 20:41:05.000000000 +0000 @@ -1,3 +1,15 @@ +ghc (8.8.4-3+rpi1) bookworm-staging; urgency=medium + + [changes brought forward from 7.6.3-21+rpi1 by Peter Michael Green at Sun, 19 Apr 2015 14:00:16 +0000] + * Change compiler defaults for armv6 + [changed introduced in 7.10.3-2+rpi1 by Peter Michael Green] + * Add call to dh_autoreconf_clean + + [changes brought forward from 8.8.4-2+rpi2 by Peter Michael Green at Thu, 30 Sep 2021 18:21:04 +0000] + * Add upstream patch to fix build with new autoconf. + + -- Raspbian forward porter Sat, 09 Oct 2021 20:41:05 +0000 + ghc (8.8.4-3) unstable; urgency=medium * Disable parallel install to fix races with missing directories diff -Nru ghc-8.8.4/debian/patches/ARM-VFPv3D16 ghc-8.8.4/debian/patches/ARM-VFPv3D16 --- ghc-8.8.4/debian/patches/ARM-VFPv3D16 2021-10-03 11:27:00.000000000 +0000 +++ ghc-8.8.4/debian/patches/ARM-VFPv3D16 2021-10-09 20:41:05.000000000 +0000 @@ -13,9 +13,10 @@ @@ -454,7 +454,7 @@ AC_DEFUN([GET_ARM_ISA], )], [changequote(, )dnl - ARM_ISA=ARMv7 +- ARM_ISA=ARMv7 ++ ARM_ISA=ARMv6 - ARM_ISA_EXT="[VFPv3,NEON]" -+ ARM_ISA_EXT="[VFPv3D16,NEON]" ++ ARM_ISA_EXT="[VFPv2]" changequote([, ])dnl ]) ]) diff -Nru ghc-8.8.4/debian/patches/autoconf-2.71.patch ghc-8.8.4/debian/patches/autoconf-2.71.patch --- ghc-8.8.4/debian/patches/autoconf-2.71.patch 1970-01-01 00:00:00.000000000 +0000 +++ ghc-8.8.4/debian/patches/autoconf-2.71.patch 2021-10-09 20:41:05.000000000 +0000 @@ -0,0 +1,27 @@ +From ad2ef3a13f1eb000eab8e3d64592373b91a52806 Mon Sep 17 00:00:00 2001 +From: Moritz Angermann +Date: Wed, 17 Feb 2021 21:13:07 +0800 +Subject: [PATCH] [configure] Fix _AC_PROG_CC_99 + +_AC_PROG_CC_99 isn't available anymore in recent autoconf versions. +This broke on aarch64-darwin. +--- + aclocal.m4 | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/aclocal.m4 b/aclocal.m4 +index 259db63dbff..99f77d910cf 100644 +--- a/aclocal.m4 ++++ b/aclocal.m4 +@@ -659,7 +659,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 +-- +GitLab + diff -Nru ghc-8.8.4/debian/rules ghc-8.8.4/debian/rules --- ghc-8.8.4/debian/rules 2021-10-03 11:27:00.000000000 +0000 +++ ghc-8.8.4/debian/rules 2021-10-09 20:41:05.000000000 +0000 @@ -291,6 +291,8 @@ rm -f utils/ghc-pwd/dist-boot/Main.o rm -f utils/ghc-pwd/dist-boot/ghc-pwd + dh_autoreconf_clean + rm -f libraries/haskeline/a.out rm -rf utils/ghctags/dist-install