From 345398b54c832db32e97435a73a63879b454c7cc Mon Sep 17 00:00:00 2001 From: Mark Wielaard Date: Jun 17 2017 13:30:28 +0000 Subject: Update valgrind-3.13.0-ppc64-check-no-vsx.patch to include ppc64. --- diff --git a/valgrind-3.13.0-ppc64-check-no-vsx.patch b/valgrind-3.13.0-ppc64-check-no-vsx.patch index 8a8fe9f..8356773 100644 --- a/valgrind-3.13.0-ppc64-check-no-vsx.patch +++ b/valgrind-3.13.0-ppc64-check-no-vsx.patch @@ -85,3 +85,77 @@ index 8c74c09..5ebc1a5 100644 #ifndef __powerpc64__ typedef uint32_t HWord_t; #else + +diff --git a/none/tests/ppc64/test_isa_2_06_part1.c b/none/tests/ppc64/test_isa_2_06_part1.c +index 7cd4930..7a14c6d 100644 +--- a/none/tests/ppc64/test_isa_2_06_part1.c ++++ b/none/tests/ppc64/test_isa_2_06_part1.c +@@ -20,13 +20,14 @@ + The GNU General Public License is contained in the file COPYING. + */ + +-#ifdef HAS_VSX +- + #include + #include + #include + #include + #include ++ ++#ifdef HAS_VSX ++ + #include + + #ifndef __powerpc64__ +diff --git a/none/tests/ppc64/test_isa_2_06_part2.c b/none/tests/ppc64/test_isa_2_06_part2.c +index c7bf4fe..2ee7b53 100644 +--- a/none/tests/ppc64/test_isa_2_06_part2.c ++++ b/none/tests/ppc64/test_isa_2_06_part2.c +@@ -20,17 +20,18 @@ + The GNU General Public License is contained in the file COPYING. + */ + +-#ifdef HAS_VSX +- + #include + #include + #include + #include + #include +-#include + #include + #include // getopt + ++#ifdef HAS_VSX ++ ++#include ++ + #ifndef __powerpc64__ + typedef uint32_t HWord_t; + #else +diff --git a/none/tests/ppc64/test_isa_2_06_part3.c b/none/tests/ppc64/test_isa_2_06_part3.c +index 8c74c09..5ebc1a5 100644 +--- a/none/tests/ppc64/test_isa_2_06_part3.c ++++ b/none/tests/ppc64/test_isa_2_06_part3.c +@@ -20,17 +20,18 @@ + The GNU General Public License is contained in the file COPYING. + */ + +-#ifdef HAS_VSX +- + #include + #include + #include + #include + #include +-#include + #include + #include // getopt + ++#ifdef HAS_VSX ++ ++#include ++ + #ifndef __powerpc64__ + typedef uint32_t HWord_t; + #else