[Bug 268250] audio/pulseaudio: fix build with clang 15
- Reply: bugzilla-noreply_a_freebsd.org: "maintainer-feedback requested: [Bug 268250] audio/pulseaudio: fix build with clang 15"
- Reply: bugzilla-noreply_a_freebsd.org: "[Bug 268250] audio/pulseaudio: fix build with clang 15"
- Reply: bugzilla-noreply_a_freebsd.org: "[Bug 268250] audio/pulseaudio: fix build with clang 15"
- Reply: bugzilla-noreply_a_freebsd.org: "[Bug 268250] audio/pulseaudio: fix build with clang 15"
- Reply: bugzilla-noreply_a_freebsd.org: "[Bug 268250] audio/pulseaudio: fix build with clang 15"
- Reply: bugzilla-noreply_a_freebsd.org: "[Bug 268250] audio/pulseaudio: fix build with clang 15"
- Reply: bugzilla-noreply_a_freebsd.org: "[Bug 268250] audio/pulseaudio: fix build with clang 15"
- Reply: bugzilla-noreply_a_freebsd.org: "[Bug 268250] audio/pulseaudio: fix build with clang 15"
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Thu, 08 Dec 2022 17:07:00 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=268250
Bug ID: 268250
Summary: audio/pulseaudio: fix build with clang 15
Product: Ports & Packages
Version: Latest
Hardware: Any
OS: Any
Status: New
Severity: Affects Some People
Priority: ---
Component: Individual Port(s)
Assignee: desktop@FreeBSD.org
Reporter: dim@FreeBSD.org
Flags: maintainer-feedback?(desktop@FreeBSD.org)
Assignee: desktop@FreeBSD.org
audio/pulseaudio: fix build with clang 15
During an exp-run for llvm 15 (see bug 265425), it turned out that
devel/pulseaudio failed to build with clang 15:
checking whether C compiler accepts -std=gnu11... no
configure: error: *** Compiler does not support -std=gnu11
===> Script "configure" failed unexpectedly.
The configure script compiles a few test cases with -pedantic -Werror, and with
clang 15 this results in a -Wstrict-prototypes error, since the test cases use
"int main ()" instead of "int main (void)".
Replace instances of "int main()" with "int main (void)" in the configure
script to work around this problem.
--
You are receiving this mail because:
You are the assignee for the bug.