summaryrefslogtreecommitdiff
path: root/waterfox-g/debian/patches/fix-wayland-build.patch
blob: 703b1a8c1faf0f7ade65af1e8b530cf2cbabede4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
Description: Fix FTBFS on bionic. Compiler errors:
 In file included from Unified_cpp_widget_gtk1.cpp:2:
 /<<BUILDDIR>>/firefox-92.0~b2+build1/widget/gtk/WaylandBuffer.cpp:261:39: error: unknown type name 'GLContext'; did you mean 'EGLContext'?
    const LayoutDeviceIntSize& aSize, GLContext* aGL) {
                                      ^~~~~~~~~

Author: Rico Tzschichholz <ricotz@ubuntu.com>

--- a/widget/gtk/WaylandBuffer.cpp
+++ b/widget/gtk/WaylandBuffer.cpp
@@ -258,7 +258,7 @@
 
 /* static */
 RefPtr<WaylandBufferDMABUF> WaylandBufferDMABUF::Create(
-    const LayoutDeviceIntSize& aSize, GLContext* aGL) {
+    const LayoutDeviceIntSize& aSize, gl::GLContext* aGL) {
   RefPtr<WaylandBufferDMABUF> buffer = new WaylandBufferDMABUF(aSize);
 
   const auto flags =
bgstack15