Subject: [bug#76545] [PATCH v2] gnu: mame: Update to 0.275.

From: 宋文武 <[email-masked]>
Date: Fri, 14 Mar 2025 13:58:03 +0800

Hello,

Nicolas Goaziou <[email-masked]> writes:
> * gnu/packages/emulators.scm (mame): Update to 0.275.
> [source]: Add modules for cut and scandir.  Preserve the minimum set of
> third-party libraries.
> [arguments]<#:make-flags>: Remove unnecessary flags.
> <#:phases>: Add a phase to use all possible system libraries instead of
> listing them piece wise.
> [native-inputs]: Add nasm.
> [inputs]: Replace lua with lua-5.4. Add zstd:lib.
> [...]
>        #~(modify-phases %standard-phases
> +          ;; (add-after 'unpack 'fix-sol2-build-error
> +          ;;   ;; Fix "error: operator '!=' has no left operand" because
> +          ;;   ;; LUA_COMPAT_BITLIB is empty.
> +          ;;   (lambda _
> +          ;;     (substitute* "3rdparty/sol2/sol/sol.hpp"
> +          ;;       (("&& \\(LUA_COMPAT_BITLIB != 0\\)") ""))))

Does this commented phase useful?  Maybe just remove it.

Otherwise looks good to me, thanks.