osc copypac from project:devel:languages:haskell:ghc-8.8.x package:ghc revision:15, using keep-link

OBS-URL: https://build.opensuse.org/package/show/devel:languages:haskell/ghc?expand=0&rev=317
This commit is contained in:
Peter Simons 2020-01-01 15:27:50 +00:00 committed by Git OBS Bridge
parent e835413802
commit 00fc9a21ad
3 changed files with 26 additions and 0 deletions

View File

@ -0,0 +1,17 @@
Index: ghc-8.8.1/includes/stg/MiscClosures.h
===================================================================
--- ghc-8.8.1.orig/includes/stg/MiscClosures.h
+++ ghc-8.8.1/includes/stg/MiscClosures.h
@@ -400,8 +400,12 @@ RTS_FUN_DECL(stg_copySmallMutableArrayzh
RTS_FUN_DECL(stg_casSmallArrayzh);
RTS_FUN_DECL(stg_newMutVarzh);
+#if __GLASGOW_HASKELL__ < 808
+RTS_FUN_DECL(stg_atomicModifyMutVarzh);
+#else
RTS_FUN_DECL(stg_atomicModifyMutVar2zh);
RTS_FUN_DECL(stg_atomicModifyMutVarzuzh);
+#endif
RTS_FUN_DECL(stg_casMutVarzh);
RTS_FUN_DECL(stg_isEmptyMVarzh);

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Tue Dec 31 18:17:24 UTC 2019 - Peter Trommler <ptrommler@icloud.com>
- add fix-unregisterised-v8.4-8.6.patch
* fix build on s390x and riscv64
-------------------------------------------------------------------
Mon Dec 30 12:08:41 UTC 2019 - Peter Trommler <ptrommler@icloud.com>

View File

@ -104,6 +104,8 @@ Patch2: D5212.patch
Patch3: Disable-unboxed-arrays.patch
# PATCH-FIX-UPSTREAM fix-build-using-unregisterized-v8.4.patch
Patch5: fix-build-using-unregisterized-v8.4.patch
# PATCH-FIX-UPSTREAM fix-unregisterised-v8.4-8.6.patch
Patch6: fix-unregisterised-v8.4-8.6.patch
# PATCH-FIX-UPSTREAM ghc-pie.patch - set linux as default PIE platform
Patch35: ghc-pie.patch
# PATCH-FIX-OPENSUSE ghc-8.0.2-Cabal-dynlibdir.patch -- Fix shared library directory location.
@ -226,6 +228,7 @@ except the ghc library, which is installed by the toplevel ghc metapackage.
%patch3 -p1
%endif
%patch5 -p1
%patch6 -p1
%patch35 -p1
%patch100 -p1
%patch110 -p1