summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorB. Stack <bgstack15@gmail.com>2024-12-30 14:41:54 -0500
committerB. Stack <bgstack15@gmail.com>2024-12-30 14:41:54 -0500
commitc0bb97771c7fa2271d25c0800abd3897289b7133 (patch)
tree4864c5530e5734d743c0b3c082cbe32778a008c6
parentheadsetcontrol: warnings not errors (diff)
downloadstackrpms-c0bb97771c7fa2271d25c0800abd3897289b7133.tar.gz
stackrpms-c0bb97771c7fa2271d25c0800abd3897289b7133.tar.bz2
stackrpms-c0bb97771c7fa2271d25c0800abd3897289b7133.zip
oh, use 3.0.0 patch
-rw-r--r--headsetcontrol/debian/patches/warningsnoterrors.patch13
1 files changed, 5 insertions, 8 deletions
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 <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
+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)
# ------------------------------------------------------------------------------
bgstack15