From fea3107743685a98460392be8eb2d17144c21a8c Mon Sep 17 00:00:00 2001 From: Hunter Sezen Date: Thu, 29 Aug 2019 18:44:42 +0700 Subject: games/RetroArch: Fix Qt5 support. Signed-off-by: Willy Sudiarto Raharjo --- games/RetroArch/RetroArch.SlackBuild | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'games') diff --git a/games/RetroArch/RetroArch.SlackBuild b/games/RetroArch/RetroArch.SlackBuild index 788f4e04c4..b1514889e4 100644 --- a/games/RetroArch/RetroArch.SlackBuild +++ b/games/RetroArch/RetroArch.SlackBuild @@ -24,7 +24,7 @@ PRGNAM=RetroArch VERSION=${VERSION:-1.7.7} -BUILD=${BUILD:-1} +BUILD=${BUILD:-2} TAG=${TAG:-_SBo} if [ -z "$ARCH" ]; then @@ -129,6 +129,9 @@ sed -e "s|# audio_filter_dir =|audio_filter_dir = ${filter_dir}/audio|" \ -e "$SED_CORE;$SED_INFO;$SED_MENU" \ -i retroarch.cfg +# Fix qt5 support with 14.2. +sed -i 's/-fPIC/-fPIC -std=c++11/' qb/qb.moc.sh + # Fix --enable-opengles and --enable-opengles3 # https://github.com/libretro/RetroArch/pull/8749 # https://github.com/libretro/RetroArch/commit/1a3f16ded122bf3928aeb9beb71b594bf24ce01a -- cgit v1.2.3