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

From: Nicolas Goaziou <[email-masked]>
Date: Fri, 14 Mar 2025 07:36:36 +0100

Hello,

宋文武 via Guix-patches via <[email-masked]> writes:

> 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.

You’re right. I had forgotten about this comment. I’ll remove it when
the package is ready or at the next iteration. However, at the moment,
this package doesn’t want to build…

Regards,
-- 
Nicolas Goaziou