Commit 77fd2f7d authored by Ilias Tsitsimpis's avatar Ilias Tsitsimpis

ghc: Apply patch to build on GNU/kFreeBSD

parent e0e0ecbd
ghc (8.4.3+dfsg1-5) UNRELEASED; urgency=medium
* Apply patch to build on GNU/kFreeBSD (Closes: #913140)
-- Ilias Tsitsimpis <iliastsi@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).
......
Description: Add kfreebsdgnu to GHC_CONVERT_OS in aclocal.m4
Author: Svante Signell <svante.signell@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"
;;
......@@ -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
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment