svn commit: r553175 - head/emulators/virtualbox-ose-additions
Guido Falsi
madpilot at FreeBSD.org
Sat Oct 24 10:22:26 UTC 2020
Author: madpilot
Date: Sat Oct 24 10:22:25 2020
New Revision: 553175
URL: https://svnweb.freebsd.org/changeset/ports/553175
Log:
Apply fix to emulators/virtualbox-ose-additions to allow building
with OPENGL option on after ports r552109.
PR: 250315
Submitted by: rozhuk.im at gmail.com
Approved by: portmgr (fixit blanket)
Modified:
head/emulators/virtualbox-ose-additions/Makefile
Modified: head/emulators/virtualbox-ose-additions/Makefile
==============================================================================
--- head/emulators/virtualbox-ose-additions/Makefile Sat Oct 24 10:18:42 2020 (r553174)
+++ head/emulators/virtualbox-ose-additions/Makefile Sat Oct 24 10:22:25 2020 (r553175)
@@ -141,6 +141,10 @@ post-patch:
${WRKSRC}/src/VBox/Additions/x11/VBoxClient/Makefile.kmk
@${ECHO_CMD} 'VBOX_ICONV_DEFS = LIBICONV_PLUG' >> ${WRKSRC}/LocalConfig.kmk
.endif
+ @${REINPLACE_CMD} \
+ -e 's|#define GLX_EXTRAS 1||g' \
+ ${WRKSRC}/src/VBox/Additions/common/crOpenGL/dri_glx.h \
+ ${WRKSRC}/src/VBox/Additions/common/crOpenGL/glx_proto.h
post-patch-OPENGL-on:
@${ECHO_CMD} 'VBOX_USE_SYSTEM_GL_HEADERS = 1' >> ${WRKSRC}/LocalConfig.kmk
More information about the svn-ports-head
mailing list