Package: sox / 14.4.2+git20190427-5

0029-fix-build-gcc14.patch Patch series | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
From: Joachim Bauch <fancycode@debian.org>
Date: Sun, 4 Aug 2024 20:26:07 +0200
Subject: Add missing include for "fabs".

This fixes ftbfs with gcc-14.

Forwarded: not-needed

Index: sox/src/sox_sample_test.h
===================================================================
--- sox.orig/src/sox_sample_test.h
+++ sox/src/sox_sample_test.h
@@ -19,6 +19,7 @@
 #undef NDEBUG /* Must undef above assert.h or other that might include it. */
 #endif
 #include <assert.h>
+#include <math.h>
 #include "sox.h"

 #define TEST_UINT(bits) \