Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F151460680
D51340.id158591.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
770 B
Referenced Files
None
Subscribers
None
D51340.id158591.diff
View Options
diff --git a/x11/nvidia-driver/Makefile b/x11/nvidia-driver/Makefile
--- a/x11/nvidia-driver/Makefile
+++ b/x11/nvidia-driver/Makefile
@@ -321,6 +321,15 @@
.if ! ${PORT_OPTIONS:MDOCS}
${REINPLACE_CMD} -E 's/(x11).*/\1/ ; /doc/d' ${WRKSRC}/Makefile
.endif
+# DMAP_MIN_ADDRESS and DMAP_MAX_ADDRESS is deleted from src at commit
+# 4dd828c80828637452a8a4e07a64e294c82e5d8b on main branch.
+# Note that there are about 10 days of broken window, as the commit
+# does not have corresponding version bump.
+.if ${OSVERSION} >= 1500051
+ ${REINPLACE_CMD} -e 's/DMAP_MIN_ADDRESS/kva_layout.dmap_low/' \
+ -e 's/DMAP_MAX_ADDRESS/kva_layout.dmap_high/' \
+ ${WRKSRC}/src/nvidia/nvidia_subr.c
+.endif
pre-install:
@${MKDIR} ${STAGEDIR}${PREFIX}/${MODULESDIR}/drivers \
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Thu, Apr 9, 1:24 PM (12 h, 11 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
31115673
Default Alt Text
D51340.id158591.diff (770 B)
Attached To
Mode
D51340: x11/nvidia-driver: Fix build after src main 4dd828c80828637452a8a4e07a64e294c82e5d8b
Attached
Detach File
Event Timeline
Log In to Comment