diff options
author | Piotr Kubaj <pkubaj@FreeBSD.org> | 2022-05-19 07:48:34 +0000 |
---|---|---|
committer | Piotr Kubaj <pkubaj@FreeBSD.org> | 2022-05-19 07:48:34 +0000 |
commit | 778c04afa5387d3395f212d15e1fe624ebd40d25 (patch) | |
tree | c6565494055dcde44192c6c70f6ce66c40c22f47 | |
parent | cd14a91411b3b58f44c7d7b4d5940c356bb3602e (diff) | |
download | ports-778c04afa5387d3395f212d15e1fe624ebd40d25.tar.gz ports-778c04afa5387d3395f212d15e1fe624ebd40d25.zip |
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
-rw-r--r-- | emulators/dosbox-x/files/patch-src_fpu_fpu__instructions__longdouble.h | 11 |
1 files changed, 11 insertions, 0 deletions
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 |