summaryrefslogtreecommitdiff
path: root/emulators/dosbox
diff options
context:
space:
mode:
Diffstat (limited to 'emulators/dosbox')
-rw-r--r--emulators/dosbox/Makefile9
-rw-r--r--emulators/dosbox/distinfo11
-rw-r--r--emulators/dosbox/patches/patch-ae15
-rw-r--r--emulators/dosbox/patches/patch-af13
-rw-r--r--emulators/dosbox/patches/patch-ag13
5 files changed, 54 insertions, 7 deletions
diff --git a/emulators/dosbox/Makefile b/emulators/dosbox/Makefile
index 7ca03f1a6a2..4ed1960fde8 100644
--- a/emulators/dosbox/Makefile
+++ b/emulators/dosbox/Makefile
@@ -1,7 +1,6 @@
-# $NetBSD: Makefile,v 1.19 2007/01/20 02:25:31 rillig Exp $
+# $NetBSD: Makefile,v 1.20 2007/03/26 06:31:55 xtraeme Exp $
-DISTNAME= dosbox-0.65
-PKGREVISION= 3
+DISTNAME= dosbox-0.70
CATEGORIES= emulators
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=dosbox/}
@@ -10,6 +9,7 @@ HOMEPAGE= http://dosbox.sourceforge.net/
COMMENT= Multi-platform DOS emulator using SDL
USE_LANGUAGES= c c++
+USE_TOOLS+= autoconf
GNU_CONFIGURE= yes
CPPFLAGS.SunOS+= -DDISABLE_JOYSTICK
INSTALLATION_DIRS= share/doc/dosbox
@@ -19,6 +19,9 @@ SUBST_STAGE.fixme= post-patch
SUBST_FILES.fixme= docs/dosbox.1
SUBST_SED.fixme= -e s,/usr/share/,${PREFIX}/share/,g
+pre-configure:
+ cd ${WRKSRC} && autoconf
+
post-install:
${INSTALL_DATA} ${WRKSRC}/README ${PREFIX}/share/doc/dosbox
diff --git a/emulators/dosbox/distinfo b/emulators/dosbox/distinfo
index b8bc34761ca..e0ee5422b97 100644
--- a/emulators/dosbox/distinfo
+++ b/emulators/dosbox/distinfo
@@ -1,9 +1,12 @@
-$NetBSD: distinfo,v 1.11 2007/01/20 02:25:31 rillig Exp $
+$NetBSD: distinfo,v 1.12 2007/03/26 06:31:55 xtraeme Exp $
-SHA1 (dosbox-0.65.tar.gz) = 4e9b65c9c2091ab30a952e3b7e63b74df605f419
-RMD160 (dosbox-0.65.tar.gz) = 1d05002ae0ddcac74071180d0fa81aba3092e6f1
-Size (dosbox-0.65.tar.gz) = 848989 bytes
+SHA1 (dosbox-0.70.tar.gz) = de2f63b7246c0e1f7a473b0d4571c4da391a340e
+RMD160 (dosbox-0.70.tar.gz) = 85654a664d66d7c1d1d51370d429f503029cb924
+Size (dosbox-0.70.tar.gz) = 934649 bytes
SHA1 (patch-aa) = 3393501f0d438e53a55481dc0e237c2bb2a75d3e
SHA1 (patch-ab) = c4555ed9e6337380f52f271025d8f55ed7602aa6
SHA1 (patch-ac) = 84c2a3173a483ccb62917da0b48fd2083963a13b
SHA1 (patch-ad) = 3c0c0eabceb4cefa07918ae1d558e553ff18d592
+SHA1 (patch-ae) = f25206fbe82e10443bde2dae49da14441af9ad70
+SHA1 (patch-af) = e9984dd18682cacec0985bc354568277bfc1b7cd
+SHA1 (patch-ag) = daada4d1c8e9cf35d2d47c8561c0788251ada536
diff --git a/emulators/dosbox/patches/patch-ae b/emulators/dosbox/patches/patch-ae
new file mode 100644
index 00000000000..d10d739cba3
--- /dev/null
+++ b/emulators/dosbox/patches/patch-ae
@@ -0,0 +1,15 @@
+$NetBSD: patch-ae,v 1.1 2007/03/26 06:31:55 xtraeme Exp $
+
+--- configure.in.orig 2007-02-28 20:56:16.000000000 +0100
++++ configure.in 2007-03-26 08:17:48.000000000 +0200
+@@ -331,6 +331,10 @@
+ AC_DEFINE(LINUX, 1, [Compiling on GNU/Linux])
+ AC_DEFINE(C_DIRECTSERIAL, 1, [ Define to 1 if you want serial passthrough support (Win32, Posix and OS/2).])
+ ;;
++ *-*-freebsd* | *-*-dragonfly* | *-*-netbsd* | *-*-openbsd*)
++ AC_DEFINE(BSD, 1, [Compiling on BSD])
++ AC_DEFINE(C_DIRECTSERIAL, 1, [ Define to 1 if you want serial passthrough support.])
++ ;;
+ *-*-os2-emx*)
+ 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).])
diff --git a/emulators/dosbox/patches/patch-af b/emulators/dosbox/patches/patch-af
new file mode 100644
index 00000000000..6456d92f522
--- /dev/null
+++ b/emulators/dosbox/patches/patch-af
@@ -0,0 +1,13 @@
+$NetBSD: patch-af,v 1.1 2007/03/26 06:31:55 xtraeme Exp $
+
+--- src/hardware/serialport/misc_util.h.orig 2007-03-26 08:21:57.000000000 +0200
++++ src/hardware/serialport/misc_util.h 2007-03-26 08:22:08.000000000 +0200
+@@ -6,7 +6,7 @@
+ #include "SDL_net.h"
+ #include "support.h"
+
+-#if defined LINUX || defined OS2
++#if defined LINUX || defined OS2 || defined BSD
+ #define NATIVESOCKETS
+
+ #elif defined WIN32
diff --git a/emulators/dosbox/patches/patch-ag b/emulators/dosbox/patches/patch-ag
new file mode 100644
index 00000000000..53af4fb2604
--- /dev/null
+++ b/emulators/dosbox/patches/patch-ag
@@ -0,0 +1,13 @@
+$NetBSD: patch-ag,v 1.1 2007/03/26 06:31:55 xtraeme Exp $
+
+--- src/hardware/serialport/misc_util.cpp.orig 2007-03-26 08:23:25.000000000 +0200
++++ src/hardware/serialport/misc_util.cpp 2007-03-26 08:23:49.000000000 +0200
+@@ -6,7 +6,7 @@
+ // C++ SDLnet wrapper
+
+ // Socket inheritance
+-#if defined LINUX || defined OS2
++#if defined LINUX || defined OS2 || defined BSD
+ #define CAPWORD (NETWRAPPER_TCP|NETWRAPPER_TCP_NATIVESOCKET)
+ #ifdef OS2
+ typedef int socklen_t;