summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSergei Trofimovich <slyfox@gentoo.org>2020-06-06 12:44:32 +0100
committerSergei Trofimovich <slyfox@gentoo.org>2020-06-06 12:44:32 +0100
commitc493ede086ca8db0a74d87c53b25c03d5c03aa80 (patch)
treeef76c5f9122fe2e4c6e39977a2e88e511978038b /dev-haskell/gtk3/files
parentdev-haskell/glade: drop old (diff)
downloadgentoo-c493ede086ca8db0a74d87c53b25c03d5c03aa80.tar.gz
gentoo-c493ede086ca8db0a74d87c53b25c03d5c03aa80.tar.bz2
gentoo-c493ede086ca8db0a74d87c53b25c03d5c03aa80.zip
dev-haskell/gtk3: add a workaround against glib-2.62
Package-Manager: Portage-2.3.100, Repoman-2.3.22 Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org>
Diffstat (limited to 'dev-haskell/gtk3/files')
-rw-r--r--dev-haskell/gtk3/files/gtk3-0.14.9-glib-2.62.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/dev-haskell/gtk3/files/gtk3-0.14.9-glib-2.62.patch b/dev-haskell/gtk3/files/gtk3-0.14.9-glib-2.62.patch
new file mode 100644
index 000000000000..da921a2cf415
--- /dev/null
+++ b/dev-haskell/gtk3/files/gtk3-0.14.9-glib-2.62.patch
@@ -0,0 +1,11 @@
+--- a/gtk3.cabal
++++ b/gtk3.cabal
+@@ -372,7 +372,7 @@ Library
+ -- needs to be imported from this module:
+ x-Signals-Import: Graphics.UI.Gtk.General.Threading
+ include-dirs: .
+- cpp-options: -DDISABLE_DEPRECATED -U__BLOCKS__
++ cpp-options: -DDISABLE_DEPRECATED -U__BLOCKS__ -D__attribute__(A)=
+ if os(darwin) || os(freebsd)
+ cpp-options: -D__attribute__(A)= -D_Nullable= -D_Nonnull=
+ if os(windows)