[MacPorts] #69439: gegl fails for undeclared identifier HOST_VM_INFO64_COUNT on 10.5
MacPorts
noreply at macports.org
Sun Mar 3 17:55:57 UTC 2024
#69439: gegl fails for undeclared identifier HOST_VM_INFO64_COUNT on 10.5
-----------------------------------------+--------------------
Reporter: rmottola | Owner: (none)
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version:
Keywords: leopard 64bit legacysupport | Port: gegl
-----------------------------------------+--------------------
on 10.5 64bit I have this failure building gegl:
{{{
../gegl-0.4.46/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;
^
../gegl-0.4.46/gegl/gegl-config.c:276:36: error: use of undeclared
identifier 'HOST_VM_INFO64_COUNT'
unsigned int count = HOST_VM_INFO64_COUNT;
^
../gegl-0.4.46/gegl/gegl-config.c:278:12: warning: implicit declaration of
function 'host_statistics64' is invalid in C99 [-Wimplicit-function-
declaration]
kret = host_statistics64 (host, HOST_VM_INFO64,
(host_info64_t)&vm_stat, &count);
^
../gegl-0.4.46/gegl/gegl-config.c:278:54: error: use of undeclared
identifier 'host_info64_t'
kret = host_statistics64 (host, HOST_VM_INFO64,
(host_info64_t)&vm_stat, &count);
^
../gegl-0.4.46/gegl/gegl-config.c:278:37: error: use of undeclared
identifier 'HOST_VM_INFO64'
kret = host_statistics64 (host, HOST_VM_INFO64,
(host_info64_t)&vm_stat, &count);
^
1 warning and 4 errors generated.
}}}
the section is specific to 64bit, I wonder if perhaps on older MacOS (how
old?) the 64bit structures did not exist.
--
Ticket URL: <https://trac.macports.org/ticket/69439>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list