mirror of
https://git.freebsd.org/ports.git
synced 2025-07-17 17:29:23 -04:00
- Fix the build on recent 6-STABLE [1]
- Fix the build with FreeBSD AGP [2] PR: ports/124407 [1], ports/124497 [2] Also submitted by: ale [1]
This commit is contained in:
parent
8a089d17c7
commit
a558e0734b
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=214691
1 changed files with 6 additions and 1 deletions
|
@ -88,7 +88,12 @@ post-patch: .SILENT
|
|||
.endif
|
||||
# Correct prototypes to fix the build with FreeBSD AGP support
|
||||
.if ${NVVERSION} >= 1690700
|
||||
${REINPLACE_CMD} -e '337,338s/(/(nv_stack_t *, /' \
|
||||
${REINPLACE_CMD} -e '406,407s/(/(nv_stack_t *, /' \
|
||||
${WRKSRC}/src/nv-freebsd.h
|
||||
.endif
|
||||
# Do not implement certain pmap API functions on systems that have them
|
||||
.if ${NVVERSION} == 1731405
|
||||
${REINPLACE_CMD} -E 's,if( __FreeBSD_version )(< 700055),if\1< 602110 ||\1>= 700000 \&\&\1\2,' \
|
||||
${WRKSRC}/src/nv-freebsd.h
|
||||
.endif
|
||||
.if defined(WITH_FREEBSD_AGP)
|
||||
|
|
Loading…
Add table
Reference in a new issue