summaryrefslogtreecommitdiff
path: root/dev-haskell/gtk/files/gtk-0.14.10-glib-2.62.patch
blob: 78e1dc146b4344c724b4c69f3277fb5d26ab3ff6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
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)