From 1d3b23e6bdbf53eb74161c37d8c355c2ec858a19 Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Sun, 14 Apr 2024 15:58:36 +0200 Subject: Adding debian version 14-20240201-3. Signed-off-by: Daniel Baumann --- debian/patches/testsuite-glibc-warnings.diff | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 debian/patches/testsuite-glibc-warnings.diff (limited to 'debian/patches/testsuite-glibc-warnings.diff') diff --git a/debian/patches/testsuite-glibc-warnings.diff b/debian/patches/testsuite-glibc-warnings.diff new file mode 100644 index 0000000..b1353f0 --- /dev/null +++ b/debian/patches/testsuite-glibc-warnings.diff @@ -0,0 +1,18 @@ +# DP: fix testcases that triggered -Wunused-result with glibc +# DP: Author: Steve Beattie +--- + src/gcc/testsuite/c-c++-common/cilk-plus/AN/comma_exp.c | 2 +- + src/gcc/testsuite/c-c++-common/tsan/fd_pipe_race.c | 1 + + 2 files changed, 2 insertions(+), 1 deletion(-) + +Index: b/src/gcc/testsuite/c-c++-common/tsan/fd_pipe_race.c +=================================================================== +--- a/src/gcc/testsuite/c-c++-common/tsan/fd_pipe_race.c ++++ b/src/gcc/testsuite/c-c++-common/tsan/fd_pipe_race.c +@@ -1,5 +1,5 @@ + /* { dg-shouldfail "tsan" } */ +-/* { dg-additional-options "-ldl" } */ ++/* { dg-additional-options "-Wno-unused-result -ldl" } */ + + #include + #include -- cgit v1.2.3