From b931884fcc6114400b4cad338a286478b2c731e9 Mon Sep 17 00:00:00 2001 From: Duncaen Date: Wed, 16 Jul 2025 02:49:32 +0200 Subject: [PATCH] mame: fix build with musl>=1.2 --- srcpkgs/mame/template | 3 +++ 1 file changed, 3 insertions(+) diff --git a/srcpkgs/mame/template b/srcpkgs/mame/template index 9f5c7be1a0e..6c0a1bb367e 100644 --- a/srcpkgs/mame/template +++ b/srcpkgs/mame/template @@ -15,6 +15,9 @@ checksum=60055b19fc96306927257c5ffc265ecebcbe5c944cf98113d4d78f6304556c67 nodebug=yes replaces="sdlmame>=0 sdlmess>=0" +CFLAGS="-D_LARGEFILE64_SOURCE" +CXXFLAGS="-D_LARGEFILE64_SOURCE" + post_patch() { vsed -i scripts/toolchain.lua -i 3rdparty/genie/src/host/scripts.c -e 's/-m32//' -e 's/-m64//' }