Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 9 Oct 2023 09:02:35 GMT
From:      Dirk Meyer <dinoex@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: 0b4ed72cbba6 - main - emulators/vice: fix build on arm64
Message-ID:  <202310090902.39992Zh7057248@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by dinoex:

URL: https://cgit.FreeBSD.org/ports/commit/?id=0b4ed72cbba69b466a1356ace2c4302de5b57bc6

commit 0b4ed72cbba69b466a1356ace2c4302de5b57bc6
Author:     Dirk Meyer <dinoex@FreeBSD.org>
AuthorDate: 2023-10-09 09:02:14 +0000
Commit:     Dirk Meyer <dinoex@FreeBSD.org>
CommitDate: 2023-10-09 09:02:14 +0000

    emulators/vice: fix build on arm64
    
    PR: 273785
---
 emulators/vice/Makefile                                    |  2 +-
 .../files/patch-src_arch_shared_iodrv_io-unix-access.c     | 14 +++++++++++++-
 2 files changed, 14 insertions(+), 2 deletions(-)

diff --git a/emulators/vice/Makefile b/emulators/vice/Makefile
index 0af755eaf558..13f589cfa7b0 100644
--- a/emulators/vice/Makefile
+++ b/emulators/vice/Makefile
@@ -1,6 +1,6 @@
 PORTNAME=	vice
 PORTVERSION=	3.7.1
-PORTREVISION=	4
+PORTREVISION=	5
 CATEGORIES=	emulators
 MASTER_SITES=	SF/vice-emu/releases
 
diff --git a/emulators/vice/files/patch-src_arch_shared_iodrv_io-unix-access.c b/emulators/vice/files/patch-src_arch_shared_iodrv_io-unix-access.c
index c360674300c3..1fad3f0bf319 100644
--- a/emulators/vice/files/patch-src_arch_shared_iodrv_io-unix-access.c
+++ b/emulators/vice/files/patch-src_arch_shared_iodrv_io-unix-access.c
@@ -1,4 +1,4 @@
---- src/arch/shared/iodrv/io-unix-access.c.orig	2022-12-24 19:44:57 UTC
+--- src/arch/shared/iodrv/io-unix-access.c.orig	2022-12-27 23:56:56 UTC
 +++ src/arch/shared/iodrv/io-unix-access.c
 @@ -26,6 +26,15 @@
  
@@ -16,3 +16,15 @@
  #ifdef UNIX_COMPILE
  
  #include <fcntl.h>
+@@ -121,7 +130,11 @@ static uint8_t device_io_inb(uint16_t addr)
+ #ifdef HAVE_INBV
+     return inbv(addr);
+ #else
++#ifdef HAVE_INB
+     return inb(addr);
++#else
++    return 0;
++#endif
+ #endif
+ }
+ 



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