From 162934412b5f678cafe9b478d5511f0a7dbb6af5 Mon Sep 17 00:00:00 2001 From: miwi Date: Tue, 13 Mar 2007 13:18:09 +0000 Subject: - Update to 0.70 PR: 110250 Submited by: Alex Kozlov Approved by: maintainer --- emulators/dosbox/Makefile | 4 ++-- emulators/dosbox/distinfo | 6 +++--- emulators/dosbox/files/patch-configure.in | 12 ++++++++++++ .../files/patch-src::hardware::serialport::misc_util.cpp | 11 +++++++++++ .../files/patch-src::hardware::serialport::misc_util.h | 11 +++++++++++ 5 files changed, 39 insertions(+), 5 deletions(-) create mode 100644 emulators/dosbox/files/patch-configure.in create mode 100644 emulators/dosbox/files/patch-src::hardware::serialport::misc_util.cpp create mode 100644 emulators/dosbox/files/patch-src::hardware::serialport::misc_util.h diff --git a/emulators/dosbox/Makefile b/emulators/dosbox/Makefile index a079ed5..ba0a652 100644 --- a/emulators/dosbox/Makefile +++ b/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 @@ COMMENT= An emulator of a PC with DOS LIB_DEPENDS= png.5:${PORTSDIR}/graphics/png +USE_AUTOTOOLS= autoconf:259 aclocal:19 GNU_CONFIGURE= yes USE_SDL= sdl net diff --git a/emulators/dosbox/distinfo b/emulators/dosbox/distinfo index 5cf94dc..786cbeb4 100644 --- a/emulators/dosbox/distinfo +++ b/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 diff --git a/emulators/dosbox/files/patch-configure.in b/emulators/dosbox/files/patch-configure.in new file mode 100644 index 0000000..37b8d1e --- /dev/null +++ b/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. diff --git a/emulators/dosbox/files/patch-src::hardware::serialport::misc_util.cpp b/emulators/dosbox/files/patch-src::hardware::serialport::misc_util.cpp new file mode 100644 index 0000000..775827be --- /dev/null +++ b/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; diff --git a/emulators/dosbox/files/patch-src::hardware::serialport::misc_util.h b/emulators/dosbox/files/patch-src::hardware::serialport::misc_util.h new file mode 100644 index 0000000..31178f9 --- /dev/null +++ b/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 -- cgit v1.1