git: 65230ac4139e - main - audio/py-soxr: Fix build on arm64

From: Yuri Victorovich <yuri_at_FreeBSD.org>
Date: Wed, 24 Jan 2024 02:42:39 UTC
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')
+