Created attachment 246386 [details] Forcing C++14 code when compiling PASSENGER module As reported https://lists.freebsd.org/archives/freebsd-ports/2023-July/004203.html www/nginx and www/nginx-devel fail to compile when PASSENGER module is enabled. Passenger code is C++14 and current compiler assumes C++17 by default. The suggested patch fixes the problem by forcing C++14 code when compiling the module. Poudriere tested under 13.2 and 14.0.
This is identical to bug 273930.
*** Bug 273930 has been marked as a duplicate of this bug. ***
This just hit me today, while building for FreeBSD 14.0 Any reason not to commit it?
A commit in branch main references this bug: URL: https://cgit.FreeBSD.org/ports/commit/?id=397e97bec614388c452a1db5c69138d54655911c commit 397e97bec614388c452a1db5c69138d54655911c Author: Sergey A. Osokin <osa@FreeBSD.org> AuthorDate: 2023-12-01 21:18:17 +0000 Commit: Sergey A. Osokin <osa@FreeBSD.org> CommitDate: 2023-12-01 21:19:30 +0000 www/nginx-devel: fix build with a third-party passenger module Bump PORTREVISION. PR: 275161 www/nginx-devel/Makefile | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-)
I'm going to take this after maintainer timeout. Hold on.
A commit in branch main references this bug: URL: https://cgit.FreeBSD.org/ports/commit/?id=b31426d1f77c12e47a60ff4b6b663826afd4702f commit b31426d1f77c12e47a60ff4b6b663826afd4702f Author: Jochen Neumeister <joneum@FreeBSD.org> AuthorDate: 2023-12-03 07:51:41 +0000 Commit: Jochen Neumeister <joneum@FreeBSD.org> CommitDate: 2023-12-03 07:52:46 +0000 www/nginx: fix build with a third-party passenger module PR: 275161 Sponsored by: Netzkommune GmbH www/nginx/Makefile | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-)
A commit in branch 2023Q4 references this bug: URL: https://cgit.FreeBSD.org/ports/commit/?id=8848573087ff210c5383adcd899b055c50467fb4 commit 8848573087ff210c5383adcd899b055c50467fb4 Author: Jochen Neumeister <joneum@FreeBSD.org> AuthorDate: 2023-12-03 07:51:41 +0000 Commit: Koichiro Iwao <meta@FreeBSD.org> CommitDate: 2023-12-03 09:57:04 +0000 www/nginx: fix build with a third-party passenger module PR: 275161 Sponsored by: Netzkommune GmbH This commit is required to complete PR 275161. The fix for www/nginx-devel is not necessary at the moment. (cherry picked from commit b31426d1f77c12e47a60ff4b6b663826afd4702f) www/nginx/Makefile | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-)