File: gcc-15.patch

package info (click to toggle)
riemann-c-client 1.10.4-5
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 576 kB
  • sloc: ansic: 4,082; makefile: 122; sh: 35
file content (14 lines) | stat: -rw-r--r-- 409 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
Author: Andreas Beckmann <anbe@debian.org>
Description: fix building with GCC 15

--- a/Makefile.am
+++ b/Makefile.am
@@ -79,7 +79,7 @@ AM_TESTS_ENVIRONMENT		= \
 	export CK_FORK;
 TESTS_ENVIRONMENT		?= ${AM_TESTS_ENVIRONMENT}
 
-tests/check_%: CFLAGS += ${CHECK_CFLAGS}
+tests/check_%: CFLAGS += ${CHECK_CFLAGS} -std=gnu17
 tests/check_%: LDADD += ${CHECK_LIBS} -ldl
 tests/check_%: LDFLAGS += -no-install