diff options
author | jkim <jkim@FreeBSD.org> | 2018-05-16 05:16:03 +0800 |
---|---|---|
committer | jkim <jkim@FreeBSD.org> | 2018-05-16 05:16:03 +0800 |
commit | 23d2f8e833c70810680a3db0b934017288943d7b (patch) | |
tree | d0b379096d67eff82224a799aa45054adef19842 /emulators/virtualbox-ose | |
parent | 15589c38217433ced2e288265d913a13cc08cfa5 (diff) | |
download | freebsd-ports-gnome-23d2f8e833c70810680a3db0b934017288943d7b.tar.gz freebsd-ports-gnome-23d2f8e833c70810680a3db0b934017288943d7b.tar.zst freebsd-ports-gnome-23d2f8e833c70810680a3db0b934017288943d7b.zip |
Fix emulators/virtualbox-ose-additions build with OpenGL option.
Reported by: mat, des
Diffstat (limited to 'emulators/virtualbox-ose')
-rw-r--r-- | emulators/virtualbox-ose/files/patch-src_VBox_GuestHost_OpenGL_include_chromium.h | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/emulators/virtualbox-ose/files/patch-src_VBox_GuestHost_OpenGL_include_chromium.h b/emulators/virtualbox-ose/files/patch-src_VBox_GuestHost_OpenGL_include_chromium.h new file mode 100644 index 000000000000..958b7256bbdf --- /dev/null +++ b/emulators/virtualbox-ose/files/patch-src_VBox_GuestHost_OpenGL_include_chromium.h @@ -0,0 +1,11 @@ +--- src/VBox/GuestHost/OpenGL/include/chromium.h.orig 2018-05-09 16:38:12 UTC ++++ src/VBox/GuestHost/OpenGL/include/chromium.h +@@ -63,7 +63,7 @@ + #include <GL/gl.h> + /* Quick fix so as not to update the version of glext.h we provide. */ + #ifdef GL_GLEXT_PROTOTYPES +-# if defined(RT_OS_LINUX) || defined(RT_OS_SOLARIS) ++# if defined(RT_OS_FREEBSD) || defined(RT_OS_LINUX) || defined(RT_OS_SOLARIS) + GLAPI void APIENTRY glBindFramebuffer (GLenum, GLuint); + GLAPI void APIENTRY glBlitFramebuffer (GLint, GLint, GLint, GLint, GLint, GLint, GLint, GLint, GLbitfield, GLenum); + GLAPI GLenum APIENTRY glCheckFramebufferStatus (GLenum); |