From 2daf89e2f70ddd5bb6b5ac88534105d29dc838a7 Mon Sep 17 00:00:00 2001 From: Andreas Kling Date: Mon, 1 Jul 2019 14:07:20 +0200 Subject: [PATCH] Ports: Fix SDL2 port trying to build against PulseAudio for some reason. I didn't look into why, but for some reason the SDL2 cmake build system thinks it should build against PulseAudio which we definitely don't have. So just tell it explicitly not to do that. Fixes #265. --- Ports/.port_include.sh | 2 +- Ports/SDL2/SDL2.sh | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/Ports/.port_include.sh b/Ports/.port_include.sh index 075e8d70eb..7893fe1583 100755 --- a/Ports/.port_include.sh +++ b/Ports/.port_include.sh @@ -68,7 +68,7 @@ run_patch() { } run_configure_cmake() { - run_command cmake -DCMAKE_TOOLCHAIN_FILE="$SERENITY_ROOT/Toolchain/CMakeToolchain.txt" . + run_command cmake -DCMAKE_TOOLCHAIN_FILE="$SERENITY_ROOT/Toolchain/CMakeToolchain.txt" $CMAKEOPTS . } run_configure_autotools() { diff --git a/Ports/SDL2/SDL2.sh b/Ports/SDL2/SDL2.sh index 4226b13811..f21cc24604 100755 --- a/Ports/SDL2/SDL2.sh +++ b/Ports/SDL2/SDL2.sh @@ -4,6 +4,7 @@ fetch() { run_fetch_git "https://github.com/SerenityOS/SDL" } configure() { + CMAKEOPTS="-DPULSEAUDIO=OFF" run_configure_cmake } build() {