diff options
Diffstat (limited to 'waterfox-g/debian/patches/fix-wayland-build.patch')
-rw-r--r-- | waterfox-g/debian/patches/fix-wayland-build.patch | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/waterfox-g/debian/patches/fix-wayland-build.patch b/waterfox-g/debian/patches/fix-wayland-build.patch new file mode 100644 index 0000000..f0309fa --- /dev/null +++ b/waterfox-g/debian/patches/fix-wayland-build.patch @@ -0,0 +1,21 @@ +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> + +diff --git a/widget/gtk/WaylandBuffer.cpp b/widget/gtk/WaylandBuffer.cpp +index f3fc4093623f..78d213d5d302 100644 +--- a/widget/gtk/WaylandBuffer.cpp ++++ b/widget/gtk/WaylandBuffer.cpp +@@ -197,7 +197,7 @@ void WaylandBufferSHM::DumpToFile(const char* aHint) { + + /* 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 = |