- Fix build on 4.x

PR:		97937
Submitted by:	Shaun Amott <shaun_AT_inerd dot com>
Approved by:	maintainer
This commit is contained in:
Cheng-Lung Sung 2006-05-30 07:02:51 +00:00
parent d13d39b571
commit a2345d72dd
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=163939
2 changed files with 13 additions and 0 deletions

View file

@ -27,6 +27,8 @@ CONFIGURE_ENV+= CPPFLAGS="${CPPFLAGS}"
CONFIGURE_TARGET= --build=${ARCH}-portbld-freebsd${OSREL}
CONFIGURE_ARGS+= --enable-core-inline
USE_GCC= 3.2+
post-patch:
@${REINPLACE_CMD} -e 's#\/usr\/share\/doc\/dosbox#${DOCSDIR}#g' \
${WRKSRC}/docs/dosbox.1

View file

@ -0,0 +1,11 @@
--- src/cpu/core_dyn_x86.cpp.orig Thu Feb 9 12:32:52 2006
+++ src/cpu/core_dyn_x86.cpp Thu May 25 22:58:53 2006
@@ -22,6 +22,8 @@
#define CHECKED_MEMORY_ACCESS
+#include <sys/types.h>
+
#include <assert.h>
#include <stdarg.h>
#include <stdio.h>