haproxy/fix-invalid-parameter-combination-for-AltiVec-intrinsic-__builtin_vec_ld.patch
Marcus Rueckert afa08a80b8 Accepting request 1105096 from home:varkoly:branches:server:http
- Build error on ppc64le: include/import/xxhash.h:4148:9: error: invalid parameter combination for AltiVec intrinsic __builtin_vec_ld
  Add patch:
  fix-invalid-parameter-combination-for-AltiVec-intrinsic-__builtin_vec_ld.patch

OBS-URL: https://build.opensuse.org/request/show/1105096
OBS-URL: https://build.opensuse.org/package/show/server:http/haproxy?expand=0&rev=290
2023-08-21 14:50:13 +00:00

13 lines
725 B
Diff

--- haproxy-2.8.2+git0.61a0f576a/include/import/xxhash.h.orig 2023-08-18 07:12:28.464256077 +0200
+++ haproxy-2.8.2+git0.61a0f576a/include/import/xxhash.h 2023-08-18 07:18:38.142879532 +0200
@@ -4129,7 +4129,8 @@
const void* XXH_RESTRICT secret)
{
/* presumed aligned */
- unsigned long long* const xacc = (unsigned long long*) acc;
+ /* unsigned long long* const xacc = (unsigned long long*) acc; */
+ xxh_u64x2 const* const xacc = (xxh_u64x2 *) acc;
xxh_u64x2 const* const xinput = (xxh_u64x2 const*) input; /* no alignment restriction */
xxh_u64x2 const* const xsecret = (xxh_u64x2 const*) secret; /* no alignment restriction */
xxh_u64x2 const v32 = { 32, 32 };