[Git][haskell-team/DHG_packages][master] ghc: Apply patch to build on GNU/kFreeBSD

Ilias Tsitsimpis gitlab at salsa.debian.org
Wed Nov 7 12:45:43 GMT 2018


Ilias Tsitsimpis pushed to branch master at Debian Haskell Group / DHG_packages


Commits:
77fd2f7d by Ilias Tsitsimpis at 2018-11-07T12:43:17Z
ghc: Apply patch to build on GNU/kFreeBSD

- - - - -


3 changed files:

- p/ghc/debian/changelog
- + p/ghc/debian/patches/kfreebsd-aclocal.m4
- p/ghc/debian/patches/series


Changes:

=====================================
p/ghc/debian/changelog
=====================================
@@ -1,3 +1,9 @@
+ghc (8.4.3+dfsg1-5) UNRELEASED; urgency=medium
+
+  * Apply patch to build on GNU/kFreeBSD (Closes: #913140)
+
+ -- Ilias Tsitsimpis <iliastsi at debian.org>  Wed, 07 Nov 2018 14:41:11 +0200
+
 ghc (8.4.3+dfsg1-4) unstable; urgency=medium
 
   * Add missing Breaks+Replaces+Provides (Closes: #910480).


=====================================
p/ghc/debian/patches/kfreebsd-aclocal.m4
=====================================
@@ -0,0 +1,27 @@
+Description: Add kfreebsdgnu to GHC_CONVERT_OS in aclocal.m4
+Author: Svante Signell <svante.signell at gmail.com>
+Bug-Debian: https://bugs.debian.org/913140
+
+Index: b/aclocal.m4
+===================================================================
+--- a/aclocal.m4
++++ b/aclocal.m4
+@@ -1973,7 +1973,7 @@ AC_DEFUN([GHC_CONVERT_OS],[
+         $3="openbsd"
+         ;;
+       # As far as I'm aware, none of these have relevant variants
+-      freebsd|netbsd|dragonfly|hpux|linuxaout|kfreebsdgnu|freebsd2|mingw32|darwin|gnu|nextstep2|nextstep3|sunos4|ultrix|haiku)
++      freebsd|netbsd|dragonfly|hpux|linuxaout|freebsd2|mingw32|darwin|gnu|nextstep2|nextstep3|sunos4|ultrix|haiku)
+         $3="$1"
+         ;;
+       aix*) # e.g. powerpc-ibm-aix7.1.3.0
+@@ -1990,6 +1990,9 @@ AC_DEFUN([GHC_CONVERT_OS],[
+                 #      i686-gentoo-freebsd8.2
+         $3="freebsd"
+         ;;
++      kfreebsd*)
++        $3="kfreebsdgnu"
++        ;;
+       nto-qnx*)
+         $3="nto-qnx"
+         ;;


=====================================
p/ghc/debian/patches/series
=====================================
@@ -14,3 +14,4 @@ armel-revert-ghci-fixes.patch
 fix-build-using-unregisterized-v8.2
 add_-latomic_to_ghc-prim
 haddock-out-of-memory.patch
+kfreebsd-aclocal.m4



View it on GitLab: https://salsa.debian.org/haskell-team/DHG_packages/commit/77fd2f7d2ef23ea9dd5a0279490b310cd22925de

-- 
View it on GitLab: https://salsa.debian.org/haskell-team/DHG_packages/commit/77fd2f7d2ef23ea9dd5a0279490b310cd22925de
You're receiving this email because of your account on salsa.debian.org.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/pkg-haskell-commits/attachments/20181107/c00f8feb/attachment-0001.html>


More information about the Pkg-haskell-commits mailing list