Update RetroArch

This commit is contained in:
Jean-André Santoni 2016-03-24 12:35:53 +01:00
parent cc16eb1493
commit 74091edd44
2 changed files with 5 additions and 7 deletions

View File

@ -19,7 +19,7 @@
################################################################################
PKG_NAME="retroarch"
PKG_VERSION="a3007b1"
PKG_VERSION="e411274"
PKG_REV="3"
PKG_ARCH="any"
PKG_LICENSE="GPLv3"
@ -65,8 +65,6 @@ if [[ "$TARGET_FPU" =~ "neon" ]]; then
RETROARCH_NEON="--enable-neon"
fi
CFLAGS="$CFLAGS -DLAKKA_PROJECT='\"$PROJECT.$ARCH\"'"
TARGET_CONFIGURE_OPTS=""
PKG_CONFIGURE_OPTS_TARGET="--disable-vg \
--disable-sdl \
@ -84,7 +82,7 @@ pre_configure_target() {
}
make_target() {
make V=1 HAVE_LAKKA=1 HAVE_ZARCH=0
make V=1 HAVE_LAKKA=1 HAVE_ZARCH=0 LAKKA_PROJECT='\"$PROJECT.$ARCH\"'
make -C gfx/video_filters compiler=$CC extra_flags="$CFLAGS"
make -C audio/audio_filters compiler=$CC extra_flags="$CFLAGS"
}

View File

@ -1,13 +1,13 @@
diff -Naur retroarch.git/gfx/drivers_context/drm_ctx.c retroarch.patch/gfx/drivers_context/drm_ctx.c
--- retroarch.git/gfx/drivers_context/drm_ctx.c 2016-03-09 19:11:23.513778479 +0100
+++ retroarch.patch/gfx/drivers_context/drm_ctx.c 2016-03-09 19:25:21.431346555 +0100
--- retroarch.git/gfx/drivers_context/drm_ctx.c 2016-03-24 04:10:29.393925997 +0100
+++ retroarch.patch/gfx/drivers_context/drm_ctx.c 2016-03-24 04:22:49.928033924 +0100
@@ -324,7 +324,10 @@
drm_free();
if (g_drm_fd >= 0)
+ {
+ drmDropMaster(g_drm_fd);
retro_fclose(drm->drm);
filestream_fclose(drm->drm);
+ }
g_gbm_surface = NULL;