graphics/box: fix build on 32-bits

vmsym.c:567:28: error: incompatible function pointer types passing 'BoxTask (BoxVM *, BoxVMSymID, BoxUInt, int, void *, BoxUInt, void *, BoxUInt)' (aka 'BoxTask (struct BoxVM_struct *, unsigned long, unsigned long, int, void *, unsigned long, void *, unsigned long)') to parameter of type 'BoxVMSymResolver' (aka 'BoxTask (*)(struct BoxVM_struct *, unsigned long, unsigned long, int, void *, unsigned int, void *, unsigned int)') [-Wincompatible-function-pointer-types]
  567 |   BoxVMSym_Ref(vm, sym_id, My_Code_Generator, ref_all, ref_all_size, -1);
      |                            ^~~~~~~~~~~~~~~~~
This commit is contained in:
Piotr Kubaj 2025-01-11 11:46:49 +01:00
parent c8c1d0dfc6
commit f674d29b53

View file

@ -31,6 +31,8 @@ PLIST_SUB= PLIST_VER=${PORTVERSION:R}
OPTIONS_DEFINE= DOCS EXAMPLES
CFLAGS+= -Wno-error=incompatible-function-pointer-types
post-patch:
${TOUCH} ${WRKSRC}/man/${PORTNAME}.sgml