Skip to content

Commit

Permalink
haskell.compiler.ghc946: init at 9.4.6
Browse files Browse the repository at this point in the history
  • Loading branch information
sternenseemann authored and jsoo1 committed Dec 19, 2023
1 parent 46e23c6 commit c3a8412
Show file tree
Hide file tree
Showing 4 changed files with 442 additions and 2 deletions.
15 changes: 15 additions & 0 deletions pkgs/development/compilers/ghc/9.4.6-bytestring-posix-source.patch
@@ -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>

0 comments on commit c3a8412

Please sign in to comment.