Group :: Sound
RPM: bristol
Main Changelog Spec Patches Sources Download Gear Bugs and FR Repocop
Patch: bristol-0.60.11-alt-build-without-alsa-iatomic.patch
Download
Download
diff --git a/bristol/libbristolaudio/audioEngineJack.c b/bristol/libbristolaudio/audioEngineJack.c
index 2b8900b..8450fd1 100644
--- a/bristol/libbristolaudio/audioEngineJack.c
+++ b/bristol/libbristolaudio/audioEngineJack.c
@@ -38,9 +38,6 @@
#include <string.h>
#ifdef _BRISTOL_JACK
-#if (BRISTOL_HAS_ALSA == 1)
-#include <alsa/iatomic.h>
-#endif
/*
* Drop this atomic stuff, it comes from the ALSA library and it not present on
@@ -53,7 +50,7 @@
#ifdef DONT_USE_THIS //IATOMIC_DEFINED // Not very portable
atomic_t closedown = ATOMIC_INIT(1);
#else
-int closedown = 1;
+volatile int closedown = 1;
#endif
#include "bristol.h"