From 3e9872beee5dec1393bb283cba6688617d741040b5c2eb105df58baebfacccd4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tom=C3=A1=C5=A1=20Chv=C3=A1tal?= Date: Tue, 19 Mar 2019 15:32:53 +0000 Subject: [PATCH] OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/zlib?expand=0&rev=49 --- zlib-power8-fate325307.patch | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/zlib-power8-fate325307.patch b/zlib-power8-fate325307.patch index c7a9a50..f54e1c1 100644 --- a/zlib-power8-fate325307.patch +++ b/zlib-power8-fate325307.patch @@ -1316,7 +1316,7 @@ Index: zlib-1.2.11/contrib/power8-crc/vec_crc32.c =================================================================== --- /dev/null +++ zlib-1.2.11/contrib/power8-crc/vec_crc32.c -@@ -0,0 +1,677 @@ +@@ -0,0 +1,679 @@ +/* + * Calculate the checksum of data that is 16 byte aligned and a multiple of + * 16 bytes. @@ -1359,6 +1359,8 @@ Index: zlib-1.2.11/contrib/power8-crc/vec_crc32.c +#include "crc32_constants.h" +#endif + ++#include "../zutil.h" ++ +#define VMX_ALIGN 16 +#define VMX_ALIGN_MASK (VMX_ALIGN-1) +