mirror of
https://github.com/void-linux/void-packages.git
synced 2025-07-30 01:12:58 +02:00
sox: fix build with gcc14
This commit is contained in:
parent
df6b76ff45
commit
f35c8e3995
2 changed files with 11 additions and 1 deletions
10
srcpkgs/sox/patches/gcc14.patch
Normal file
10
srcpkgs/sox/patches/gcc14.patch
Normal 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) \
|
|
@ -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"
|
||||
|
|
Loading…
Add table
Reference in a new issue