Hello community, here is the log from the commit of package ghc for openSUSE:Factory checked in at 2014-05-13 20:43:57 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/ghc (Old) and /work/SRC/openSUSE:Factory/.ghc.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "ghc" Changes: -------- --- /work/SRC/openSUSE:Factory/ghc/ghc.changes 2013-12-19 21:36:56.000000000 +0100 +++ /work/SRC/openSUSE:Factory/.ghc.new/ghc.changes 2014-05-13 20:43:59.000000000 +0200 @@ -1,0 +2,5 @@ +Sat May 10 19:30:44 UTC 2014 - [email protected] + +- Enable ppc64le (ghc-ppc64le.patch) + +------------------------------------------------------------------- New: ---- ghc-ppc64le.patch ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ ghc.spec ++++++ --- /var/tmp/diff_new_pack.8DFdwN/_old 2014-05-13 20:44:02.000000000 +0200 +++ /var/tmp/diff_new_pack.8DFdwN/_new 2014-05-13 20:44:02.000000000 +0200 @@ -1,7 +1,7 @@ # # spec file for package ghc # -# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -16,7 +16,7 @@ # -%global unregisterised_archs ppc64 s390 s390s +%global unregisterised_archs ppc64 ppc64le s390 s390s %ifarch %{unregisterised_archs} %global ghc_without_shared 1 @@ -29,7 +29,7 @@ Summary: The Glorious Glasgow Haskell Compiler License: BSD-3-Clause Group: Development/Languages/Other -ExclusiveArch: %{ix86} x86_64 ppc ppc64 +ExclusiveArch: %{ix86} x86_64 ppc ppc64 ppc64le BuildRequires: ghc-bytestring-devel BuildRequires: ghc-compiler >= 7.0 @@ -109,6 +109,7 @@ Patch8: llvm-powerpc64-datalayout.patch # PATCH-FIX-OPENSUSE [email protected] - Remove versions in library docdirs. Required for compatibility with ghc-rpm-macros 1.0 and up. Can be removed once we move to ghc 7.8.x. Fedora patch 16. Patch9: ghc-cabal-unversion-docdir.patch +Patch10: ghc-ppc64le.patch BuildRoot: %{_tmppath}/%{name}-%{version}-build @@ -212,6 +213,7 @@ %patch7 -p1 %patch8 -p1 %patch9 -p1 +%patch10 -p1 %build # required for patch and patch1 ++++++ ghc-ppc64le.patch ++++++ Index: ghc-7.6.3/aclocal.m4 =================================================================== --- ghc-7.6.3.orig/aclocal.m4 +++ ghc-7.6.3/aclocal.m4 @@ -173,7 +173,7 @@ AC_DEFUN([FPTOOLS_SET_HASKELL_PLATFORM_V GET_ARM_ISA() test -z "[$]2" || eval "[$]2=\"ArchARM {armISA = \$ARM_ISA, armISAExt = \$ARM_ISA_EXT, armABI = \$ARM_ABI}\"" ;; - alpha|mips|mipseb|mipsel|hppa|hppa1_1|ia64|m68k|rs6000|s390|s390x|sparc64|vax) + alpha|mips|mipseb|mipsel|hppa|hppa1_1|ia64|m68k|powerpc64le|rs6000|s390|s390x|sparc64|vax) test -z "[$]2" || eval "[$]2=ArchUnknown" ;; *) @@ -1883,6 +1883,9 @@ case "$1" in mips*) $2="mips" ;; + powerpc64le*) + $2="powerpc64le" + ;; powerpc64*) $2="powerpc64" ;; Index: ghc-7.6.3/includes/Stg.h =================================================================== --- ghc-7.6.3.orig/includes/Stg.h +++ ghc-7.6.3/includes/Stg.h @@ -213,7 +213,7 @@ typedef StgFunPtr F_; #define II_(X) static StgWordArray (X) GNU_ATTRIBUTE(aligned (8)) #define IF_(f) static StgFunPtr GNUC3_ATTRIBUTE(used) f(void) #define FN_(f) StgFunPtr f(void) -#define EF_(f) extern StgFunPtr f(void) +#define EF_(f) extern StgFunPtr f() /* ----------------------------------------------------------------------------- Tail calls -- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
