Commit 878fdcf8 authored by Gianfranco Costamagna's avatar Gianfranco Costamagna
Browse files

haskell-glib: patch from Ilias to fix a build failure with newer glib

parent c98c4f07
Loading
Loading
Loading
Loading
+7 −0
Original line number Diff line number Diff line
haskell-glib (0.13.7.0-2) unstable; urgency=medium

  * Path from Ilias to fix a build failure with newer glib2.0
    - https://github.com/gtk2hs/gtk2hs/issues/276

 -- Gianfranco Costamagna <locutusofborg@debian.org>  Wed, 28 Aug 2019 19:08:42 +0200

haskell-glib (0.13.7.0-1) unstable; urgency=medium

  * New upstream release
+15 −0
Original line number Diff line number Diff line
Author: Ilias Tsitsimpis <iliastsi@debian.org>
--- haskell-glib-0.13.7.0.orig/glib.cabal
+++ haskell-glib-0.13.7.0/glib.cabal
@@ -41,9 +41,9 @@ Library
                         bytestring >= 0.9.1.10 && < 0.11,
                         text >= 1.0.0.0 && < 1.3,
                         containers
-        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= -D_Noreturn=
+          cpp-options: -D_Nullable= -D_Nonnull= -D_Noreturn=
         if flag(closure_signals)
           cpp-options:  -DUSE_GCLOSURE_SIGNALS_IMPL
           c-sources: System/Glib/hsgclosure.c
+1 −0
Original line number Diff line number Diff line
new-glib