sox: Get rid of references to leaked builtins

This commit is contained in:
Tee KOBAYASHI 2022-03-21 23:11:10 +09:00 committed by xtkoba
parent 196e9b6401
commit 82360de461
2 changed files with 15 additions and 2 deletions

View File

@ -1,9 +1,9 @@
TERMUX_PKG_HOMEPAGE=http://sox.sourceforge.net/
TERMUX_PKG_DESCRIPTION="Command line utility for converting between and applying effects to various audio files formats"
TERMUX_PKG_LICENSE="LGPL-2.1"
TERMUX_PKG_LICENSE="GPL-2.0, LGPL-2.1"
TERMUX_PKG_MAINTAINER="@termux"
TERMUX_PKG_VERSION=14.4.2
TERMUX_PKG_REVISION=20
TERMUX_PKG_REVISION=21
TERMUX_PKG_SRCURL=http://downloads.sourceforge.net/project/sox/sox/${TERMUX_PKG_VERSION}/sox-${TERMUX_PKG_VERSION}.tar.bz2
TERMUX_PKG_SHA256=81a6956d4330e75b5827316e44ae381e6f1e8928003c6aa45896da9041ea149c
TERMUX_PKG_DEPENDS="file, libao, libpng, libmp3lame, libvorbis, libandroid-glob, libflac, libid3tag, libmad, pulseaudio, opusfile, libsndfile, zlib"

View File

@ -0,0 +1,13 @@
--- a/src/formats.c
+++ b/src/formats.c
@@ -29,6 +29,10 @@
#include <sys/stat.h>
#include <sys/types.h>
+#ifdef __ANDROID__
+ #include <bits/struct_file.h>
+#endif
+
#ifdef HAVE_IO_H
#include <io.h>
#endif