DOSBox new patch

This commit is contained in:
Adrián Arroyo Calle
2013-12-10 15:04:00 +00:00
parent 5562da1157
commit fd7abeaf07
3 changed files with 13 additions and 3913 deletions

View File

@@ -52,7 +52,7 @@ BUILD_PREREQUIRES="
SOURCE_DIR="dosbox-0.74"
PATCHES="
dosbox-0.74.patch
powf.patch
"
BUILD()

View File

@@ -1,20 +0,0 @@
Index: configure.in
===================================================================
--- configure.in (revision 3798)
+++ configure.in (working copy)
@@ -121,13 +121,8 @@
dnl Check for powf
-AC_MSG_CHECKING(for powf in libm);
-LIBS_BACKUP=$LIBS;
-LIBS="$LIBS -lm";
-AC_LINK_IFELSE([AC_LANG_PROGRAM([[#include <math.h>]],[[
- powf(1.0f, 1.0f);
-]])], [AC_MSG_RESULT(yes)], [AC_DEFINE([DB_HAVE_NO_POWF],[1],[libm doesn't include powf])])
-LIBS=$LIBS_BACKUP
+AC_SEARCH_LIBS([powf], [m], [AC_MSG_RESULT(yes)], [AC_DEFINE([DB_HAVE_NO_POWF],[1],[no powf function available])])
+AC_SEARCH_LIBS([getpeername], [network])
dnl Checks for libraries.

File diff suppressed because it is too large Load Diff