mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-01 01:17:02 +00:00
Unbreak nVidia drivers on recent -CURRENT, after change to
kmem_alloc_contig() in r338143. PR: 230780
This commit is contained in:
parent
99ad996656
commit
69494525aa
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=477761
@ -113,6 +113,10 @@ MAKE_ENV+= WITHOUT_LINUX=yes
|
||||
.endif
|
||||
|
||||
post-patch: .SILENT
|
||||
# KPI of kmem_alloc_contig() changed in FreeBSD src r338143
|
||||
.if ${OSVERSION} >= 1200079
|
||||
${REINPLACE_CMD} -e 's/kmem_alloc_contig(kmem_arena, /kmem_alloc_contig(/' ${WRKSRC}/src/${NVSRC}/nvidia_subr.c
|
||||
.endif
|
||||
# We should support -CURRENT: kill the check
|
||||
${REINPLACE_CMD} -e '24,26d' ${WRKSRC}/src/${NVSRC}/nv-freebsd.h
|
||||
# Adjust Linux headers #include's after FreeBSD src r246085
|
||||
|
Loading…
Reference in New Issue
Block a user