From 725b2041981e2e445233ab8a890aa9638503814d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C3=98rjan=20Malde?= Date: Fri, 25 Sep 2020 16:39:52 +0200 Subject: groups/231.native_packages_etc.group: adds dosbox v0.74-3 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Lucio Andrés Illanes Albornoz --- patches/dosbox-0.74-3.local.patch | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 patches/dosbox-0.74-3.local.patch (limited to 'patches/dosbox-0.74-3.local.patch') diff --git a/patches/dosbox-0.74-3.local.patch b/patches/dosbox-0.74-3.local.patch new file mode 100644 index 00000000..3c357166 --- /dev/null +++ b/patches/dosbox-0.74-3.local.patch @@ -0,0 +1,28 @@ +diff -ru dosbox-0.74-3.orig/include/cross.h dosbox-0.74-3/include/cross.h +--- dosbox-0.74-3.orig/include/cross.h 2019-06-25 19:57:19.000000000 +0200 ++++ dosbox-0.74-3/include/cross.h 2020-09-25 12:12:19.286982119 +0200 +@@ -61,12 +61,6 @@ + #define ftruncate(blah,blah2) chsize(blah,blah2) + #endif + +-//Solaris maybe others +-#if defined (DB_HAVE_NO_POWF) +-#include +-static inline float powf (float x, float y) { return (float) pow (x,y); } +-#endif +- + class Cross { + public: + static void GetPlatformConfigDir(std::string& in); +diff -ru dosbox-0.74-3.orig/src/gui/sdl_mapper.cpp dosbox-0.74-3/src/gui/sdl_mapper.cpp +--- dosbox-0.74-3.orig/src/gui/sdl_mapper.cpp 2019-06-22 17:07:45.000000000 +0200 ++++ dosbox-0.74-3/src/gui/sdl_mapper.cpp 2020-09-25 14:58:04.502405522 +0200 +@@ -415,7 +415,7 @@ + /* try to retrieve key from symbolic key as scancode is zero */ + if (keysym.sym