[MacPorts] #60270: gegl and 64bit support leopard

MacPorts noreply at macports.org
Sat Mar 28 21:58:17 UTC 2020


#60270: gegl and 64bit support leopard
----------------------+--------------------
 Reporter:  rmottola  |      Owner:  (none)
     Type:  defect    |     Status:  new
 Priority:  Normal    |  Milestone:
Component:  ports     |    Version:
 Keywords:  leopard   |       Port:  gegl
----------------------+--------------------
 Adventuring compiling 64bit on 10.5 yields this failure:


 {{{

 ../gegl-0.4.22/gegl/gegl-config.c:275:5: error: unknown type name
 'vm_statistics64_data_t'; did you mean 'vm_statistics_data_t'?
     vm_statistics64_data_t vm_stat;
     ^~~~~~~~~~~~~~~~~~~~~~
     vm_statistics_data_t
 /usr/include/mach/vm_statistics.h:100:30: note: 'vm_statistics_data_t'
 declared here
 typedef struct vm_statistics    vm_statistics_data_t;
                                 ^
 }}}

 As a workaround I propose to patch gegl/gegl-config.c

 and transform line 274 from


 {{{
 #if defined(__LP64__)
 }}}

 to


 {{{
 #if defined(__LP64__) && defined(MAC_OS_X_VERSION_10_6)
 }}}

 to enable the 64bit structures only on newer os. Maybe another test like
 darwin version is more appropriate?

-- 
Ticket URL: <https://trac.macports.org/ticket/60270>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list