File: 0003-Stop-using-Werror-in-.-tests.patch

package info (click to toggle)
dssi 1.1.1~dfsg0-7
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 2,164 kB
  • sloc: sh: 11,006; ansic: 3,887; cpp: 1,364; perl: 191; makefile: 164
file content (24 lines) | stat: -rw-r--r-- 748 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
From: Andreas Henriksson <andreas@fatal.se>
Date: Tue, 15 Apr 2025 20:00:25 +0200
Subject: Stop using -Werror in ./tests/

The tests are built during package build in debian and might
thus cause FTBFS when warnings are introduced by changes in
dependencies.

See for example https://bugs.debian.org/1103187
---
 tests/Makefile.am | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tests/Makefile.am b/tests/Makefile.am
index 4255f43..984cadc 100644
--- a/tests/Makefile.am
+++ b/tests/Makefile.am
@@ -6,5 +6,5 @@ check_PROGRAMS = controller
 
 controller_SOURCES = controller.c ../dssi/dssi.h
 
-controller_CFLAGS = -Wall -Werror -I$(top_srcdir)/dssi $(ALSA_CFLAGS)
+controller_CFLAGS = -Wall -I$(top_srcdir)/dssi $(ALSA_CFLAGS)