mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-26 09:46:09 +00:00
lang/ghc: Add patch for timer machinery.
PR: 241849 Submitted by: Kevin Zheng <kevinz5000@gmail.com>
This commit is contained in:
parent
d2ad0f0515
commit
03d81dda1c
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=536651
@ -3,6 +3,7 @@
|
||||
|
||||
PORTNAME= ghc
|
||||
PORTVERSION= ${GHC_VERSION}
|
||||
PORTREVISION= 1
|
||||
CATEGORIES= lang haskell
|
||||
MASTER_SITES= https://www.haskell.org/ghc/dist/${PORTVERSION}/:source \
|
||||
LOCAL/arrowd/:boot \
|
||||
|
11
lang/ghc/files/patch-rts_posix_Itimer.c
Normal file
11
lang/ghc/files/patch-rts_posix_Itimer.c
Normal file
@ -0,0 +1,11 @@
|
||||
--- rts/posix/Itimer.c.orig 2020-02-24 23:55:56 UTC
|
||||
+++ rts/posix/Itimer.c
|
||||
@@ -48,7 +48,7 @@
|
||||
#define USE_PTHREAD_FOR_ITIMER
|
||||
#endif
|
||||
|
||||
-#if defined(freebsd_HOST_OS) && defined(THREADED_RTS)
|
||||
+#if defined(freebsd_HOST_OS)
|
||||
#define USE_PTHREAD_FOR_ITIMER
|
||||
#endif
|
||||
|
Loading…
Reference in New Issue
Block a user