From 11898d2869bcda3a5a6d51a7d9b316edf2a68269 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= Date: Tue, 2 Mar 2021 14:42:20 +0100 Subject: [PATCH] libretro-mupen64plus-rpi: fix build --- srcpkgs/libretro-mupen64plus-rpi/patches/string.patch | 10 ++++++++++ srcpkgs/libretro-mupen64plus-rpi/template | 2 ++ 2 files changed, 12 insertions(+) create mode 100644 srcpkgs/libretro-mupen64plus-rpi/patches/string.patch diff --git a/srcpkgs/libretro-mupen64plus-rpi/patches/string.patch b/srcpkgs/libretro-mupen64plus-rpi/patches/string.patch new file mode 100644 index 00000000000..d38027bbd27 --- /dev/null +++ b/srcpkgs/libretro-mupen64plus-rpi/patches/string.patch @@ -0,0 +1,10 @@ +--- GLideN64/src/ShaderUtils.h 2019-05-31 19:25:22.000000000 +0200 ++++ GLideN64/src/ShaderUtils.h 2021-03-02 14:30:43.395732704 +0100 +@@ -1,6 +1,7 @@ + #ifndef SHADER_UTILS_H + #define SHADER_UTILS_H + ++#include + #include "OpenGL.h" + #include "Combiner.h" + diff --git a/srcpkgs/libretro-mupen64plus-rpi/template b/srcpkgs/libretro-mupen64plus-rpi/template index 3d7e80733dd..47752ab573e 100644 --- a/srcpkgs/libretro-mupen64plus-rpi/template +++ b/srcpkgs/libretro-mupen64plus-rpi/template @@ -15,6 +15,8 @@ distfiles="https://github.com/libretro/mupen64plus-libretro/archive/${_gitrev}.t checksum=947abfb1d5ff34d6b22fecfb2df02bd3759fde3f4a0e5d238f65ec7e97d964d4 conflicts="ĺibretro-mupen64plus>=0" +CFLAGS="-fcommon" + do_build() { local _args="ARCH=arm"