| @@ -1,13 +1,14 @@ | | | @@ -1,13 +1,14 @@ |
| | | 1 | # $NetBSD: hacks.mk,v 1.2 2023/02/07 01:46:40 pho Exp $ |
1 | .if !defined(GHC_HACKS_MK) | | 2 | .if !defined(GHC_HACKS_MK) |
2 | GHC_HACKS_MK= defined | | 3 | GHC_HACKS_MK= defined |
3 | | | 4 | |
4 | ### [Mon Feb 6 23:32:40 JST 2023 : pho] | | 5 | ### [Mon Feb 6 23:32:40 JST 2023 : pho] |
5 | ### Use of timerfd on NetBSD 10 causes a kernel panic. Disable it until | | 6 | ### Use of timerfd on NetBSD 10 causes a kernel panic. Disable it until |
6 | ### it's fixed: | | 7 | ### it's fixed: |
7 | ### https://mail-index.netbsd.org/tech-kern/2023/02/05/msg028704.html | | 8 | ### https://mail-index.netbsd.org/tech-kern/2023/02/05/msg028704.html |
8 | ### | | 9 | ### |
9 | .if !empty(MACHINE_PLATFORM:MNetBSD-10.99.*-*) | | 10 | .if !empty(MACHINE_PLATFORM:MNetBSD-10.99.*-*) |
10 | PKG_HACKS+= disable-timerfd | | 11 | PKG_HACKS+= disable-timerfd |
11 | CONFIGURE_ENV+= ac_cv_header_sys_timerfd_h=no | | 12 | CONFIGURE_ENV+= ac_cv_header_sys_timerfd_h=no |
12 | .endif | | 13 | .endif |
13 | | | 14 | |