Created attachment 210507 [details] suugested patch After update to gperf 3.1 the port fails to build. ===> Building for flasm-1.62 gmake[1]: Entering directory '/data/image/usr/ports/graphics/flasm/work/flasm-1.62' cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -c -o util.o util.c bison --defines --debug assembler.y gperf --language=ANSI-C -t -T -E -o -k 1,$,2,5 -S8 keywords.gperf > keywords.c cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -c -o keywords.o keywords.c keywords.gperf:76:1: error: conflicting types for 'in_word_set' in_word_set (register const char *str, register size_t len) ^ keywords.gperf:14:17: note: previous declaration is here struct keyword *in_word_set(register const char *str, register unsigned int len); ^ 1 error generated. gmake[1]: *** [<builtin>: keywords.o] Error 1 In the API the type has changed from "unsigned int" to "size_t" The attached patch fixes build for me.
Build info is available at https://gitlab.com/swills/freebsd-ports/pipelines/111248325
A commit references this bug: Author: dinoex Date: Sat Feb 1 20:05:10 UTC 2020 New revision: 524787 URL: https://svnweb.freebsd.org/changeset/ports/524787 Log: - fix build with gperf 3.1 PR: 243163 Approved by: (maintainer timeout) Changes: head/graphics/flasm/Makefile head/graphics/flasm/files/patch-keywords.gperf head/graphics/flasm/files/patch-util.h