Add GL prototypes patch
This commit is contained in:
parent
f1d95b90e5
commit
c2dad176d5
13
glext-prototypes.patch
Normal file
13
glext-prototypes.patch
Normal file
@ -0,0 +1,13 @@
|
||||
diff --git a/Source/WebCore/platform/graphics/OpenGLShims.h b/Source/WebCore/platform/graphics/OpenGLShims.h
|
||||
index 7b194b2a6c26..f0feb6bb1886 100644
|
||||
--- a/Source/WebCore/platform/graphics/OpenGLShims.h
|
||||
+++ b/Source/WebCore/platform/graphics/OpenGLShims.h
|
||||
@@ -20,6 +20,8 @@
|
||||
#ifndef OpenGLShims_h
|
||||
#define OpenGLShims_h
|
||||
|
||||
+#define GL_GLEXT_PROTOTYPES 1
|
||||
+
|
||||
#if OS(WINDOWS)
|
||||
#include <GL/gl.h>
|
||||
#include <GLES2/gl2.h>
|
@ -29,6 +29,9 @@ Source1: https://webkitgtk.org/releases/webkitgtk-%{version}.tar.xz.asc
|
||||
# $ gpg --export --export-options export-minimal D7FCF61CF9A2DEAB31D81BD3F3D322D0EC4582C3 5AA3BC334FD7E3369E7C77B291C559DBE4C9123B > webkitgtk-keys.gpg
|
||||
Source2: webkitgtk-keys.gpg
|
||||
|
||||
# https://bugs.webkit.org/show_bug.cgi?id=248032
|
||||
Patch0: glext-prototypes.patch
|
||||
|
||||
BuildRequires: bison
|
||||
BuildRequires: bubblewrap
|
||||
BuildRequires: cmake
|
||||
|
Loading…
Reference in New Issue
Block a user