From nobody Sun Aug 06 12:43:30 2023 X-Original-To: dev-commits-ports-main@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 4RJfJL5gsvz4q07H; Sun, 6 Aug 2023 12:43:30 +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 4RJfJL56YXz4SFm; Sun, 6 Aug 2023 12:43:30 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1691325810; 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=f6RQ5iQODITJOHU4exk7KGDH0gwb7IMbra8n8UHe2Es=; b=p31y2h7zBwUi1RBvW6DqhKMClCOODTe/OislthBgojUpgPm1Gei1FD49/o3of2rOIRAf26 aRvdajPlM3748S3oRMM1ouim+aPTV2dn7Lhw1ybifDkb8dkfe439CcgfpXXOnLrJMVEtBC 4L0cyaqCsqIvX+ijh3B/ixf0psWyobLj7v4/g7jMY5LlatjGjiVovmWhjatXUh6duY/qnR AEsmSwM2mjkT6hfQy6jOCTYRKBC/KkUHw7ahhNh5kMmmjDCbaWMGGFX0W6ixT46dUjNU1L iqC4RXbAbIaCAYZ+v0OeY3bC30ppkBg8CrBmQr56RFc7sut1GseOBLCIh/miZw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1691325810; 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=f6RQ5iQODITJOHU4exk7KGDH0gwb7IMbra8n8UHe2Es=; b=VIV7l16gR3tx8hsAnC7H11BZzRphjaNxIKJbDqALxaorSaZoKC6I3KdSjRFuXRew1IJhDS /6RYYr0PpZLIbY0eCEFEYHllMfztb7rQI2wS5pASBe7zXAPuFg9NYSjk3PDxX/mi7VIM5F 7jbSGL257+XgJ6ykdXo9aigKQIq/AzsZZs3iPuXELC1ylYT1DIhHpYpCDnnHMGY1NAdEzf uKmiGoNSUGkUTZ7hcfmRGtjYk1U6zYAztz8ceNyrnIPQV4RiE7z+xY0wQCjkw34aqzpPwd 0PGqaDU/xP1t+5sCrMbhZfr7yw3qHYserwt9zBmZ9S+UHu8VhZxDZpYS9cWuEA== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1691325810; a=rsa-sha256; cv=none; b=VplzdnQhyqUODULdTJEearvMWTG+zYQzkPxmUmNJlwNptC9rKoJRoK/el/BPKii5R9iWMd ymRPcYHCrWL7ESXVLclNf4ZTnhiSCiLPaFhS/jQJuwIhVvdP+C/NH1X9wWyPr0gA6tKIDU NxbRFjPgsmGg9xDC/KuYIbmMM8VUV+l8kAHngoFE7/TM4XEW9f3Qv2eOcVYtG9NjTiiHr5 CLXliifa5GpQuVlDRHQfFDLC4u8mekjBsn0Xu68VBZY8TGSGxnDVfEFYhUzk+MaE/ZbPzB KMefsQDyso+edALeNwQwpyEaYry0OEXnRsU/HZB8XSg5plOJ032ox9KU1bdN0Q== 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 4RJfJL3vjSz19X3; Sun, 6 Aug 2023 12:43:30 +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 376ChU7b057968; Sun, 6 Aug 2023 12:43:30 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.17.1/8.17.1/Submit) id 376ChUqS057967; Sun, 6 Aug 2023 12:43:30 GMT (envelope-from git) Date: Sun, 6 Aug 2023 12:43:30 GMT Message-Id: <202308061243.376ChUqS057967@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Robert Clausecker Subject: git: 5cf67bb382b0 - main - emulators/tic-80: fix build on amd64 CURRENT List-Id: Commits to the main branch of the FreeBSD ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-main List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-ports-main@freebsd.org X-BeenThere: dev-commits-ports-main@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/main X-Git-Reftype: branch X-Git-Commit: 5cf67bb382b03cb65dac3dd62854cb2f136e5233 Auto-Submitted: auto-generated The branch main has been updated by fuz: URL: https://cgit.FreeBSD.org/ports/commit/?id=5cf67bb382b03cb65dac3dd62854cb2f136e5233 commit 5cf67bb382b03cb65dac3dd62854cb2f136e5233 Author: Robert Clausecker AuthorDate: 2023-08-05 12:48:12 +0000 Commit: Robert Clausecker CommitDate: 2023-08-06 12:42:48 +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 --- 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)