pkgsrc/emulators/fuse-emulator/patches/patch-ui_gtk_gtkui.c
adam 38bdf195d9 Fuse 1.3.5:
Emulation core improvements:
* Disable tape traps when playing/recording RZX files

Miscellaneous improvements:
* Fix typo in LOG disk format
* Replace old ticket numbers from Trac to Allura
* WidgetUI: Fix memory leak in file selector
* Fix allocator sizeof operand mismatch and remove dead assignment
* Remove prototypes of old plus3 disk functions
* Increase allocated memory to keep GCC7 happy
2017-05-26 19:35:48 +00:00

18 lines
410 B
C

$NetBSD: patch-ui_gtk_gtkui.c,v 1.1 2017/05/26 19:35:48 adam Exp $
Fix for a case when GTK has been compiled with Quartz support.
--- ui/gtk/gtkui.c.orig 2010-12-20 20:17:04.000000000 +0000
+++ ui/gtk/gtkui.c
@@ -28,8 +28,10 @@
#include <stdio.h>
#include <gdk/gdkkeysyms.h>
-#include <gdk/gdkx.h>
#include <gtk/gtk.h>
+#ifndef GDK_WINDOWING_QUARTZ
+#include <gdk/gdkx.h>
+#endif
#include <glib.h>