1
0
Fork 0
mirror of https://gitlab.alpinelinux.org/alpine/aports.git synced 2025-07-13 19:29:53 +03:00
aports/community/clipboard/fix-build-without-alsa.patch
Jakub Jirutka 75073cda30 community/clipboard: remove dependency on alsa-lib
It's a clipboard manager, why it should play any sounds?! 🤦
2024-11-16 16:12:15 +00:00

13 lines
441 B
Diff

--- a/src/cb/src/platforms/linux.cpp
+++ b/src/cb/src/platforms/linux.cpp
@@ -14,7 +14,10 @@
You should have received a copy of the GNU General Public License
along with this program. If not, see <https://www.gnu.org/licenses/>.*/
#include "../clipboard.hpp"
+
+#if defined(USE_ALSA)
#include <alsa/asoundlib.h>
+#endif
void dummy_handler(const char* file, int line, const char* function, int err, const char* fmt, ...) {}