[csw-maintainers] Missing definition of G_CONST_RETURN

Laurent Blume laurent at opencsw.org
Mon Apr 15 16:33:49 CEST 2013


On 04/15/13 14:09, Rafael Ostertag wrote:
>
> G_CONST_RETURN was deprecated in glib version 2.30 [0] and since -DG_DISABLE_DEPRECATED is defined, G_CONST_RETURN
> won't be defined [1].
>
> If you could get rid -DG_DISABLE_DEPRECATED, you most likely get rid of the error.
>

It matches the workaround I just suggested for easytag:

# This macro is being phased out of Pango, so this seems like an 
acceptable fix for now:
#   https://bugzilla.gnome.org/show_bug.cgi?id=652202
EXTRA_CFLAGS += -DG_CONST_RETURN=const

Should it be added to all packages depending on Pango, just in case?

Laurent


More information about the maintainers mailing list