After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 665335 - Build fails with glib 2.31
Build fails with glib 2.31
Status: RESOLVED FIXED
Product: dia
Classification: Other
Component: general
unspecified
Other Linux
: Normal normal
: ---
Assigned To: Dia maintainers
Dia maintainers
Depends on:
Blocks:
 
 
Reported: 2011-12-01 21:07 UTC by Dominique Leuenberger
Modified: 2011-12-17 14:32 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Fix build with glib 2.31 (1.71 KB, patch)
2011-12-01 21:08 UTC, Dominique Leuenberger
none Details | Review

Description Dominique Leuenberger 2011-12-01 21:07:43 UTC
glib 2.31 only allows for inclusion of glib.h (and a few exceptions to the rule).

For this reason, dia fails to build currently.

Attached patch takes care of only including headers that are needed.
Comment 1 Dominique Leuenberger 2011-12-01 21:08:46 UTC
Created attachment 202553 [details] [review]
Fix build with glib 2.31
Comment 2 Hans Breuer 2011-12-17 14:32:06 UTC
Thanks for the heads-up, that GLib 2.32 drops backward compatibility ;(. 
Applied and pushed to master: http://git.gnome.org/browse/dia/commit/?id=f4c743e2ef079bfe288d37d9056a8827c684d01e