diff --git a/lang/ghc/Makefile b/lang/ghc/Makefile index ff989c064293..36ef1a510ad9 100644 --- a/lang/ghc/Makefile +++ b/lang/ghc/Makefile @@ -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 \ diff --git a/lang/ghc/files/patch-rts_posix_Itimer.c b/lang/ghc/files/patch-rts_posix_Itimer.c new file mode 100644 index 000000000000..a6d2574ebde8 --- /dev/null +++ b/lang/ghc/files/patch-rts_posix_Itimer.c @@ -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 +