From nobody Sun Aug 06 12:55:43 2023 X-Original-To: dev-commits-ports-all@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4RJfZR4GSqz4q17d; Sun, 6 Aug 2023 12:55:43 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4RJfZR3dkkz4TLy; Sun, 6 Aug 2023 12:55:43 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1691326543; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=WXVsO3bGT2b8on67hU8LtfcVnndnpQIfkAAxlbhVivk=; b=qRAAejDcHrVM1dtxHWWKYUijBMIY0qQcdCS2zw2hjSDP5vUpH1OsxhKCcR5kMjH8PnR65j /7sjgnRAGfQrZExuoTkR3BVp7/bklbHSADsFdLMACw8I3zt5MCx4lu7qLIiNazrhkIKCEC PGCQ61HSxvU2J0Eic2H4r2C8IjOQicF1+Tru+yFGm5egwL1ODj8Hj0SDK3UgGMk3tjeC4/ grMi0lW+Lff0jT5J97m0k2v5fBwKrRdwdgG2WsdFYB4Acu665dEARgV/BHtIkpQLtTdIzr nsDTzZOi3n6KGl6ZPbJyLWb3J197VJnfVMVOyn5xniXnYyTtgOQONLPILUx19Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1691326543; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=WXVsO3bGT2b8on67hU8LtfcVnndnpQIfkAAxlbhVivk=; b=Cu2Gw9W6/tWh5oVQjI9mLLdK6tciEqmZVHiQOgBfkeyUw2SL38XgzQttbXLkIYno11k8HO OXR3aZTP/YDs6ogy4T8T0Q3GLWArgYWBZNrU5ftbD9mB4YWGSbkVsxnvxmB2x4NNs5tj7u 73D4np5/9U3OZlbR/pfdRLfzoFpb+Jg3jhAu9MG6gBPxCctd/yxxfQkjGyU81NTPPPietk YYGezFhXqy0fLZT7F43qhuctx73tzbmQ0uXOmyVASnRVAeAz6R58Iv80qLxbjAqT8KXKw1 gIAFnogKYp4VnvBtgL2r56gKN7agQ5zub/LhSkhPDu4bDSUeAaTp542Q4UAsKQ== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1691326543; a=rsa-sha256; cv=none; b=pdKRYSxrhfqbjrCG581TyPB36c/Lwlq4CnBwEYIPjF35LI+Sy9FxkU3rFZkE5IjwEOpRXz hgLeGlWZ71kfpnwpHu1Bmwxrax6ikdkrmLsfypKopaxtfPxMfve4jj4tVtZM+YapzjgDal K2xKR0XglZxOOK3Vj3tDPhXGiuura6RIfzfglQhJnT/lHEtXsvxw3lY9f1NR9DATPVDO2a XrVIHY/6JJP1rIjOZWOdxxGRhE1YNTRmV4/H6dVkxzbuAttmg5+1V4+gpb9FrHIOj5sqjz z8axPZ4ez1GoDdz9SG1J95Q1dppkfZENDh/V8vAp9Nq72ar+59+LTw47iCvwbw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4RJfZR2hCgz19ZT; Sun, 6 Aug 2023 12:55:43 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.17.1/8.17.1) with ESMTP id 376CthJu075959; Sun, 6 Aug 2023 12:55:43 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.17.1/8.17.1/Submit) id 376CthMa075958; Sun, 6 Aug 2023 12:55:43 GMT (envelope-from git) Date: Sun, 6 Aug 2023 12:55:43 GMT Message-Id: <202308061255.376CthMa075958@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-branches@FreeBSD.org From: Robert Clausecker Subject: git: 1a5cef3aaa93 - 2023Q3 - emulators/tic-80: fix build on amd64 CURRENT List-Id: Commit messages for all branches of the ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-ports-all@freebsd.org X-BeenThere: dev-commits-ports-all@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: fuz X-Git-Repository: ports X-Git-Refname: refs/heads/2023Q3 X-Git-Reftype: branch X-Git-Commit: 1a5cef3aaa93fa9b1bf6f41301867d8242825cfc Auto-Submitted: auto-generated The branch 2023Q3 has been updated by fuz: URL: https://cgit.FreeBSD.org/ports/commit/?id=1a5cef3aaa93fa9b1bf6f41301867d8242825cfc commit 1a5cef3aaa93fa9b1bf6f41301867d8242825cfc Author: Robert Clausecker AuthorDate: 2023-08-05 12:48:12 +0000 Commit: Robert Clausecker CommitDate: 2023-08-06 12:55:03 +0000 emulators/tic-80: fix build on amd64 CURRENT Import an upstream patch to fix an incorrect alignment specifier. Obtained from: https://github.com/wasm3/wasm3/commit/d3a763c84ce6b78b730332900036b2be0e0e0794 Reported by: fallout MFH: 2023Q3 (cherry picked from commit 5cf67bb382b03cb65dac3dd62854cb2f136e5233) --- emulators/tic-80/Makefile | 2 +- .../patch-vendor_wasm3_source_m3__config__platforms.h | 14 ++++++++++++++ 2 files changed, 15 insertions(+), 1 deletion(-) diff --git a/emulators/tic-80/Makefile b/emulators/tic-80/Makefile index 1aa5ccf5583c..b84bd35e3c34 100644 --- a/emulators/tic-80/Makefile +++ b/emulators/tic-80/Makefile @@ -1,7 +1,7 @@ PORTNAME= TIC-80 DISTVERSIONPREFIX= v DISTVERSION= 1.0.2164 -PORTREVISION= 2 +PORTREVISION= 3 CATEGORIES= emulators games MAINTAINER= fuz@FreeBSD.org diff --git a/emulators/tic-80/files/patch-vendor_wasm3_source_m3__config__platforms.h b/emulators/tic-80/files/patch-vendor_wasm3_source_m3__config__platforms.h new file mode 100644 index 000000000000..7d289b088865 --- /dev/null +++ b/emulators/tic-80/files/patch-vendor_wasm3_source_m3__config__platforms.h @@ -0,0 +1,14 @@ +--- vendor/wasm3/source/m3_config_platforms.h.orig 2023-08-05 12:47:20 UTC ++++ vendor/wasm3/source/m3_config_platforms.h +@@ -121,9 +121,9 @@ typedef int8_t i8; + # if defined (M3_COMPILER_MSVC) + # define vectorcall // For MSVC, better not to specify any call convention + # elif defined(__x86_64__) +-# define vectorcall __attribute__((aligned(32))) ++# define vectorcall + //# elif defined(__riscv) && (__riscv_xlen == 64) +-//# define vectorcall __attribute__((aligned(16))) ++//# define vectorcall + # elif defined(__MINGW32__) + # define vectorcall + # elif defined(WIN32)