Comment 2 for bug 832892

Revision history for this message
CarstenHey (c.hey) wrote : Re: [PATCH] Replace deprecated G_CONST_RETURN with const (fixes build failure with recent glib releases)

* Carsten Hey [2011-08-24 18:52 +0200]:
> I attached an trivial but untested patch that should fix a build failure
> with recent glib releases.

This patch attached to my prior mail was made against a svn snapshot,
the patch for pal 0.4.3 (the version in Debian and Ubuntu) is included
in version 0.4.3-7 uploaded recently to Debian. Both were generated
using:

    sed -i 's/G_CONST_RETURN/const/' src/remind.c src/main.c

Fixing a build failure with recent and future glib versions (in the
meantime I verified that it does) is in my opinion a very good reason
for a new upstream release. If you plan to do so, you could consider
applying some of the patches from [1]. At least two of them are already
in your svn repository.

 [1] http://patch-tracker.debian.org/package/pal/0.4.3-7
     (it might take some time until this page is available)

Regards
Carsten