diff options
author | Guido Falsi <madpilot@FreeBSD.org> | 2020-10-24 10:22:25 +0000 |
---|---|---|
committer | Guido Falsi <madpilot@FreeBSD.org> | 2020-10-24 10:22:25 +0000 |
commit | 65c533b6407866daf3c23899c07ca0906783ae53 (patch) | |
tree | 9d64c7624932e6c10f821027a9abb7afb0fd1df1 /emulators/virtualbox-ose-additions | |
parent | 533188a083028196085b9d655462625efca8d9aa (diff) | |
download | ports-65c533b6407866daf3c23899c07ca0906783ae53.tar.gz ports-65c533b6407866daf3c23899c07ca0906783ae53.zip |
Apply fix to emulators/virtualbox-ose-additions to allow building
with OPENGL option on after ports r552109.
PR: 250315
Submitted by: rozhuk.im@gmail.com
Approved by: portmgr (fixit blanket)
Notes
Notes:
svn path=/head/; revision=553175
Diffstat (limited to 'emulators/virtualbox-ose-additions')
-rw-r--r-- | emulators/virtualbox-ose-additions/Makefile | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/emulators/virtualbox-ose-additions/Makefile b/emulators/virtualbox-ose-additions/Makefile index 9ac45b1ea0fb..26fa2231ea1f 100644 --- a/emulators/virtualbox-ose-additions/Makefile +++ b/emulators/virtualbox-ose-additions/Makefile @@ -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 |