Hello community,

here is the log from the commit of package ghc for openSUSE:Factory checked in 
at 2018-07-04 23:56:01
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/ghc (Old)
 and      /work/SRC/openSUSE:Factory/.ghc.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "ghc"

Wed Jul  4 23:56:01 2018 rev:62 rq:620525 version:8.4.3

Changes:
--------
--- /work/SRC/openSUSE:Factory/ghc/ghc.changes  2018-06-08 23:14:35.745948696 
+0200
+++ /work/SRC/openSUSE:Factory/.ghc.new/ghc.changes     2018-07-04 
23:56:18.275814452 +0200
@@ -1,0 +2,11 @@
+Sun Jul  1 11:18:37 UTC 2018 - [email protected]
+
+- Fix dependencies on arm and s390x 
+
+-------------------------------------------------------------------
+Sun Jun 17 10:15:27 UTC 2018 - [email protected]
+
+- add fix-ppc64le-recognition.patch
+* recognize powerpc64le as PPC64 in cabal files 
+
+-------------------------------------------------------------------

New:
----
  fix-ppc64le-recognition.patch

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ ghc.spec ++++++
--- /var/tmp/diff_new_pack.hPfQgH/_old  2018-07-04 23:56:19.027813623 +0200
+++ /var/tmp/diff_new_pack.hPfQgH/_new  2018-07-04 23:56:19.027813623 +0200
@@ -82,6 +82,8 @@
 Source1:        ghc-rpmlintrc
 # PATCH-FIX-UPSTREAM  add_armv7l_target.patch - add armv7l target to llvm 
targets
 Patch0:         add_armv7l_target.patch
+# PATCH-FIX-UPSTREAM fix-ppc64le-recognition.patch [email protected] -- 
Recognize powerpc64le as PPC64 in cabal files.
+Patch1:         fix-ppc64le-recognition.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.
@@ -138,6 +140,8 @@
 
 %if %with_libnuma
 %define libnuma_dep ,libnuma-devel
+%else
+%define libnuma_dep %{nil}
 %endif
 
 %if %{defined ghclibdir}
@@ -190,6 +194,7 @@
 %prep
 %setup -q
 %patch0 -p1
+%patch1 -p1
 %patch35 -p1
 %patch100 -p1
 %patch110 -p1

++++++ fix-ppc64le-recognition.patch ++++++
Index: ghc-8.4.3/libraries/Cabal/Cabal/Distribution/System.hs
===================================================================
--- ghc-8.4.3.orig/libraries/Cabal/Cabal/Distribution/System.hs
+++ ghc-8.4.3/libraries/Cabal/Cabal/Distribution/System.hs
@@ -157,7 +157,7 @@ buildOS = classifyOS Permissive System.I
 --
 -- The following aliases can also be used:
 --    * PPC alias: powerpc
---    * PPC64 alias : powerpc64
+--    * PPC64 alias : powerpc64, powerpc64le
 --    * Sparc aliases: sparc64, sun4
 --    * Mips aliases: mipsel, mipseb
 --    * Arm aliases: armeb, armel
@@ -187,7 +187,7 @@ archAliases :: ClassificationStrictness
 archAliases Strict _     = []
 archAliases Compat _     = []
 archAliases _      PPC   = ["powerpc"]
-archAliases _      PPC64 = ["powerpc64"]
+archAliases _      PPC64 = ["powerpc64", "powerpc64le"]
 archAliases _      Sparc = ["sparc64", "sun4"]
 archAliases _      Mips  = ["mipsel", "mipseb"]
 archAliases _      Arm   = ["armeb", "armel"]

Reply via email to