[DHG_packages] 01/01: ghc: Platform detection support for sh4
Joachim Breitner
nomeata at moszumanska.debian.org
Sun Dec 6 15:15:51 UTC 2015
This is an automated email from the git hooks/post-receive script.
nomeata pushed a commit to branch master
in repository DHG_packages.
commit 767ce24a1bf0cc47dfd49b797cbe3e578dec7850
Author: Joachim Breitner <mail at joachim-breitner.de>
Date: Sun Dec 6 14:00:40 2015 +0100
ghc: Platform detection support for sh4
---
p/ghc/debian/changelog | 7 ++++++
p/ghc/debian/patches/series | 1 +
.../patches/sh4-platform-detection-support.patch | 28 ++++++++++++++++++++++
3 files changed, 36 insertions(+)
diff --git a/p/ghc/debian/changelog b/p/ghc/debian/changelog
index 22a3198..3e858b0 100644
--- a/p/ghc/debian/changelog
+++ b/p/ghc/debian/changelog
@@ -1,3 +1,10 @@
+ghc (7.10.3-3) unstable; urgency=medium
+
+ * Platform detection support for sh4 (Closes: #807108). Thanks to John Paul
+ Adrian Glaubitz for the patch.
+
+ -- Joachim Breitner <nomeata at debian.org> Sun, 06 Dec 2015 14:00:32 +0100
+
ghc (7.10.3-2) unstable; urgency=medium
* Switch Vcs-Git/Vcs-Browser headers to new location.
diff --git a/p/ghc/debian/patches/series b/p/ghc/debian/patches/series
index 109dc4a..5ff6d1a 100644
--- a/p/ghc/debian/patches/series
+++ b/p/ghc/debian/patches/series
@@ -5,3 +5,4 @@ hurd.diff
buildpath-abi-stability.patch
reproducible-tmp-names
cabal-show-detail-direct.patch
+sh4-platform-detection-support.patch
diff --git a/p/ghc/debian/patches/sh4-platform-detection-support.patch b/p/ghc/debian/patches/sh4-platform-detection-support.patch
new file mode 100644
index 0000000..5c0aa20
--- /dev/null
+++ b/p/ghc/debian/patches/sh4-platform-detection-support.patch
@@ -0,0 +1,28 @@
+Description: Add platform detection support for Renesas SH4
+ This patch adds platform detection support for Renesas
+ SH4 (SuperH) which is called "sh4" in Debian.
+ .
+
+Index: ghc/aclocal.m4
+===================================================================
+--- ghc.orig/aclocal.m4 2015-12-06 13:59:33.338092013 +0100
++++ ghc/aclocal.m4 2015-12-06 13:59:33.334091395 +0100
+@@ -209,7 +209,7 @@
+ mipsel)
+ test -z "[$]2" || eval "[$]2=ArchMipsel"
+ ;;
+- hppa|hppa1_1|ia64|m68k|powerpc64le|rs6000|s390|s390x|sparc64|vax)
++ hppa|hppa1_1|ia64|m68k|powerpc64le|rs6000|s390|s390x|sh4|sparc64|vax)
+ test -z "[$]2" || eval "[$]2=ArchUnknown"
+ ;;
+ *)
+@@ -1979,6 +1979,9 @@
+ s390*)
+ $2="s390"
+ ;;
++ sh4)
++ $2="sh4"
++ ;;
+ sparc64*)
+ $2="sparc64"
+ ;;
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-haskell/DHG_packages.git
More information about the Pkg-haskell-commits
mailing list