forked from NixOS/nixpkgs
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
haskell.compiler.ghc946: init at 9.4.6
- Loading branch information
1 parent
56b08dc
commit 2e10936
Showing
4 changed files
with
442 additions
and
2 deletions.
There are no files selected for viewing
15 changes: 15 additions & 0 deletions
15
pkgs/development/compilers/ghc/9.4.6-bytestring-posix-source.patch
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
Make sure that the appropriate feature flags are set when | ||
Rts.h is included, so that clockid_t is defined. | ||
|
||
diff --git a/cbits/is-valid-utf8.c b/cbits/is-valid-utf8.c | ||
index 01b3b41..c69596a 100644 | ||
--- a/libraries/bytestring/cbits/is-valid-utf8.c | ||
+++ b/libraries/bytestring/cbits/is-valid-utf8.c | ||
@@ -29,6 +29,7 @@ SUCH DAMAGE. | ||
*/ | ||
#pragma GCC push_options | ||
#pragma GCC optimize("-O2") | ||
+#include "rts/PosixSource.h" | ||
#include <stdbool.h> | ||
#include <stddef.h> | ||
#include <stdint.h> |
Oops, something went wrong.