From c0bb97771c7fa2271d25c0800abd3897289b7133 Mon Sep 17 00:00:00 2001 From: "B. Stack" Date: Mon, 30 Dec 2024 14:41:54 -0500 Subject: oh, use 3.0.0 patch --- headsetcontrol/debian/patches/warningsnoterrors.patch | 13 +++++-------- 1 file changed, 5 insertions(+), 8 deletions(-) (limited to 'headsetcontrol/debian/patches/warningsnoterrors.patch') diff --git a/headsetcontrol/debian/patches/warningsnoterrors.patch b/headsetcontrol/debian/patches/warningsnoterrors.patch index 1b1a485..675406a 100644 --- a/headsetcontrol/debian/patches/warningsnoterrors.patch +++ b/headsetcontrol/debian/patches/warningsnoterrors.patch @@ -1,16 +1,13 @@ -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 +diff --git a/CMakeLists.txt b/CMakeLists.txt +index 1c68a5b..be6ce2e 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt -@@ -36,7 +36,6 @@ IF (WIN32) +@@ -36,7 +36,7 @@ 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_C_FLAGS "${CMAKE_C_FLAGS} -Wall -Werror") ++ set(CMAKE_EXPORT_COMPILE_COMMANDS ON) # ------------------------------------------------------------------------------ -- cgit