I'm trying to compile libffi as a dependency of.. well lots of packages. It keeps failing with this message :
libtool: compile: cc -DHAVE_CONFIG_H -I. -I.. -I../include -Iinclude -I../src -Wall -O2 -fexceptions -MT src/tramp.lo -MD -MP -MF src/.deps/tramp.Tpo -c ../src/tramp.c -fPIC -DPIC -o src/.libs/tramp.o
libtool: compile: cc -DHAVE_CONFIG_H -I. -I.. -I../include -Iinclude -I../src -Wall -O2 -fexceptions -MT src/tramp.lo -MD -MP -MF src/.deps/tramp.Tpo -c ../src/tramp.c -o src/tramp.o >/dev/null 2>&1
depbase=`echo src/powerpc/ffi.lo | sed 's|[^/]*$|.deps/&|;s|\.lo$||'`;\
/bin/sh ./libtool --tag=CC --mode=compile cc -DHAVE_CONFIG_H -I. -I.. -I. -I../include -Iinclude -I../src -I/usr/include -Wall -O2 -I/usr/include -fexceptions -MT src/powerpc/ffi.lo -MD -MP -MF $depbase.Tpo -c -o src/powerpc/ffi.lo ../src/powerpc/ffi.c &&\
mv -f $depbase.Tpo $depbase.Plo
libtool: compile: cc -DHAVE_CONFIG_H -I. -I.. -I../include -Iinclude -I../src -Wall -O2 -fexceptions -MT src/powerpc/ffi.lo -MD -MP -MF src/powerpc/.deps/ffi.Tpo -c ../src/powerpc/ffi.c -fPIC -DPIC -o src/powerpc/.libs/ffi.o
../src/powerpc/ffi.c: In function 'ffi_call_int':
../src/powerpc/ffi.c:93:3: error: unknown type name '__int64_t'
93 | __int64_t smst_buffer[16];
| ^~~~~~~~~
make[3]: *** [Makefile:1320: src/powerpc/ffi.lo] Error 1
make[3]: Leaving directory '/usr/pkgsrc/devel/libffi/work/libffi-3.4.4/powerpc-debian-linux-gnu'
make[2]: *** [Makefile:1397: all-recursive] Error 1
make[2]: Leaving directory '/usr/pkgsrc/devel/libffi/work/libffi-3.4.4/powerpc-debian-linux-gnu'
make[1]: *** [Makefile:625: all] Error 2
make[1]: Leaving directory '/usr/pkgsrc/devel/libffi/work/libffi-3.4.4/powerpc-debian-linux-gnu'
make: *** [Makefile:594: all] Error 2
*** Error code 2
The issue is there on plgsrc2023Q3 and Q4. I'm using pkgsrc on Debian Linux Sid powerpc (good old PowerMac G4)