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:
parent
18b138ae81
commit
5cf67bb382
@ -1,7 +1,7 @@
|
||||
PORTNAME= TIC-80
|
||||
DISTVERSIONPREFIX= v
|
||||
DISTVERSION= 1.0.2164
|
||||
PORTREVISION= 2
|
||||
PORTREVISION= 3
|
||||
CATEGORIES= emulators games
|
||||
|
||||
MAINTAINER= fuz@FreeBSD.org
|
||||
|
@ -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)
|
Loading…
Reference in New Issue
Block a user