Date: Sat, 10 Dec 2022 20:36:37 GMT From: Jan Beich <jbeich@FreeBSD.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org Subject: git: a968b5fd5ef3 - main - audio/pulseaudio: unbreak build with clang 15 Message-ID: <202212102036.2BAKabh3060928@gitrepo.freebsd.org>
next in thread | raw e-mail | index | archive | help
The branch main has been updated by jbeich: URL: https://cgit.FreeBSD.org/ports/commit/?id=a968b5fd5ef3b5a20c5d507697e354cfa5d07743 commit a968b5fd5ef3b5a20c5d507697e354cfa5d07743 Author: Dimitry Andric <dim@FreeBSD.org> AuthorDate: 2022-12-08 17:00:36 +0000 Commit: Jan Beich <jbeich@FreeBSD.org> CommitDate: 2022-12-10 20:36:16 +0000 audio/pulseaudio: unbreak build with clang 15 checking whether C compiler accepts -std=gnu11... no configure: error: *** Compiler does not support -std=gnu11 [...] configure:9379: cc -c -O2 -pipe -DLIBICONV_PLUG -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -pedantic -Werror -std=gnu11 -DLIBICONV_PLUG -isystem /usr/local/include conftest.c >&5 conftest.c:33:6: error: a function declaration without a prototype is deprecated in all versions of C [-Werror,-Wstrict-prototypes] main () ^ void https://gitlab.freedesktop.org/pulseaudio/pulseaudio/-/commit/1afd23363018 https://git.savannah.gnu.org/gitweb/?p=autoconf.git;a=commitdiff;h=1717921aa6c1 PR: 268250 Reported by: antoine (via bug 265425 exp-run) --- audio/pulseaudio/Makefile | 1 + 1 file changed, 1 insertion(+) diff --git a/audio/pulseaudio/Makefile b/audio/pulseaudio/Makefile index 43031962dffd..4ff0c31f7b09 100644 --- a/audio/pulseaudio/Makefile +++ b/audio/pulseaudio/Makefile @@ -112,6 +112,7 @@ post-patch: -e 's|--directory|-d|g' \ ${WRKSRC}/src/utils/pa-info @${REINPLACE_CMD} -e 's|-Wmissing-include-dirs||g' \ + -e 's|main ()|main (void)|g' \ ${WRKSRC}/configure pre-install-TEST-on: do-test
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202212102036.2BAKabh3060928>