Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 25 May 2022 04:29:20 +0000
From:      bugzilla-noreply@freebsd.org
To:        ports-bugs@FreeBSD.org
Subject:   [Bug 264215] [PATCH] emulators/libretro-mame: fix fetch of distfiles, fix 32-bit / i386 build
Message-ID:  <bug-264215-7788@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D264215

            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=3D234182&action=
=3Dedit
[PATCH 1/5] fix fetch of distfiles, fix 32-bit / i386 build of
emulators/libretro-mame

Fixes fetch of distfiles and fixes 32-bit / i386 build for
emulators/libretro-mame.

Tested in poudriere with successful build of packages for FreeBSD 13.0-RELE=
ASE
(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-new/3rdparty/lua-zlib/lua_zlib.c
--- mame-ec47e94/3rdparty/lua-zlib/lua_zlib.c   2022-01-24 13:33:37.0000000=
00
-0800
+++ 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: */
     SETINT("_TEST_BUFSIZ", LUAL_BUFFERSIZE);

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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-264215-7788>