git: b52f6372d0eb - main - www/py-autobahn: fix build on !amd64 by removing march=native

From: Piotr Kubaj <pkubaj_at_FreeBSD.org>
Date: Mon, 03 Jun 2024 15:12:33 UTC
The branch main has been updated by pkubaj:

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

commit b52f6372d0ebd7cfa8bde493f9a99d02df5a6313
Author:     Piotr Kubaj <pkubaj@FreeBSD.org>
AuthorDate: 2024-06-02 09:33:07 +0000
Commit:     Piotr Kubaj <pkubaj@FreeBSD.org>
CommitDate: 2024-06-03 15:11:56 +0000

    www/py-autobahn: fix build on !amd64 by removing march=native
---
 www/py-autobahn/files/patch-autobahn_nvx___utf8validator.py | 11 +++++++++++
 1 file changed, 11 insertions(+)

diff --git a/www/py-autobahn/files/patch-autobahn_nvx___utf8validator.py b/www/py-autobahn/files/patch-autobahn_nvx___utf8validator.py
new file mode 100644
index 000000000000..736f2bb71dd0
--- /dev/null
+++ b/www/py-autobahn/files/patch-autobahn_nvx___utf8validator.py
@@ -0,0 +1,11 @@
+--- autobahn/nvx/_utf8validator.py.orig	2024-06-02 09:20:40 UTC
++++ autobahn/nvx/_utf8validator.py
+@@ -55,7 +55,7 @@ with open(os.path.join(os.path.dirname(__file__), '_ut
+         "_nvx_utf8validator",
+         c_source,
+         libraries=[],
+-        extra_compile_args=['-std=c99', '-Wall', '-Wno-strict-prototypes', '-O3', '-march=native'],
++        extra_compile_args=['-std=c99', '-Wall', '-Wno-strict-prototypes', '-O3'],
+         optional=optional
+     )
+