mirror of
https://github.com/yann64/haikuports.git
synced 2026-04-20 02:30:05 +02:00
* Move dosbox to match Gentoo Portage
* Finish bep file * Add small, but required, patch. I could not submit the patch to dosbox bugtracker with BeZilla. Can someone else have a look at submitting it for me ?
This commit is contained in:
@@ -1,4 +1,5 @@
|
||||
DESCRIPTION="an x86 emulator with DOS"
|
||||
MESSAGE="This port requires gcc4."
|
||||
HOMEPAGE="http://www.dosbox.com/"
|
||||
SRC_URI="svn://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk/"
|
||||
REVISION="1"
|
||||
@@ -19,7 +20,6 @@ INSTALL {
|
||||
}
|
||||
|
||||
# no TEST script available
|
||||
# no patch available
|
||||
|
||||
COPYRIGHT="2012 The DOSBox Team"
|
||||
LICENSE="GNU GPL v2"
|
||||
20
games-emulation/dosbox/dosbox-0.74-svn.patch
Normal file
20
games-emulation/dosbox/dosbox-0.74-svn.patch
Normal file
@@ -0,0 +1,20 @@
|
||||
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.
|
||||
Reference in New Issue
Block a user