diff --git a/app-emulation/dosbox/dosbox-0.74-svn.bep b/games-emulation/dosbox/dosbox-0.74-svn.bep similarity index 93% rename from app-emulation/dosbox/dosbox-0.74-svn.bep rename to games-emulation/dosbox/dosbox-0.74-svn.bep index 052f4ccc5..0051b990a 100644 --- a/app-emulation/dosbox/dosbox-0.74-svn.bep +++ b/games-emulation/dosbox/dosbox-0.74-svn.bep @@ -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" diff --git a/games-emulation/dosbox/dosbox-0.74-svn.patch b/games-emulation/dosbox/dosbox-0.74-svn.patch new file mode 100644 index 000000000..1e81c8f9e --- /dev/null +++ b/games-emulation/dosbox/dosbox-0.74-svn.patch @@ -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 ]],[[ +- 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.