mirror of
https://github.com/void-linux/void-packages.git
synced 2025-06-07 07:33:48 +02:00
gcolor3: add missing patch for undefined symbol gdk_wayland_display_get_type
This commit is contained in:
parent
efcd72df5b
commit
131f1c221e
2 changed files with 21 additions and 1 deletions
|
@ -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'
|
# Template file for 'gcolor3'
|
||||||
pkgname=gcolor3
|
pkgname=gcolor3
|
||||||
version=2.3.1
|
version=2.3.1
|
||||||
revision=1
|
revision=2
|
||||||
wrksrc="gcolor3-v${version}"
|
wrksrc="gcolor3-v${version}"
|
||||||
build_style=meson
|
build_style=meson
|
||||||
hostmakedepends="pkg-config glib-devel"
|
hostmakedepends="pkg-config glib-devel"
|
||||||
|
|
Loading…
Add table
Reference in a new issue