Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 26 May 2006 00:46:25 +0100
From:      Shaun Amott <shaun@inerd.com>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/97937: emulators/dosbox: Fix build on 4.x
Message-ID:  <1148600785.14785@charon.picobyte.net>
Resent-Message-ID: <200605252350.k4PNoE82091015@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         97937
>Category:       ports
>Synopsis:       emulators/dosbox: Fix build on 4.x
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Thu May 25 23:50:14 GMT 2006
>Closed-Date:
>Last-Modified:
>Originator:     Shaun Amott
>Release:        FreeBSD 6.1-STABLE i386
>Organization:
>Environment:

>Description:

- Fix build on 4.x

Reported by pointyhat.

>How-To-Repeat:

>Fix:

--- dosbox.diff begins here ---
Index: Makefile
===================================================================
RCS file: /home/ncvs/ports/emulators/dosbox/Makefile,v
retrieving revision 1.13
diff -u -r1.13 Makefile
--- Makefile	6 Apr 2006 00:07:11 -0000	1.13
+++ Makefile	25 May 2006 23:21:11 -0000
@@ -27,6 +27,8 @@
 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
Index: files/patch-src::cpu::core_dyn_x86.cpp
===================================================================
RCS file: files/patch-src::cpu::core_dyn_x86.cpp
diff -N files/patch-src::cpu::core_dyn_x86.cpp
--- /dev/null	1 Jan 1970 00:00:00 -0000
+++ files/patch-src::cpu::core_dyn_x86.cpp	25 May 2006 23:21:11 -0000
@@ -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>
--- dosbox.diff ends here ---
>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1148600785.14785>