[Pkg-haskell-commits] darcs: ghc: Add ppc64el support.

Colin Watson cjwatson at debian.org
Sat Apr 12 01:26:06 UTC 2014


Sat Apr 12 01:25:25 UTC 2014  Colin Watson <cjwatson at debian.org>
  * Add ppc64el support.

    M ./changelog +7
    A ./patches/ppc64el.patch
    M ./patches/series +1

Sat Apr 12 01:25:25 UTC 2014  Colin Watson <cjwatson at debian.org>
  * Add ppc64el support.
diff -rN -u old-ghc/changelog new-ghc/changelog
--- old-ghc/changelog	2014-04-12 01:26:06.291428122 +0000
+++ new-ghc/changelog	2014-04-12 01:26:06.295428121 +0000
@@ -1,3 +1,10 @@
+ghc (7.6.3-10) UNRELEASED; urgency=medium
+
+  * Team upload.
+  * Add ppc64el support.
+
+ -- Colin Watson <cjwatson at debian.org>  Sat, 12 Apr 2014 01:45:44 +0100
+
 ghc (7.6.3-9) unstable; urgency=medium
 
   * Team upload.
diff -rN -u old-ghc/patches/ppc64el.patch new-ghc/patches/ppc64el.patch
--- old-ghc/patches/ppc64el.patch	1970-01-01 00:00:00.000000000 +0000
+++ new-ghc/patches/ppc64el.patch	2014-04-12 01:26:06.311428120 +0000
@@ -0,0 +1,41 @@
+Description: Add ppc64el support
+Author: Colin Watson <cjwatson at ubuntu.com>
+Bug: https://ghc.haskell.org/trac/ghc/ticket/8965
+Last-Update: 2014-04-12
+
+Index: b/aclocal.m4
+===================================================================
+--- a/aclocal.m4
++++ b/aclocal.m4
+@@ -173,7 +173,7 @@
+             GET_ARM_ISA()
+             test -z "[$]2" || eval "[$]2=\"ArchARM {armISA = \$ARM_ISA, armISAExt = \$ARM_ISA_EXT, armABI = \$ARM_ABI}\""
+             ;;
+-        aarch64|alpha|mips|mipseb|mipsel|hppa|hppa1_1|ia64|m68k|rs6000|s390|s390x|sparc64|vax)
++        aarch64|alpha|mips|mipseb|mipsel|hppa|hppa1_1|ia64|m68k|powerpc64le|rs6000|s390|s390x|sparc64|vax)
+             test -z "[$]2" || eval "[$]2=ArchUnknown"
+             ;;
+         *)
+@@ -1868,6 +1868,9 @@
+   mips*)
+     $2="mips"
+     ;;
++  powerpc64le*)
++    $2="powerpc64le"
++    ;;
+   powerpc64*)
+     $2="powerpc64"
+     ;;
+Index: b/includes/Stg.h
+===================================================================
+--- a/includes/Stg.h
++++ b/includes/Stg.h
+@@ -213,7 +213,7 @@
+ #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
diff -rN -u old-ghc/patches/series new-ghc/patches/series
--- old-ghc/patches/series	2014-04-12 01:26:06.291428122 +0000
+++ new-ghc/patches/series	2014-04-12 01:26:06.311428120 +0000
@@ -8,3 +8,4 @@
 llvm-3.3-compat
 64-bit-big-endian
 arm64.patch
+ppc64el.patch




More information about the Pkg-haskell-commits mailing list