commit 78fea12afc5f0db5a137d0766e92994232f60a78

Mike Alexander mta at
Sat Dec 13 18:43:44 EST 2014

--On December 13, 2014 at 12:13:23 PM -0800 John Ralls 
<jralls at> wrote:

>> I do use MacPorts and I see that it has a really weird patch to
>> Glib's configure file which affects this area.  I need to figure out
>> what they think they are doing and what effect it may be having on
>> this problem. MacPorts essentially ignores and patches
>> configure, which makes it harder to understand what is going on.
>> For  the moment I patched Apple's headers to look at __LP64__ when
>> defining the int64 types and this works.  It's obviously not a
>> permanent solution.
> I think patching Glib is more appropriate.
> has the patch if
> you want to use it. It took an extra day thanks to Guile not building
> with the 10.10 SDK. That’s

I never meant the patch to Apple's headers to be more than an 
experiment since I didn't think it would be possible to get Apple to 
make that change, even if it is a good idea.  It does seem better to 
use "long" instead of "long long" fir 64 bit types when __LP64__ is 
set, but it doesn't really matter so long as things are consistent and 
getting a patch into GLib will be a lot easier.

Thanks for the patch, it seems to work fine.  As I mentioned, MacPorts 
has a bunch of changes in GLib's configure already, but most of them 
seem to be from years ago and are probably no longer relevant.  I threw 
them all away and regenerated configure from and it built 
without problem.  GnuCash then built without error using this GLib.


More information about the gnucash-devel mailing list