Blame patches/dosbox-0.74-3.local.patch

725b20
diff -ru dosbox-0.74-3.orig/include/cross.h dosbox-0.74-3/include/cross.h
725b20
--- dosbox-0.74-3.orig/include/cross.h	2019-06-25 19:57:19.000000000 +0200
725b20
+++ dosbox-0.74-3/include/cross.h	2020-09-25 12:12:19.286982119 +0200
725b20
@@ -61,12 +61,6 @@
725b20
 #define ftruncate(blah,blah2) chsize(blah,blah2)
725b20
 #endif
725b20
 
725b20
-//Solaris maybe others
725b20
-#if defined (DB_HAVE_NO_POWF)
725b20
-#include <math.h>
725b20
-static inline float powf (float x, float y) { return (float) pow (x,y); }
725b20
-#endif
725b20
-
725b20
 class Cross {
725b20
 public:
725b20
 	static void GetPlatformConfigDir(std::string& in);
725b20
diff -ru dosbox-0.74-3.orig/src/gui/sdl_mapper.cpp dosbox-0.74-3/src/gui/sdl_mapper.cpp
725b20
--- dosbox-0.74-3.orig/src/gui/sdl_mapper.cpp	2019-06-22 17:07:45.000000000 +0200
725b20
+++ dosbox-0.74-3/src/gui/sdl_mapper.cpp	2020-09-25 14:58:04.502405522 +0200
725b20
@@ -415,7 +415,7 @@
725b20
 			/* try to retrieve key from symbolic key as scancode is zero */
725b20
 			if (keysym.sym
725b20
 		} 
725b20
-#if !defined (WIN32) && !defined (MACOSX) && !defined(OS2)
725b20
+#if !defined (WIN32) && !defined (MACOSX) && !defined(OS2) && !defined(__midipix__)
725b20
 		/* Linux adds 8 to all scancodes */
725b20
 		else key-=8;
725b20
 #endif