ports/110250: [patch] emulators/dosbox update request
Alex Kozlov
spam at rm-rf.kiev.ua
Tue Mar 13 06:20:04 UTC 2007
>Number: 110250
>Category: ports
>Synopsis: [patch] emulators/dosbox update request
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: sw-bug
>Submitter-Id: current-users
>Arrival-Date: Tue Mar 13 06:20:02 GMT 2007
>Closed-Date:
>Last-Modified:
>Originator: Alex Kozlov
>Release: FreeBSD 6.2
>Organization:
private
>Environment:
>Description:
Update dosbox to 0.70
>How-To-Repeat:
>Fix:
Patch attached with submission follows:
Index: emulators/dosbox/Makefile
@@ -6,8 +6,7 @@
#
PORTNAME= dosbox
-PORTVERSION= 0.65
-PORTREVISION= 1
+PORTVERSION= 0.70
CATEGORIES= emulators
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= ${PORTNAME}
@@ -17,6 +16,7 @@
LIB_DEPENDS= png.5:${PORTSDIR}/graphics/png
+USE_AUTOTOOLS= autoconf:259 aclocal:19
GNU_CONFIGURE= yes
USE_SDL= sdl net
Index: emulators/dosbox/distinfo
@@ -1,3 +1,3 @@
-MD5 (dosbox-0.65.tar.gz) = fef84c292c3aeae747368b9875c1575a
-SHA256 (dosbox-0.65.tar.gz) = 23fd001e2006f66ffdfe63adb6478ba85027f65b5078d6c69ad59e7f678d761f
-SIZE (dosbox-0.65.tar.gz) = 848989
+MD5 (dosbox-0.70.tar.gz) = ea0a936e88eb294038e67eeb0d7129c4
+SHA256 (dosbox-0.70.tar.gz) = 05fdfd561eee33de12d978795b7f12338327c6da1ce65971463b58f2e90b48e4
+SIZE (dosbox-0.70.tar.gz) = 934649
Index: emulators/dosbox/files/patch-configure.in
@@ -0,0 +1,12 @@
+--- configure.in.orig
++++ configure.in
+@@ -335,6 +335,9 @@
+ AC_DEFINE(OS2, 1, [Compiling on OS/2 EMX])
+ AC_DEFINE(C_DIRECTSERIAL, 1, [ Define to 1 if you want serial passthrough support (Win32, Posix and OS/2).])
+ ;;
++ *-*-freebsd*)
++ AC_DEFINE(FREEBSD, 1, [Compiling on FREEBSD])
++ AC_DEFINE(C_DIRECTSERIAL, 1, [ Define to 1 if you want serial passthrough support (Win32, Posix and OS/2).])
+ esac
+
+ dnl Some stuff for the icon.
Index: emulators/dosbox/files/patch-src::hardware::serialport::misc_util.cpp
@@ -0,0 +1,11 @@
+--- src/hardware/serialport/misc_util.cpp.orig
++++ src/hardware/serialport/misc_util.cpp
+@@ -6,7 +6,7 @@
+ // C++ SDLnet wrapper
+
+ // Socket inheritance
+-#if defined LINUX || defined OS2
++#if defined LINUX || defined OS2 || defined FREEBSD
+ #define CAPWORD (NETWRAPPER_TCP|NETWRAPPER_TCP_NATIVESOCKET)
+ #ifdef OS2
+ typedef int socklen_t;
Index: emulators/dosbox/files/patch-src::hardware::serialport::misc_util.h
@@ -0,0 +1,11 @@
+--- src/hardware/serialport/misc_util.h.orig
++++ src/hardware/serialport/misc_util.h
+@@ -6,7 +6,7 @@
+ #include "SDL_net.h"
+ #include "support.h"
+
+-#if defined LINUX || defined OS2
++#if defined LINUX || defined OS2 || defined FREEBSD
+ #define NATIVESOCKETS
+
+ #elif defined WIN32
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list