--On December 13, 2014 at 12:13:23 PM -0800 John Ralls
<jra...@ceridwen.us> 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 configure.ac 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.
https://bugzilla.gnome.org/show_bug.cgi?id=741488 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
http://debbugs.gnu.org/cgi/bugreport.cgi?bug=19372.
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 configure.ac and it built
without problem. GnuCash then built without error using this GLib.
Mike
_______________________________________________
gnucash-devel mailing list
gnucash-devel@gnucash.org
https://lists.gnucash.org/mailman/listinfo/gnucash-devel