summaryrefslogtreecommitdiff
path: root/libre-multilib
diff options
context:
space:
mode:
authorAndré Fabian Silva Delgado <emulatorman@parabola.nu>2016-08-07 10:15:57 -0300
committerAndré Fabian Silva Delgado <emulatorman@parabola.nu>2016-08-07 10:35:02 -0300
commitaef55ac8b4d632b9b320a0e97aa280fc2dca2dcb (patch)
treeb94e61b26151bd3d4e9002b10b3eb81e39763720 /libre-multilib
parentb39a7e102bc9e698db21272b56a5e0e56235a5e5 (diff)
downloadabslibre-aef55ac8b4d632b9b320a0e97aa280fc2dca2dcb.tar.gz
abslibre-aef55ac8b4d632b9b320a0e97aa280fc2dca2dcb.tar.bz2
abslibre-aef55ac8b4d632b9b320a0e97aa280fc2dca2dcb.zip
pcsx2-1.4.0-3.parabola1: glew 2.0.0 rebuild
Diffstat (limited to 'libre-multilib')
-rw-r--r--libre-multilib/pcsx2/PKGBUILD12
-rw-r--r--libre-multilib/pcsx2/pcsx2-gcc6.patch12
2 files changed, 20 insertions, 4 deletions
diff --git a/libre-multilib/pcsx2/PKGBUILD b/libre-multilib/pcsx2/PKGBUILD
index 302898ac4..43f706753 100644
--- a/libre-multilib/pcsx2/PKGBUILD
+++ b/libre-multilib/pcsx2/PKGBUILD
@@ -1,4 +1,4 @@
-# $Id: PKGBUILD 171198 2016-04-16 17:31:25Z alucryd $
+# $Id: PKGBUILD 185075 2016-08-04 17:31:05Z arojas $
# Maintainer (Arch): Maxime Gauduin <alucryd@archlinux.org>
# Contributor (Arch): josephgbr <rafael.f.f1@gmail.com>
# Contributor (Arch): vEX <vex@niechift.com>
@@ -6,7 +6,7 @@
pkgname=pcsx2
pkgver=1.4.0
-pkgrel=2.parabola1
+pkgrel=3.parabola1
pkgdesc='A Sony PlayStation 2 emulator, without nonfree nvidia-cg-toolkit support'
arch=('i686' 'x86_64')
url='http://www.pcsx2.net'
@@ -24,11 +24,15 @@ optdepends_x86_64=('lib32-gtk-engines: GTK2 engines support'
conflicts=("${pkgname}-libre")
replaces=("${pkgname}-libre")
options=('!emptydirs')
-source=("${pkgname}-${pkgver}.tar.gz::https://github.com/PCSX2/${pkgname}/archive/v${pkgver}.tar.gz")
-sha256sums=('2c8a986e2b6514d7018f6cfd39c4f2a72229b9b4ab06ca6b1d3466dfd9c33005')
+source=("${pkgname}-${pkgver}.tar.gz::https://github.com/PCSX2/${pkgname}/archive/v${pkgver}.tar.gz"
+ pcsx2-gcc6.patch)
+sha256sums=('2c8a986e2b6514d7018f6cfd39c4f2a72229b9b4ab06ca6b1d3466dfd9c33005'
+ '70f3c865c2dd5590ff5ec0ea83e0561a75d7ae6af78085e5eb64b1463921802f')
prepare() {
cd ${pkgname}-${pkgver}
+ # Fix build with GCC 6
+ patch -p1 -i ../pcsx2-gcc6.patch
# Remove zzogl and zerogs plugins (depends nonfree nvidia-cg-toolkit)
rm -vr plugins/{zerogs,zzogl-pg}
sed -i '\|zz_res =|,+4 d' linux_various/glsl2h.pl
diff --git a/libre-multilib/pcsx2/pcsx2-gcc6.patch b/libre-multilib/pcsx2/pcsx2-gcc6.patch
new file mode 100644
index 000000000..ee58441f5
--- /dev/null
+++ b/libre-multilib/pcsx2/pcsx2-gcc6.patch
@@ -0,0 +1,12 @@
+diff --git a/common/src/x86emitter/cpudetect.cpp b/common/src/x86emitter/cpudetect.cpp
+index 717ca89..fcf0c90 100644
+--- 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;
+