summaryrefslogtreecommitdiff
path: root/pcr/reicast-multilib-git
diff options
context:
space:
mode:
authorcoadde [Márcio Alexandre Silva Delgado] <coadde@parabola.nu>2015-07-30 18:58:18 -0300
committercoadde [Márcio Alexandre Silva Delgado] <coadde@parabola.nu>2015-07-30 18:59:09 -0300
commit81d8e4d3d4eb5667396d9125baaa419829958c81 (patch)
tree443db10cc01947d970b6fd797b8506d667f4b72a /pcr/reicast-multilib-git
parent581ae757c305e427a5ffb351a7e07fe4b95efb4b (diff)
update reicast
Diffstat (limited to 'pcr/reicast-multilib-git')
-rw-r--r--pcr/reicast-multilib-git/PKGBUILD12
1 files changed, 7 insertions, 5 deletions
diff --git a/pcr/reicast-multilib-git/PKGBUILD b/pcr/reicast-multilib-git/PKGBUILD
index bbf632116..881fbb886 100644
--- a/pcr/reicast-multilib-git/PKGBUILD
+++ b/pcr/reicast-multilib-git/PKGBUILD
@@ -3,7 +3,7 @@
# Maintainer: Márcio Silva <coadde@parabola.nu>
pkgname=reicast-multilib-git
-pkgver=r1252.5b92793
+pkgver=r1322.4b94e2f
pkgrel=1
pkgdesc="A multiplatform Sega Dreamcast emulator"
arch=('x86_64')
@@ -33,18 +33,20 @@ prepare () {
patch -Np1 -i "$srcdir"/enable_joystick_support.patch
patch -Np1 -i "$srcdir"/wait_if_two_frames_already_in_flight.patch
- # experimental shadow support
+ # Fix pointer size on 64 bit arch: http://github.com/reicast-emulator/pull/768
+ sed -i 's|verify((int)rbi);|verify((size_t)rbi);|' core/hw/sh4/dyna/driver.cpp
+ # Add experimental shadow support: http://github.com/reicast-emulator/issues/94
sed -i 's|//DrawModVols|DrawModVols|' core/rend/gles/gldraw.cpp
}
build () {
- make -C reicast/shell/lin86
+ make -C reicast/shell/linux
}
package () {
cd reicast
- install -Dm755 shell/lin86/reicast.elf "$pkgdir"/usr/bin/reicast
- # license
+ install -Dm755 shell/linux/reicast.elf "$pkgdir"/usr/bin/reicast
+ install -Dm755 shell/linux/nosym-reicast.elf "$pkgdir"/usr/bin/reicast-nosym
install -Dm644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
}