HomeFreeBSD

MFH: r402530 r402545

Description

MFH: r402530 r402545

Add upstream patch to fix the build with clang + ALSA option.

Extend the compiler check so that the code is built with -std=c99, which is
required by the ALSA headers. Bump PORTREVISION because this also changes
the build flags for GCC users.

PR: 204858

Fix the ALSA=OFF build after r402530.

Both extrapatch-no_alsa and patch-git_d6927712 touch the same region of
CMakeLists.txt, and the latter was failing to apply when the ALSA option was
disabled.

Fix it by keeping patch-git_d6927712 (which fixes the CFLAGS values
regardless of the value of the ALSA option) and replacing extrapatch-no_alsa
with some post-patch/post-configure changes that achieve the same end
result.

PR: 204858

Approved by: ports-secteam (feld)

Details

Provenance
rakucoAuthored on
Parents
rP402616: Add ELFv2 support for FreeBSD PowerPC.
Branches
Unknown
Tags
Unknown