Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 08 Dec 2022 17:07:00 +0000
From:      bugzilla-noreply@freebsd.org
To:        desktop@FreeBSD.org
Subject:   [Bug 268250] audio/pulseaudio: fix build with clang 15
Message-ID:  <bug-268250-39348@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D268250

            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=3Dgnu11... no
  configure: error: *** Compiler does not support -std=3Dgnu11
  =3D=3D=3D>  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.

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-268250-39348>