Hello community, here is the log from the commit of package ghc for openSUSE:Factory checked in at 2018-06-05 12:53:23 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/ghc (Old) and /work/SRC/openSUSE:Factory/.ghc.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "ghc" Tue Jun 5 12:53:23 2018 rev:60 rq:614065 version:8.4.2 Changes: -------- --- /work/SRC/openSUSE:Factory/ghc/ghc.changes 2018-05-30 12:22:23.719721690 +0200 +++ /work/SRC/openSUSE:Factory/.ghc.new/ghc.changes 2018-06-05 12:53:25.976492251 +0200 @@ -1,0 +2,6 @@ +Fri May 18 06:37:11 UTC 2018 - [email protected] + +- Fix armv7 build by adding armv7l to llvm-targets: + * add_armv7l_target.patch + +------------------------------------------------------------------- New: ---- add_armv7l_target.patch ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ ghc.spec ++++++ --- /var/tmp/diff_new_pack.BsIJX3/_old 2018-06-05 12:53:26.868459581 +0200 +++ /var/tmp/diff_new_pack.BsIJX3/_new 2018-06-05 12:53:26.872459435 +0200 @@ -76,6 +76,8 @@ Requires: ghc-libraries = %{version}-%{release} Source: http://haskell.org/ghc/dist/%{version}/%{name}-%{version}-src.tar.xz Source1: ghc-rpmlintrc +# PATCH-FIX-UPSTREAM add_armv7l_target.patch - add armv7l target to llvm targets +Patch0: add_armv7l_target.patch # PATCH-FIX-UPSTREAM ghc-pie.patch - set linux as default PIE platform Patch35: ghc-pie.patch # PATCH-FIX-OPENSUSE ghc-8.0.2-Cabal-dynlibdir.patch -- Fix shared library directory location. @@ -184,6 +186,7 @@ %prep %setup -q +%patch0 -p1 %patch35 -p1 %patch100 -p1 %patch110 -p1 ++++++ add_armv7l_target.patch ++++++ --- ghc-8.4.2.orig/llvm-targets 2018-05-17 16:06:42.339933828 +0200 +++ ghc-8.4.2/llvm-targets 2018-05-17 16:06:55.035989908 +0200 @@ -4,6 +4,7 @@ ,("arm-unknown-linux-gnueabihf", ("e-m:e-p:32:32-i64:64-v128:64:128-a:0:32-n32-S64", "arm1176jzf-s", "+strict-align")) ,("armv6-unknown-linux-gnueabihf", ("e-m:e-p:32:32-i64:64-v128:64:128-a:0:32-n32-S64", "arm1136jf-s", "+strict-align")) ,("armv7-unknown-linux-gnueabihf", ("e-m:e-p:32:32-i64:64-v128:64:128-a:0:32-n32-S64", "generic", "")) +,("armv7l-unknown-linux-gnueabihf", ("e-m:e-p:32:32-i64:64-v128:64:128-a:0:32-n32-S64", "generic", "")) ,("aarch64-unknown-linux-gnu", ("e-m:e-i8:8:32-i16:16:32-i64:64-i128:128-n32:64-S128", "generic", "+neon")) ,("aarch64-unknown-linux", ("e-m:e-i8:8:32-i16:16:32-i64:64-i128:128-n32:64-S128", "generic", "+neon")) ,("armv7a-unknown-linux-gnueabi", ("e-m:e-p:32:32-i64:64-v128:64:128-a:0:32-n32-S64", "generic", ""))
