1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-19 00:13:33 +00:00

emulators/tic-80: fix build on amd64 CURRENT

Import an upstream patch to fix an incorrect alignment specifier.

Obtained from:	d3a763c84c
Reported by:	fallout
MFH:		2023Q3
This commit is contained in:
Robert Clausecker 2023-08-05 14:48:12 +02:00
parent 18b138ae81
commit 5cf67bb382
2 changed files with 15 additions and 1 deletions

View File

@ -1,7 +1,7 @@
PORTNAME= TIC-80
DISTVERSIONPREFIX= v
DISTVERSION= 1.0.2164
PORTREVISION= 2
PORTREVISION= 3
CATEGORIES= emulators games
MAINTAINER= fuz@FreeBSD.org

View File

@ -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)