1
0
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:
Gleb Popov 2020-05-26 20:18:41 +00:00
parent d2ad0f0515
commit 03d81dda1c
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=536651
2 changed files with 12 additions and 0 deletions

View File

@ -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 \

View 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