gcolor3: add missing patch for undefined symbol gdk_wayland_display_get_type
This commit is contained in:
@@ -0,0 +1,20 @@
|
||||
--- src/gcolor3-color-selection.c.orig
|
||||
+++ src/gcolor3-color-selection.c
|
||||
@@ -37,7 +37,7 @@
|
||||
#include <math.h>
|
||||
#include <string.h>
|
||||
#include <gdk/gdk.h>
|
||||
-#ifdef GDK_WINDOWING_WAYLAND
|
||||
+#ifdef GDK_WINDOWING_WAYLAND_BROKEN
|
||||
#include <gdk/gdkwayland.h>
|
||||
#endif
|
||||
#include <gtk/gtk.h>
|
||||
@@ -431,7 +431,7 @@
|
||||
gtk_widget_show (GTK_WIDGET (picker_image));
|
||||
gtk_box_pack_end (GTK_BOX (hbox), button, FALSE, FALSE, 0);
|
||||
|
||||
-#ifdef GDK_WINDOWING_WAYLAND
|
||||
+#ifdef GDK_WINDOWING_WAYLAND_BROKEN
|
||||
if (GDK_IS_WAYLAND_DISPLAY (gdk_display_get_default()))
|
||||
{
|
||||
gtk_widget_set_sensitive (button, FALSE);
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
# Template file for 'gcolor3'
|
||||
pkgname=gcolor3
|
||||
version=2.3.1
|
||||
revision=1
|
||||
revision=2
|
||||
wrksrc="gcolor3-v${version}"
|
||||
build_style=meson
|
||||
hostmakedepends="pkg-config glib-devel"
|
||||
|
||||
Reference in New Issue
Block a user