From 9a95842339886fadca449746f7d504e1d542e2c0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Wolfgang=20St=C3=B6ggl?= Date: Fri, 18 Sep 2020 00:36:06 +0200 Subject: [PATCH] sox: add -D__USE_MINGW_ANSI_STDIO=1 to CFLAGS This fixes several warnings concerning PRIu64 and PRIuPTR, e.g.: warning: unknown conversion type character 'l' in format [-Wformat=] warning: too many arguments for format [-Wformat-extra-args] --- mingw-w64-sox/PKGBUILD | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/mingw-w64-sox/PKGBUILD b/mingw-w64-sox/PKGBUILD index 76573fe40e..9fe45275fc 100644 --- a/mingw-w64-sox/PKGBUILD +++ b/mingw-w64-sox/PKGBUILD @@ -6,7 +6,7 @@ pkgbase=mingw-w64-${_realname} pkgname="${MINGW_PACKAGE_PREFIX}-${_realname}" # https://sourceforge.net/p/sox/code/ci/07de8a77a862e6800b95a8d3a61c6b4e41362755/ pkgver=14.4.2.r3203.07de8a77 -pkgrel=1 +pkgrel=2 pkgdesc="SoX is the Swiss Army Knife of sound processing utilities (mingw-w64)" arch=('any') url="https://sourceforge.net/projects/sox/" @@ -69,7 +69,7 @@ build() { --host=${MINGW_CHOST} \ --with-distro='MSYS2 MINGW-packages' - make + make CFLAGS="$CFLAGS -D__USE_MINGW_ANSI_STDIO=1" } package() {