Created attachment 200154 [details]
This port requires C11-compatible compiler. It also doesn't respect CFLAGS and LDFLAGS, so USE_CSTD actually didn't have any effect.
Add patch to respect CFLAGS.
Tested on powerpc64 and amd64.
Hardware sponsored by IntegriCloud.
Created attachment 200242 [details]
This doesn't build for me under poudriere for 12.0-RELEASE.
It looks like my change to patch-configure breaks it, but my change to Makefile is enough to make it build on powerpc64 and doesn't break amd64.
Can you commit that?
To clear the confusion:
--- Makefile (revision 487742)
+++ Makefile (working copy)
@@ -20,8 +20,7 @@
-USES= cpe gmake lua:51 shebangfix ssl
+USES= compiler:c11 cpe gmake lua:51 shebangfix ssl
SHEBANG_FILES= prosody prosodyctl
A commit references this bug:
Date: Wed Dec 19 18:45:39 UTC 2018
New revision: 487809
Fix build on GCC architectures.
Submitted by: Piotr Kubaj
Committed Wed Dec 19 18:45:39 UTC 2018.