diff options
author | Martin Wilke <miwi@FreeBSD.org> | 2007-03-13 13:18:09 +0000 |
---|---|---|
committer | Martin Wilke <miwi@FreeBSD.org> | 2007-03-13 13:18:09 +0000 |
commit | 2ea4d5836c4d06147012b3f4552fede59043ca6a (patch) | |
tree | 3e1a335c2547fcb3fe966aed4e5e4f5934c2d544 /emulators/dosbox | |
parent | 4a86e56b5fa39aeda05106fd4a252e372e196a63 (diff) | |
download | ports-2ea4d5836c4d06147012b3f4552fede59043ca6a.tar.gz ports-2ea4d5836c4d06147012b3f4552fede59043ca6a.zip |
Notes
Diffstat (limited to 'emulators/dosbox')
-rw-r--r-- | emulators/dosbox/Makefile | 4 | ||||
-rw-r--r-- | emulators/dosbox/distinfo | 6 | ||||
-rw-r--r-- | emulators/dosbox/files/patch-configure.in | 12 | ||||
-rw-r--r-- | emulators/dosbox/files/patch-src::hardware::serialport::misc_util.cpp | 11 | ||||
-rw-r--r-- | emulators/dosbox/files/patch-src::hardware::serialport::misc_util.h | 11 |
5 files changed, 39 insertions, 5 deletions
diff --git a/emulators/dosbox/Makefile b/emulators/dosbox/Makefile index a079ed5b10e1..ba0a652c5384 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 5cf94dcb63ae..786cbeb49ea9 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 000000000000..37b8d1ee0f12 --- /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 000000000000..775827befe05 --- /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 000000000000..31178f9870cf --- /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 |