aboutsummaryrefslogtreecommitdiff
path: root/games/mupen64plus/mupen64plus.SlackBuild
diff options
context:
space:
mode:
authorMatteo Bernardini <ponce@slackbuilds.org>2020-05-09 20:09:10 +0200
committerRobby Workman <rworkman@slackbuilds.org>2021-04-17 23:43:44 -0500
commit1947fd014be0f46668937d4b296bea4fbfdeb08f (patch)
tree30a789aa16c5d4a317a696aebdfd27c817452e4e /games/mupen64plus/mupen64plus.SlackBuild
parent46ad2f0f4b35fabe1ed655eff4865c4021571386 (diff)
downloadslackbuilds-1947fd014be0f46668937d4b296bea4fbfdeb08f.tar.xz
games/mupen64plus: Patch for gcc >= 10.x.
Signed-off-by: Matteo Bernardini <ponce@slackbuilds.org>
Diffstat (limited to 'games/mupen64plus/mupen64plus.SlackBuild')
-rw-r--r--games/mupen64plus/mupen64plus.SlackBuild3
1 files changed, 3 insertions, 0 deletions
diff --git a/games/mupen64plus/mupen64plus.SlackBuild b/games/mupen64plus/mupen64plus.SlackBuild
index 58e16242cd28..645a362fb8a7 100644
--- a/games/mupen64plus/mupen64plus.SlackBuild
+++ b/games/mupen64plus/mupen64plus.SlackBuild
@@ -51,6 +51,9 @@ find -L . \
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
+# https://github.com/mupen64plus/mupen64plus-core/issues/712#issuecomment-588871449
+patch -p1 < $CWD/fix_multiple_definition_errors.patch
+
CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
./m64p_build.sh V=1