summaryrefslogtreecommitdiff
path: root/dev-lang/ghc/files/ghc-9.0.2-CHOST-prefix.patch
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2022-07-09 15:43:36 +0100
committerV3n3RiX <venerix@koprulu.sector>2022-07-09 15:43:36 +0100
commit2719f73b6813d11d13a9650cdd2ab8ec6e69385d (patch)
tree8c816148bcbd22757d892089c989ae614eae4f5a /dev-lang/ghc/files/ghc-9.0.2-CHOST-prefix.patch
parent0f558761aa2dee1017b4751e4017205e015a9560 (diff)
gentoo resync : 09.07.2022
Diffstat (limited to 'dev-lang/ghc/files/ghc-9.0.2-CHOST-prefix.patch')
-rw-r--r--dev-lang/ghc/files/ghc-9.0.2-CHOST-prefix.patch17
1 files changed, 17 insertions, 0 deletions
diff --git a/dev-lang/ghc/files/ghc-9.0.2-CHOST-prefix.patch b/dev-lang/ghc/files/ghc-9.0.2-CHOST-prefix.patch
new file mode 100644
index 000000000000..204eb3ef7dcd
--- /dev/null
+++ b/dev-lang/ghc/files/ghc-9.0.2-CHOST-prefix.patch
@@ -0,0 +1,17 @@
+Strip versioning components from *HOST for Darwin and Solaris
+
+--- a/m4/fptools.m4
++++ b/m4/fptools.m4
+@@ -1358,6 +1358,12 @@
+ freebsd*)
+ $2="freebsd"
+ ;;
++ darwin*)
++ $2="darwin"
++ ;;
++ solaris2.*)
++ $2="solaris2"
++ ;;
+ *)
+ echo "Unknown OS $1"
+ exit 1