-
Notifications
You must be signed in to change notification settings - Fork 84
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
glib: build failure with glib2.0 2.61.2-2 #276
Comments
this works! 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 |
We have the same problem in NixOS: https://hydra.nixos.org/build/102573548. A fix for this issue would be very much appreciated. |
peti
added a commit
to peti/gtk2hs
that referenced
this issue
Oct 6, 2019
Thanks, I am applying the patches to Fedora 31. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
hello, looks like haskell-glib-0.13.7 needs updates for the new glib2.0
build log:
content of that file (since line 73):
The text was updated successfully, but these errors were encountered: