Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 19 May 2022 07:52:45 GMT
From:      Piotr Kubaj <pkubaj@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: 778c04afa538 - main - emulators/dosbox-x: fix build on powerpc*
Message-ID:  <202205190752.24J7qjVP027129@gitrepo.freebsd.org>

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

URL: https://cgit.FreeBSD.org/ports/commit/?id=778c04afa5387d3395f212d15e1fe624ebd40d25

commit 778c04afa5387d3395f212d15e1fe624ebd40d25
Author:     Piotr Kubaj <pkubaj@FreeBSD.org>
AuthorDate: 2022-05-19 07:48:34 +0000
Commit:     Piotr Kubaj <pkubaj@FreeBSD.org>
CommitDate: 2022-05-19 07:48:34 +0000

    emulators/dosbox-x: fix build on powerpc*
    
    In file included from fpu.cpp:52:
    ./fpu_instructions_longdouble.h:29:12: fatal error: 'fpu_control.h' file not found
---
 .../files/patch-src_fpu_fpu__instructions__longdouble.h       | 11 +++++++++++
 1 file changed, 11 insertions(+)

diff --git a/emulators/dosbox-x/files/patch-src_fpu_fpu__instructions__longdouble.h b/emulators/dosbox-x/files/patch-src_fpu_fpu__instructions__longdouble.h
new file mode 100644
index 000000000000..188550f483c0
--- /dev/null
+++ b/emulators/dosbox-x/files/patch-src_fpu_fpu__instructions__longdouble.h
@@ -0,0 +1,11 @@
+--- src/fpu/fpu_instructions_longdouble.h.orig	2022-05-19 07:43:50 UTC
++++ src/fpu/fpu_instructions_longdouble.h
+@@ -22,7 +22,7 @@
+ #ifdef __GNUC__
+ # if defined(__MINGW32__) || (defined(MACOSX) && !defined(__arm64__))
+ #  include "fpu_control_x86.h"
+-# elif defined(ANDROID) || defined(__ANDROID__) || (defined(MACOSX) && defined(__arm64__)) || defined(EMSCRIPTEN)
++# elif defined(ANDROID) || defined(__ANDROID__) || (defined(MACOSX) && defined(__arm64__)) || defined(EMSCRIPTEN) || defined(__powerpc__)
+ /* ? */
+ #  define _FPU_SETCW(x) /* dummy */
+ # else



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