public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "David Seifert" <soap@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: games-emulation/pcsx2/files/, games-emulation/pcsx2/
Date: Wed, 18 Jan 2017 10:46:07 +0000 (UTC)	[thread overview]
Message-ID: <1484736356.97658bc43cdb51c3159562d76312e0fc1689c9a6.soap@gentoo> (raw)

commit:     97658bc43cdb51c3159562d76312e0fc1689c9a6
Author:     Yuri Konotopov <ykonotopov <AT> gnome <DOT> org>
AuthorDate: Mon Jan  9 19:24:29 2017 +0000
Commit:     David Seifert <soap <AT> gentoo <DOT> org>
CommitDate: Wed Jan 18 10:45:56 2017 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=97658bc4

games-emulation/pcsx2: fixed compilation with gcc 5

Gentoo-Bug: https://bugs.gentoo.org/605162
Closes: https://github.com/gentoo/gentoo/pull/3402

 games-emulation/pcsx2/files/pcsx2-1.4.0-gcc5.patch | 26 ++++++++++++++++++++++
 games-emulation/pcsx2/pcsx2-1.4.0.ebuild           |  4 +++-
 2 files changed, 29 insertions(+), 1 deletion(-)

diff --git a/games-emulation/pcsx2/files/pcsx2-1.4.0-gcc5.patch b/games-emulation/pcsx2/files/pcsx2-1.4.0-gcc5.patch
new file mode 100644
index 00000000..cfc941f
--- /dev/null
+++ b/games-emulation/pcsx2/files/pcsx2-1.4.0-gcc5.patch
@@ -0,0 +1,26 @@
+From 71991f24ef75b7da678d8de8d593bf82677d2708 Mon Sep 17 00:00:00 2001
+From: Yuri Konotopov <ykonotopov@gnome.org>
+Date: Mon, 9 Jan 2017 18:37:44 +0400
+Subject: [PATCH] x86emitter: gcc 5 compilation fix
+
+---
+ common/src/x86emitter/cpudetect.cpp | 3 +++
+ 1 file changed, 3 insertions(+)
+
+diff --git a/common/src/x86emitter/cpudetect.cpp b/common/src/x86emitter/cpudetect.cpp
+index 717ca89..cf94d7f 100644
+--- a/common/src/x86emitter/cpudetect.cpp
++++ b/common/src/x86emitter/cpudetect.cpp
+@@ -16,6 +16,9 @@
+ #include "PrecompiledHeader.h"
+ #include "cpudetect_internal.h"
+ #include "internal.h"
++#if defined(__GNUC__)
++#include "x86intrin.h"
++#endif
+ 
+ using namespace x86Emitter;
+ 
+-- 
+2.10.2
+

diff --git a/games-emulation/pcsx2/pcsx2-1.4.0.ebuild b/games-emulation/pcsx2/pcsx2-1.4.0.ebuild
index 205910c..d18fd53 100644
--- a/games-emulation/pcsx2/pcsx2-1.4.0.ebuild
+++ b/games-emulation/pcsx2/pcsx2-1.4.0.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2016 Gentoo Foundation
+# Copyright 1999-2017 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 # $Id$
 
@@ -44,6 +44,8 @@ DEPEND="${RDEPEND}
 
 S="${WORKDIR}/${PN}-${MY_PV}"
 
+PATCHES=( "${FILESDIR}"/${P}-gcc5.patch )
+
 clean_locale() {
 	rm -R "${S}"/locales/"${1}" || die
 }


             reply	other threads:[~2017-01-18 10:46 UTC|newest]

Thread overview: 21+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-01-18 10:46 David Seifert [this message]
  -- strict thread matches above, loose matches on Subject: below --
2024-11-01  9:43 [gentoo-commits] repo/gentoo:master commit in: games-emulation/pcsx2/files/, games-emulation/pcsx2/ Ionen Wolkens
2024-07-02 15:55 Ionen Wolkens
2024-07-02  5:17 Ionen Wolkens
2024-06-22  9:34 Ionen Wolkens
2024-05-23  0:53 Ionen Wolkens
2024-05-21 17:19 Ionen Wolkens
2024-04-13 17:29 Ionen Wolkens
2024-01-08 12:59 Ionen Wolkens
2023-10-10 20:20 Ionen Wolkens
2023-07-25  0:10 Ionen Wolkens
2023-07-01  9:07 Ionen Wolkens
2023-01-11 11:26 Ionen Wolkens
2022-12-29 20:29 Ionen Wolkens
2022-12-29  2:05 Ionen Wolkens
2022-12-19  5:48 Ionen Wolkens
2022-09-23  0:27 Ionen Wolkens
2022-07-31 20:38 James Le Cuirot
2020-10-27  7:35 Joonas Niilola
2018-07-23  6:17 Sergei Trofimovich
2016-01-13 14:23 Patrice Clement

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1484736356.97658bc43cdb51c3159562d76312e0fc1689c9a6.soap@gentoo \
    --to=soap@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox