[MacPorts] #55446: gnucash-devel: update to version 2.7.2, modernize dependencies

MacPorts noreply at macports.org
Sun Dec 10 01:37:29 UTC 2017


#55446: gnucash-devel: update to version 2.7.2, modernize dependencies
----------------------------+----------------------
  Reporter:  dbevans        |      Owner:  drkp
      Type:  update         |     Status:  accepted
  Priority:  Normal         |  Milestone:
 Component:  ports          |    Version:
Resolution:                 |   Keywords:
      Port:  gnucash-devel  |
----------------------------+----------------------
Changes (by drkp):

 * cc: ryandesign (added)


Comment:

 Ugh. So the problem I am dealing with now is that gnucash 2.7 uses gint64
 (from glib) and int64_t (from the C++ stdlib) interchangeably.
 Unfortunately, on 64-bit architectures, glib defines gint64 as long and
 Apple defines int64_t as long long for some reason. They are both 8 bytes
 long, but clang rightly doesn't consider them interchangeable.

 (The glib port patches the header file with these definitions, but just to
 make it do the right thing under +universal; the sizes are the same as a
 stock glib build)

 It seems like fixing this properly would be a really extensive change, and
 it doesn't sound like the gnucash developers are interested in it. Their
 official gnucash builds for MacOS are done by patching glib to make gint64
 a long long instead, which seems pretty awful.

 So I'm at a loss. Any ideas?

 [+cc Ryan in case he has any glib insights]

--
Ticket URL: <https://trac.macports.org/ticket/55446#comment:2>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list