[kde-freebsd] [Bug 204858] audio/libkcompactdisc build fails, when ALSA-option is selected
bugzilla-noreply at freebsd.org
bugzilla-noreply at freebsd.org
Sat Nov 28 13:11:25 UTC 2015
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=204858
--- Comment #2 from Raphael Kubo da Costa <rakuco at FreeBSD.org> ---
OK, building as root found asoundlib.h and I've managed to reproduce the issue.
It's possible that this has been broken for a while and just went unnoticed
because the ALSA option is not on by default.
libkcompactdisc's CMakeLists.txt has this excerpt:
if(CMAKE_COMPILER_IS_GNUCXX)
set(CMAKE_C_FLAGS "-std=c99") ## ALSA no longer compiles with -std=c90,
see https://bugzilla.novell.com/show_bug.cgi?id=817077
endif()
which only works for GCC. The condition needs to be extended to clang or there
needs to be a call to change the default flags (I need to look for one).
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the kde-freebsd
mailing list