diff options
-rw-r--r-- | headsetcontrol/debian/patches/series | 1 | ||||
-rw-r--r-- | headsetcontrol/debian/patches/warningsnoterrors.patch | 16 |
2 files changed, 17 insertions, 0 deletions
diff --git a/headsetcontrol/debian/patches/series b/headsetcontrol/debian/patches/series index 4a97dfa..bb015a1 100644 --- a/headsetcontrol/debian/patches/series +++ b/headsetcontrol/debian/patches/series @@ -1 +1,2 @@ # You must remove unused comment lines for the released package. +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 <bgstack15@gmail.com> +Author: Denis Arnst <git@sapd.eu> +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) + + # ------------------------------------------------------------------------------ |