summaryrefslogtreecommitdiff
path: root/headsetcontrol/debian
diff options
context:
space:
mode:
authorB. Stack <bgstack15@gmail.com>2024-12-30 14:34:03 -0500
committerB. Stack <bgstack15@gmail.com>2024-12-30 14:34:03 -0500
commita5002f35a2e8b2ecb797401d0c0cd1aa096a0bd1 (patch)
treed2ae77e56ce63eea148f8f4bb551abc8adb78cc1 /headsetcontrol/debian
parentadd headsetcontrol (diff)
downloadstackrpms-a5002f35a2e8b2ecb797401d0c0cd1aa096a0bd1.tar.gz
stackrpms-a5002f35a2e8b2ecb797401d0c0cd1aa096a0bd1.tar.bz2
stackrpms-a5002f35a2e8b2ecb797401d0c0cd1aa096a0bd1.zip
headsetcontrol: warnings not errors
Diffstat (limited to 'headsetcontrol/debian')
-rw-r--r--headsetcontrol/debian/patches/series1
-rw-r--r--headsetcontrol/debian/patches/warningsnoterrors.patch16
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)
+
+ # ------------------------------------------------------------------------------
bgstack15