# HG changeset patch # User Mark Brand # Date 1273693907 -7200 # Node ID 02456f70034c506ce7c7b5d1667b3926719c9a23 # Parent 90cdb24b5fb3f7f40b6a6ae50cba553567c89dfc fix building of test-gtk for version 2.90.0 My previous patch upgrading gtk to 2.90.0 did not take care of the test program. diff --git a/src/gtk-fixes.patch b/src/gtk-fixes.patch new file mode 100644 --- /dev/null +++ b/src/gtk-fixes.patch @@ -0,0 +1,15 @@ +This file is part of mingw-cross-env. +See doc/index.html for further information. + +diff -urN a/gtk/gtkdebug.h b/gtk/gtkdebug.h +--- a/gtk/gtkdebug.h 2010-05-08 03:39:57.000000000 +0200 ++++ b/gtk/gtkdebug.h 2010-05-12 21:36:27.628202368 +0200 +@@ -48,7 +48,7 @@ + GTK_DEBUG_ICONTHEME = 1 << 9, + GTK_DEBUG_PRINTING = 1 << 10, + GTK_DEBUG_BUILDER = 1 << 11, +- GTK_DEBUG_EXTENDED_LAYOUT = 1 << 12, ++ GTK_DEBUG_EXTENDED_LAYOUT = 1 << 12 + } GtkDebugFlag; + + #ifdef G_ENABLE_DEBUG diff --git a/src/gtk.mk b/src/gtk.mk --- a/src/gtk.mk +++ b/src/gtk.mk @@ -60,5 +60,5 @@ '$(TARGET)-gcc' \ -W -Wall -Werror -ansi -pedantic \ '$(2).c' -o '$(PREFIX)/$(TARGET)/bin/test-gtk.exe' \ - `'$(TARGET)-pkg-config' gtk+-2.0 --cflags --libs` + `'$(TARGET)-pkg-config' gtk+-3.0 --cflags --libs` endef