[Bug 264215] [PATCH] emulators/libretro-mame: fix fetch of distfiles, fix 32-bit / i386 build

From: <bugzilla-noreply_at_freebsd.org>
Date: Wed, 25 May 2022 04:29:20 UTC

            Bug ID: 264215
           Summary: [PATCH] emulators/libretro-mame: fix fetch of
                    distfiles, fix 32-bit / i386 build
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: ports-bugs@FreeBSD.org
          Reporter: beyert@cs.ucr.edu

Created attachment 234182
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=234182&action=edit
[PATCH 1/5] fix fetch of distfiles, fix 32-bit / i386 build of

Fixes fetch of distfiles and fixes 32-bit / i386 build for

Tested in poudriere with successful build of packages for FreeBSD 13.0-RELEASE
(amd64 and i386) and FreeBSD 12.3-RELEASE (amd64 and i386)

patch generated by git format-patch

Regarding the fix for distinfo / distfiles, apparently every revision of
libretro/mame on github changes once with the (HEAD -> master) eventually
changing to a specific revision once it is no longer the newest revision, as
made evident by this diff between an older extracted tarball:

diff -urN mame-ec47e94/3rdparty/lua-zlib/lua_zlib.c
--- mame-ec47e94/3rdparty/lua-zlib/lua_zlib.c   2022-01-24 13:33:37.000000000
+++ mame-ec47e94-new/3rdparty/lua-zlib/lua_zlib.c       2022-01-24
13:33:37.000000000 -0800
@@ -392,7 +392,7 @@

     SETLITERAL("_COPYRIGHT", "Copyright (c) 2009-2010 Brian Maher");
     SETLITERAL("_DESCRIPTION", "Yet another binding to the zlib library");
-    SETLITERAL("_VERSION", "lua-zlib $Id:
b619258c75f480717fad20c113c3b1a35f888ce0 $  (HEAD -> master)");
+    SETLITERAL("_VERSION", "lua-zlib $Id:
b619258c75f480717fad20c113c3b1a35f888ce0 $ ");

     /* Expose this to lua so we can do a test: */

You are receiving this mail because:
You are the assignee for the bug.