Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 24 Jan 2024 02:42:39 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: 65230ac4139e - main - audio/py-soxr: Fix build on arm64
Message-ID:  <202401240242.40O2gdPL086442@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=65230ac4139e40ad40b506ef2b39d2ccbb0b9d84

commit 65230ac4139e40ad40b506ef2b39d2ccbb0b9d84
Author:     Yuri Victorovich <yuri@FreeBSD.org>
AuthorDate: 2024-01-24 02:42:13 +0000
Commit:     Yuri Victorovich <yuri@FreeBSD.org>
CommitDate: 2024-01-24 02:42:13 +0000

    audio/py-soxr: Fix build on arm64
    
    Reported by:    fallout
---
 audio/py-soxr/files/patch-setup.py | 14 ++++++++++++++
 1 file changed, 14 insertions(+)

diff --git a/audio/py-soxr/files/patch-setup.py b/audio/py-soxr/files/patch-setup.py
new file mode 100644
index 000000000000..8ce5eb695372
--- /dev/null
+++ b/audio/py-soxr/files/patch-setup.py
@@ -0,0 +1,14 @@
+- workaround for https://github.com/dofuuz/python-soxr/issues/25
+
+--- setup.py.orig	2024-01-24 02:08:37 UTC
++++ setup.py
+@@ -122,7 +122,8 @@ if '-arm' in platform:
+ 
+ platform = sysconfig.get_platform()
+ if '-arm' in platform:
+-    compile_args.append('-mfpu=neon')
++    #compile_args.append('-mfpu=neon')
++    pass
+ elif '-i686' in platform:
+     compile_args.append('-msse')
+ 



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202401240242.40O2gdPL086442>