15
0
Files
python-autobahn/intrin-arch.patch
Steve Kowalik c5a4fe043a - Update to 24.6.2:
* unit test fixes (#1634)
  * bump minimum twisted to 24.3.0 (#1635)
  * a couple of packaging fixes (#1632)
  * update license file to include contributors (#1628)
  * Random ID should beginning with 1 (#1637)
- Drop patch fix-wamp-tests.patch, included upstream.
- Add patch support-new-pytest-asyncio.patch:
  * Support even more pytest-asyncio.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-autobahn?expand=0&rev=73
2024-12-10 06:11:32 +00:00

20 lines
533 B
Diff

Index: autobahn-23.6.2/autobahn/nvx/_utf8validator.c
===================================================================
--- autobahn-23.6.2.orig/autobahn/nvx/_utf8validator.c
+++ autobahn-23.6.2/autobahn/nvx/_utf8validator.c
@@ -27,10 +27,14 @@
#include <stdlib.h>
#include <stdint.h>
+#ifdef __s390__
+#include <s390intrin.h>
+#else
// http://stackoverflow.com/questions/11228855/header-files-for-simd-intrinsics
#if defined(__SSE2__) || defined(__SSE4_1__)
#include <x86intrin.h>
#endif
+#endif
#define UTF8_ACCEPT 0