community/freeimage: fix build with gcc14

Source/ZLib/gzread.c:35:15: error: \
implicit declaration of function 'read'; did you mean 'fread'? [-Wimplicit-function-declaration]
   35 |         ret = read(state->fd, buf + *have, get);
      |               ^~~~
      |               fread
This commit is contained in:
znley 2024-09-10 01:06:46 +00:00 committed by Natanael Copa
parent 0186f1cfe8
commit 517a588a97

View file

@ -36,6 +36,7 @@ build() {
aarch64) export CFLAGS="$CFLAGS -DPNG_ARM_NEON_OPT=0";;
ppc64le) export CFLAGS="$CFLAGS -U__ALTIVEC__";;
esac
CFLAGS="$CFLAGS -std=gnu89" \
make
}