summaryrefslogtreecommitdiff
path: root/libre-multilib/pcsx2/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'libre-multilib/pcsx2/PKGBUILD')
-rw-r--r--libre-multilib/pcsx2/PKGBUILD16
1 files changed, 11 insertions, 5 deletions
diff --git a/libre-multilib/pcsx2/PKGBUILD b/libre-multilib/pcsx2/PKGBUILD
index 6b74c98ff..44e9fe297 100644
--- a/libre-multilib/pcsx2/PKGBUILD
+++ b/libre-multilib/pcsx2/PKGBUILD
@@ -1,4 +1,4 @@
-# $Id: PKGBUILD 142216 2015-09-29 07:58:48Z fyan $
+# $Id: PKGBUILD 143013 2015-10-05 15:27:23Z foutrelis $
# 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.3.1
-pkgrel=4.parabola1
+pkgrel=5.parabola1
pkgdesc='A Sony PlayStation 2 emulator, without nonfree nvidia-cg-toolkit support'
arch=('i686' 'x86_64')
url='http://www.pcsx2.net'
@@ -24,14 +24,20 @@ 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/pcsx2/archive/v${pkgver}.tar.gz")
-sha256sums=('60ba9f7f85bf4337ca6962f9b437d549f16fc04ea0b6b261d7521e0416c2b8c9')
+source=("${pkgname}-${pkgver}.tar.gz::https://github.com/PCSX2/${pkgname}/archive/v${pkgver}.tar.gz"
+ '0001-common-fix-gcc-5.0-issue.patch')
+sha256sums=('60ba9f7f85bf4337ca6962f9b437d549f16fc04ea0b6b261d7521e0416c2b8c9'
+ 'dc3bdfaea2e024da1d16dd6142030b13b3e2a4540ba1685399e3109d026866c4')
prepare() {
cd ${pkgname}-${pkgver}
- # remove zzogl and zerogs plugins (depends nonfree nvidia-cg-toolkit)
+ # 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
+
+ # Fix startup crash with GCC 5.1
+ # https://github.com/PCSX2/pcsx2/issues/560
+ patch -Np1 -i ../0001-common-fix-gcc-5.0-issue.patch
}
build() {