diff -Nru ghc-8.0.2/debian/changelog ghc-8.0.2/debian/changelog --- ghc-8.0.2/debian/changelog 2017-08-29 21:10:26.000000000 +0000 +++ ghc-8.0.2/debian/changelog 2017-09-10 00:21:44.000000000 +0000 @@ -1,3 +1,16 @@ +ghc (8.0.2-10+rpi1) buster-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 + * Force llvm cpu and float abi options + [changes introduced in 7.8.4-9+rpi1 by Peter Michael Green] + * no longer set Option "-float-abi=hard" in force-llc-settings, ghc now + sets it without help and setting it twice makes llc fail. + [changed introduced in 7.10.3-2+rpi1 by Peter Michael Green] + * Add call to dh_autoreconf_clean + + -- Raspbian forward porter Sun, 10 Sep 2017 00:21:44 +0000 + ghc (8.0.2-10) unstable; urgency=medium [ John Paul Adrian Glaubitz ] diff -Nru ghc-8.0.2/debian/patches/ARM-VFPv3D16 ghc-8.0.2/debian/patches/ARM-VFPv3D16 --- ghc-8.0.2/debian/patches/ARM-VFPv3D16 2017-08-29 21:10:26.000000000 +0000 +++ ghc-8.0.2/debian/patches/ARM-VFPv3D16 2017-09-10 00:21:43.000000000 +0000 @@ -13,9 +13,10 @@ @@ -420,7 +420,7 @@ )], [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.0.2/debian/patches/force-llc-settings ghc-8.0.2/debian/patches/force-llc-settings --- ghc-8.0.2/debian/patches/force-llc-settings 1970-01-01 00:00:00.000000000 +0000 +++ ghc-8.0.2/debian/patches/force-llc-settings 2017-09-10 00:21:43.000000000 +0000 @@ -0,0 +1,29 @@ +Description: force llc settings to ones that are known to work +Author: Peter Michael Green + +--- +The information above should follow the Patch Tagging Guidelines, please +checkout http://dep.debian.net/deps/dep3/ to learn about the format. Here +are templates for supplementary fields that you might want to add: + +Origin: , +Bug: +Bug-Debian: http://bugs.debian.org/ +Bug-Ubuntu: https://launchpad.net/bugs/ +Forwarded: +Reviewed-By: +Last-Update: + +Index: ghc-8.0.1/compiler/main/SysTools.hs +=================================================================== +--- ghc-8.0.1.orig/compiler/main/SysTools.hs ++++ ghc-8.0.1/compiler/main/SysTools.hs +@@ -360,7 +360,7 @@ initSysTools mbMinusB + sPgm_windres = windres_path, + sPgm_libtool = libtool_path, + sPgm_lo = (lo_prog,[]), +- sPgm_lc = (lc_prog,[]), ++ sPgm_lc = (lc_prog,[Option "-mcpu=arm1176jzf-s"]), + sPgm_i = iserv_prog, + sOpt_L = [], + sOpt_P = [], diff -Nru ghc-8.0.2/debian/patches/series ghc-8.0.2/debian/patches/series --- ghc-8.0.2/debian/patches/series 2017-08-29 21:10:26.000000000 +0000 +++ ghc-8.0.2/debian/patches/series 2017-09-10 00:21:44.000000000 +0000 @@ -11,3 +11,4 @@ use-stage1-binaries-for-install.patch build-unlit-and-hp2ps-twice.patch avoid-CrossCompilerPrefix-stage2.patch +force-llc-settings diff -Nru ghc-8.0.2/debian/rules ghc-8.0.2/debian/rules --- ghc-8.0.2/debian/rules 2017-08-29 21:10:26.000000000 +0000 +++ ghc-8.0.2/debian/rules 2017-09-10 00:21:44.000000000 +0000 @@ -267,6 +267,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