From a5002f35a2e8b2ecb797401d0c0cd1aa096a0bd1 Mon Sep 17 00:00:00 2001 From: "B. Stack" Date: Mon, 30 Dec 2024 14:34:03 -0500 Subject: headsetcontrol: warnings not errors --- headsetcontrol/debian/patches/warningsnoterrors.patch | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 headsetcontrol/debian/patches/warningsnoterrors.patch (limited to 'headsetcontrol/debian/patches/warningsnoterrors.patch') diff --git a/headsetcontrol/debian/patches/warningsnoterrors.patch b/headsetcontrol/debian/patches/warningsnoterrors.patch new file mode 100644 index 0000000..1b1a485 --- /dev/null +++ b/headsetcontrol/debian/patches/warningsnoterrors.patch @@ -0,0 +1,16 @@ +From: B. Stack +Author: Denis Arnst +Last-modified: 2024-12-30 14:33 +Description: + Remove the -Wall (formerly -Wall -Werror) from compile flags +Origin: headsetcontrol upstream +--- a/CMakeLists.txt ++++ b/CMakeLists.txt +@@ -36,7 +36,6 @@ IF (WIN32) + set(CMAKE_EXE_LINKER_FLAGS "${CMAKE_EXE_LINKER_FLAGS} -Wl,-Bstatic,--whole-archive -lwinpthread -Wl,--no-whole-archive") + ENDIF() + +-set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -Wall") + set(CMAKE_EXPORT_COMPILE_COMMANDS ON) + + # ------------------------------------------------------------------------------ -- cgit