mirror of
https://git.freebsd.org/ports.git
synced 2025-04-28 01:26:39 -04:00
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:
parent
c8c1d0dfc6
commit
f674d29b53
1 changed files with 2 additions and 0 deletions
|
@ -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
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue