commit:     093d939c07c22eb424cd09c225b063c09f29763c
Author:     Sergei Trofimovich <slyfox <AT> gentoo <DOT> org>
AuthorDate: Sat Jun  6 10:57:59 2020 +0000
Commit:     Sergei Trofimovich <slyfox <AT> gentoo <DOT> org>
CommitDate: Sat Jun  6 11:09:45 2020 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=093d939c

dev-haskell/gtk: add forgotten patch

Bug: https://bugs.gentoo.org/712988
Package-Manager: Portage-2.3.100, Repoman-2.3.22
Signed-off-by: Sergei Trofimovich <slyfox <AT> gentoo.org>

 dev-haskell/gtk/files/gtk-0.14.10-glib-2.62.patch | 13 +++++++++++++
 1 file changed, 13 insertions(+)

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 00000000000..78e1dc146b4
--- /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)

Reply via email to