Date: Sun, 4 Aug 2024 22:28:59 GMT From: Yuri Victorovich <yuri@FreeBSD.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org Subject: git: 38924beeeac3 - main - audio/py-soxr: Fix build by removing -Werror Message-ID: <202408042228.474MSxa5084356@gitrepo.freebsd.org>
next in thread | raw e-mail | index | archive | help
The branch main has been updated by yuri: URL: https://cgit.FreeBSD.org/ports/commit/?id=38924beeeac345436dc8419ca0af435df0f4924c commit 38924beeeac345436dc8419ca0af435df0f4924c Author: Yuri Victorovich <yuri@FreeBSD.org> AuthorDate: 2024-08-04 22:28:18 +0000 Commit: Yuri Victorovich <yuri@FreeBSD.org> CommitDate: 2024-08-04 22:28:57 +0000 audio/py-soxr: Fix build by removing -Werror Reported by: fallout --- audio/py-soxr/files/patch-setup.py | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/audio/py-soxr/files/patch-setup.py b/audio/py-soxr/files/patch-setup.py index 8ce5eb695372..a75fddff78c0 100644 --- a/audio/py-soxr/files/patch-setup.py +++ b/audio/py-soxr/files/patch-setup.py @@ -1,8 +1,8 @@ - workaround for https://github.com/dofuuz/python-soxr/issues/25 ---- setup.py.orig 2024-01-24 02:08:37 UTC +--- setup.py.orig 2024-07-25 13:58:38 UTC +++ setup.py -@@ -122,7 +122,8 @@ if '-arm' in platform: +@@ -122,12 +122,13 @@ if '-arm' in platform: platform = sysconfig.get_platform() if '-arm' in platform: @@ -12,3 +12,9 @@ elif '-i686' in platform: compile_args.append('-msse') + if get_default_compiler() in ['unix', 'mingw32']: +- compile_args += ['-std=gnu99', '-Werror=implicit'] ++ compile_args += ['-std=gnu99'] + + extensions = [ + CySoxrExtension(
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202408042228.474MSxa5084356>