user/libgd: GD_FLIP_HORINZONTAL and other macros not declared
Found on x86_64 while attempting to build php7
:
...
/root/packages/user/php7/src/php-7.4.4/ext/intl/collator/collator_sort.c: In function ‘zif_collator_sort’:
/root/packages/user/php7/src/php-7.4.4/ext/intl/collator/collator_sort.c:349:26: error: ‘TRUE’ undeclared (first use in this function)
collator_sort_internal( TRUE, INTERNAL_FUNCTION_PARAM_PASSTHRU );
^~~~
/root/packages/user/php7/src/php-7.4.4/ext/intl/collator/collator_sort.c:349:26: note: each undeclared identifier is reported only once for each function it appears in
/root/packages/user/php7/src/php-7.4.4/ext/intl/collator/collator_sort.c: In function ‘zif_collator_asort’:
/root/packages/user/php7/src/php-7.4.4/ext/intl/collator/collator_sort.c:543:26: error: ‘FALSE’ undeclared (first use in this function); did you mean ‘FILE’?
collator_sort_internal( FALSE, INTERNAL_FUNCTION_PARAM_PASSTHRU );
^~~~~
FILE
make: *** [Makefile:960: ext/intl/collator/collator_sort.lo] Error 1
/root/packages/user/php7/src/php-7.4.4/ext/intl/normalizer/normalizer_normalize.c: In function ‘intl_is_normalized’:
/root/packages/user/php7/src/php-7.4.4/ext/intl/normalizer/normalizer_normalize.c:93:10: error: ‘FALSE’ undeclared (first use in this function); did you mean ‘FILE’?
return FALSE;
^~~~~
FILE
/root/packages/user/php7/src/php-7.4.4/ext/intl/normalizer/normalizer_normalize.c:93:10: note: each undeclared identifier is reported only once for each function it appears in
/root/packages/user/php7/src/php-7.4.4/ext/intl/normalizer/normalizer_normalize.c: In function ‘zif_normalizer_is_normalized’:
/root/packages/user/php7/src/php-7.4.4/ext/intl/normalizer/normalizer_normalize.c:264:16: error: ‘FALSE’ undeclared (first use in this function); did you mean ‘FILE’?
UBool uret = FALSE;
^~~~~
FILE
make: *** [Makefile:998: ext/intl/normalizer/normalizer_normalize.lo] Error 1
...