[MacPorts] #61179: gnome-desktop @3.38.0: unknown type name 'uint64_t'

MacPorts noreply at macports.org
Tue Sep 15 19:59:55 UTC 2020


#61179: gnome-desktop @3.38.0: unknown type name 'uint64_t'
----------------------------+----------------------
  Reporter:  chrstphrchvz   |      Owner:  dbevans
      Type:  defect         |     Status:  accepted
  Priority:  Normal         |  Milestone:
 Component:  ports          |    Version:  2.6.3
Resolution:                 |   Keywords:
      Port:  gnome-desktop  |
----------------------------+----------------------

Comment (by kencu):

 10.6.8 uses a compiler newer than Xcode 11's. It's in the older headers
 somewhere (some newer header includes it).

 I did this:
 {{{
 --- libgnome-desktop/gnome-rr.h.orig    2020-09-15 12:38:07.000000000
 -0700
 +++ libgnome-desktop/gnome-rr.h 2020-09-15 12:57:19.000000000 -0700
 @@ -31,6 +31,8 @@
  #include <glib.h>
  #include <gdk/gdk.h>

 +#include <stdint.h>
 +
  typedef struct GnomeRRScreenPrivate GnomeRRScreenPrivate;
  typedef struct GnomeRROutput GnomeRROutput;
  typedef struct GnomeRRCrtc GnomeRRCrtc;
 }}}

 and that was all it needed to build.

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


More information about the macports-tickets mailing list