sox: fix build with gcc14

This commit is contained in:
chrysos349 2025-05-03 21:05:19 +03:00 committed by Leah Neukirchen
parent df6b76ff45
commit f35c8e3995
2 changed files with 11 additions and 1 deletions

View file

@ -0,0 +1,10 @@
--- a/src/sox_sample_test.h
+++ b/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) \

View file

@ -1,7 +1,7 @@
# Template file for 'sox'
pkgname=sox
version=14.4.2
revision=8
revision=9
build_style=gnu-configure
configure_args="--with-distro=Void"
hostmakedepends="pkg-config"