summaryrefslogtreecommitdiff
path: root/dev-haskell/gtk/files
diff options
context:
space:
mode:
Diffstat (limited to 'dev-haskell/gtk/files')
-rw-r--r--dev-haskell/gtk/files/gtk-0.14.10-glib-2.62.patch13
1 files changed, 13 insertions, 0 deletions
diff --git a/dev-haskell/gtk/files/gtk-0.14.10-glib-2.62.patch b/dev-haskell/gtk/files/gtk-0.14.10-glib-2.62.patch
new file mode 100644
index 000000000000..78e1dc146b43
--- /dev/null
+++ b/dev-haskell/gtk/files/gtk-0.14.10-glib-2.62.patch
@@ -0,0 +1,13 @@
+https://github.com/gtk2hs/gtk2hs/issues/276
+https://bugs.gentoo.org/712988
+--- a/gtk.cabal
++++ b/gtk.cabal
+@@ -381,7 +381,7 @@ Library
+ -- needs to be imported from this module:
+ x-Signals-Import: Graphics.UI.Gtk.General.Threading
+ include-dirs: .
+- cpp-options: -U__BLOCKS__
++ cpp-options: -U__BLOCKS__ -D__attribute__(A)=
+ if os(darwin) || os(freebsd)
+ cpp-options: -D__attribute__(A)= -D_Nullable= -D_Nonnull=
+ if !flag(deprecated)