From 281cd13d44dc968c21e5d5c5c20059f49b4f178c Mon Sep 17 00:00:00 2001 From: Michael Gehring Date: Thu, 8 Dec 2016 09:41:22 +0000 Subject: [PATCH] pcsx2: fix gcc6 build --- srcpkgs/pcsx2/patches/gcc6.patch | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 srcpkgs/pcsx2/patches/gcc6.patch diff --git a/srcpkgs/pcsx2/patches/gcc6.patch b/srcpkgs/pcsx2/patches/gcc6.patch new file mode 100644 index 00000000000..e1e656b19fc --- /dev/null +++ b/srcpkgs/pcsx2/patches/gcc6.patch @@ -0,0 +1,22 @@ +From aeaa09619d4cfc57c1b98daea5cf7093340362e8 Mon Sep 17 00:00:00 2001 +From: Gregory Hainaut +Date: Mon, 18 Apr 2016 19:27:06 +0200 +Subject: [PATCH] x86emitter: gcc 6 compilation fix + +Fix #1297 +--- + common/src/x86emitter/cpudetect.cpp | 1 + + 1 file changed, 1 insertion(+) + +diff --git a/common/src/x86emitter/cpudetect.cpp b/common/src/x86emitter/cpudetect.cpp +index b318909..38f506d 100644 +--- common/src/x86emitter/cpudetect.cpp ++++ common/src/x86emitter/cpudetect.cpp +@@ -16,6 +16,7 @@ + #include "PrecompiledHeader.h" + #include "cpudetect_internal.h" + #include "internal.h" ++#include "x86_intrin.h" + + using namespace x86Emitter; +