[pcsx2] 02/03: Fix FTBFS: '_fxsave' was not declared in this scope.

Miguel A. Colón Vélez micove-guest at moszumanska.debian.org
Wed May 11 04:46:28 UTC 2016


This is an automated email from the git hooks/post-receive script.

micove-guest pushed a commit to branch master
in repository pcsx2.

commit 21c1fe8e91cb67e8db7242c5960f95e0cf15abdb
Author: Miguel A. Colón Vélez <debian.micove at gmail.com>
Date:   Tue May 10 22:58:26 2016 -0400

    Fix FTBFS: '_fxsave' was not declared in this scope.
    
    Closes: #823054
    Thanks: Graham Inggs for the submitted patch
---
 debian/patches/0001_fix-recent-gcc.patch | 17 +++++++++++++++++
 debian/patches/series                    |  1 +
 2 files changed, 18 insertions(+)

diff --git a/debian/patches/0001_fix-recent-gcc.patch b/debian/patches/0001_fix-recent-gcc.patch
new file mode 100644
index 0000000..e35bba5
--- /dev/null
+++ b/debian/patches/0001_fix-recent-gcc.patch
@@ -0,0 +1,17 @@
+Description: Fix FTBFS with recent GCC
+ common/src/x86emitter/cpudetect.cpp:48:23:
+ error: '_fxsave' was not declared in this scope
+ _fxsave(&targetFXSAVE);
+Bug: https://github.com/PCSX2/pcsx2/issues/1297
+Author: Graham Inggs <ginggs at debian.org>
+Last-Update: 2016-04-30
+--- a/common/src/x86emitter/cpudetect.cpp
++++ b/common/src/x86emitter/cpudetect.cpp
+@@ -16,6 +16,7 @@
+ #include "PrecompiledHeader.h"
+ #include "cpudetect_internal.h"
+ #include "internal.h"
++#include <x86intrin.h>
+ 
+ using namespace x86Emitter;
+ 
diff --git a/debian/patches/series b/debian/patches/series
new file mode 100644
index 0000000..4f40c3f
--- /dev/null
+++ b/debian/patches/series
@@ -0,0 +1 @@
+0001_fix-recent-gcc.patch

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-games/pcsx2.git



More information about the Pkg-games-commits mailing list