Commits

David B. Evans authored 3a6ef007734
gegl: add proposed fix for 32 bit builds

See https://trac.macports.org/ticket/58524.
No tags

graphics/gegl/files/patch-gegl-32bit-host-statistics.diff

Added
1 +--- gegl/gegl-config.c.orig 2019-05-25 10:56:32.000000000 -0700
2 ++++ gegl/gegl-config.c 2019-05-25 10:58:03.000000000 -0700
3 +@@ -269,11 +269,19 @@
4 + /* and available mem from host_statistics64 */
5 + vm_size_t page_size = sysconf (_SC_PAGESIZE);
6 + mach_port_t host = mach_host_self ();
7 +- vm_statistics64_data_t vm_stat;
8 + kern_return_t kret;
9 ++
10 ++#if defined(__LP64__)
11 ++ vm_statistics64_data_t vm_stat;
12 + unsigned int count = HOST_VM_INFO64_COUNT;
13 +
14 + kret = host_statistics64 (host, HOST_VM_INFO64, (host_info64_t)&vm_stat, &count);
15 ++#else
16 ++ vm_statistics_data_t vm_stat;
17 ++ unsigned int count = HOST_VM_INFO_COUNT;
18 ++
19 ++ kret = host_statistics (host, HOST_VM_INFO, (host_info_t)&vm_stat, &count);
20 ++#endif
21 +
22 + if (kret == KERN_SUCCESS)
23 + {

Everything looks good. We'll let you know here if there's anything you should know about.

Add shortcut