Created attachment 203557 [details] patch Sources use C99 features but GCC 4.2 by default compiles in C89. Set USE_CSTD=c99 to fix build. Tested on powerpc64 and amd64.
Going to perform some testing before committing. Thanks for the patch!
A commit references this bug: Author: madpilot Date: Wed Apr 10 20:52:58 UTC 2019 New revision: 498598 URL: https://svnweb.freebsd.org/changeset/ports/498598 Log: Fix build with GCC-based architectures. PR: 237175 Submitted by: Piotr Kubaj <pkubaj@anongoth.pl> Changes: head/x11/xfce4-screenshooter-plugin/Makefile
Committed. Thanks!