Date: Sat, 15 Feb 2020 00:19:45 +0000 (UTC) From: Piotr Kubaj <pkubaj@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r526190 - head/emulators/adamem/files Message-ID: <202002150019.01F0JjnM003878@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: pkubaj Date: Sat Feb 15 00:19:45 2020 New Revision: 526190 URL: https://svnweb.freebsd.org/changeset/ports/526190 Log: emulators/adamem: fix build on powerpc64 elfv2 regparm is only supported on x86. Modified: head/emulators/adamem/files/patch-Z80IO.h Modified: head/emulators/adamem/files/patch-Z80IO.h ============================================================================== --- head/emulators/adamem/files/patch-Z80IO.h Sat Feb 15 00:07:34 2020 (r526189) +++ head/emulators/adamem/files/patch-Z80IO.h Sat Feb 15 00:19:45 2020 (r526190) @@ -1,13 +1,17 @@ -Index: Z80IO.h -@@ -11,7 +11,6 @@ +--- Z80IO.h.orig 1999-02-14 19:45:30 UTC ++++ Z80IO.h +@@ -11,9 +11,8 @@ /****************************************************************************/ #define INLINE_OP /* Inline Z80_RDOP() */ -#define INLINE_MEM /* Inline Z80_RDMEM() and Z80_WRMEM() */ - #ifdef __GNUC__ +-#ifdef __GNUC__ ++#if defined(__GNUC__) && (defined(__amd64__) || defined(__i386__)) #define FASTCALL __attribute__ ((regparm(3))) -@@ -36,11 +35,11 @@ + #ifdef INLINE_MEM + #define INLINE_MEM_GNU +@@ -36,11 +35,11 @@ void Z80_Out (unsigned Port,byte Value) FASTCALL; /***************************************************************************/ /* Read a byte from given memory location */ /***************************************************************************/
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202002150019.01F0JjnM003878>