git: 8948a51ce79c - 2024Q1 - audio/py-soxr: Fix build on arm64

From: Yuri Victorovich <yuri_at_FreeBSD.org>
Date: Wed, 24 Jan 2024 02:43:01 UTC
The branch 2024Q1 has been updated by yuri:

URL: https://cgit.FreeBSD.org/ports/commit/?id=8948a51ce79c8bf7eb298e45cacc08314ddfed7c

commit 8948a51ce79c8bf7eb298e45cacc08314ddfed7c
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:56 +0000

    audio/py-soxr: Fix build on arm64
    
    Reported by:    fallout
    
    (cherry picked from commit 65230ac4139e40ad40b506ef2b39d2ccbb0b9d84)
---
 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')
+