diff options
author | rillig <rillig@pkgsrc.org> | 2007-01-20 02:25:31 +0000 |
---|---|---|
committer | rillig <rillig@pkgsrc.org> | 2007-01-20 02:25:31 +0000 |
commit | d4c9967cdc42a31cc8f634e40d0fe64cec0ed82e (patch) | |
tree | d8c43799772d9bc9b5d1944b18192d08e0bfe0a3 /emulators/dosbox | |
parent | ca7d6847e9f0c24efd203c9e100b7a5aa8b00d66 (diff) | |
download | pkgsrc-d4c9967cdc42a31cc8f634e40d0fe64cec0ed82e.tar.gz |
On Solaris 10, I had to disable joystick and scancodes support.
PKGREVISION++
Diffstat (limited to 'emulators/dosbox')
-rw-r--r-- | emulators/dosbox/Makefile | 7 | ||||
-rw-r--r-- | emulators/dosbox/distinfo | 3 | ||||
-rw-r--r-- | emulators/dosbox/patches/patch-ad | 19 |
3 files changed, 25 insertions, 4 deletions
diff --git a/emulators/dosbox/Makefile b/emulators/dosbox/Makefile index fc6495ea5e2..7ca03f1a6a2 100644 --- a/emulators/dosbox/Makefile +++ b/emulators/dosbox/Makefile @@ -1,7 +1,7 @@ -# $NetBSD: Makefile,v 1.18 2006/06/12 16:28:06 wiz Exp $ +# $NetBSD: Makefile,v 1.19 2007/01/20 02:25:31 rillig Exp $ DISTNAME= dosbox-0.65 -PKGREVISION= 2 +PKGREVISION= 3 CATEGORIES= emulators MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=dosbox/} @@ -11,6 +11,8 @@ COMMENT= Multi-platform DOS emulator using SDL USE_LANGUAGES= c c++ GNU_CONFIGURE= yes +CPPFLAGS.SunOS+= -DDISABLE_JOYSTICK +INSTALLATION_DIRS= share/doc/dosbox SUBST_CLASSES+= fixme SUBST_STAGE.fixme= post-patch @@ -18,7 +20,6 @@ SUBST_FILES.fixme= docs/dosbox.1 SUBST_SED.fixme= -e s,/usr/share/,${PREFIX}/share/,g post-install: - ${INSTALL_DATA_DIR} ${PREFIX}/share/doc/dosbox ${INSTALL_DATA} ${WRKSRC}/README ${PREFIX}/share/doc/dosbox .include "../../audio/SDL_sound/buildlink3.mk" diff --git a/emulators/dosbox/distinfo b/emulators/dosbox/distinfo index 1e78cfafd67..b8bc34761ca 100644 --- a/emulators/dosbox/distinfo +++ b/emulators/dosbox/distinfo @@ -1,4 +1,4 @@ -$NetBSD: distinfo,v 1.10 2007/01/16 11:42:02 rillig Exp $ +$NetBSD: distinfo,v 1.11 2007/01/20 02:25:31 rillig Exp $ SHA1 (dosbox-0.65.tar.gz) = 4e9b65c9c2091ab30a952e3b7e63b74df605f419 RMD160 (dosbox-0.65.tar.gz) = 1d05002ae0ddcac74071180d0fa81aba3092e6f1 @@ -6,3 +6,4 @@ Size (dosbox-0.65.tar.gz) = 848989 bytes SHA1 (patch-aa) = 3393501f0d438e53a55481dc0e237c2bb2a75d3e SHA1 (patch-ab) = c4555ed9e6337380f52f271025d8f55ed7602aa6 SHA1 (patch-ac) = 84c2a3173a483ccb62917da0b48fd2083963a13b +SHA1 (patch-ad) = 3c0c0eabceb4cefa07918ae1d558e553ff18d592 diff --git a/emulators/dosbox/patches/patch-ad b/emulators/dosbox/patches/patch-ad new file mode 100644 index 00000000000..92d676e4fd8 --- /dev/null +++ b/emulators/dosbox/patches/patch-ad @@ -0,0 +1,19 @@ +$NetBSD: patch-ad,v 1.1 2007/01/20 02:25:31 rillig Exp $ + +Scancodes do not work on SunOS-2.10-sparc. + +--- src/gui/sdlmain.cpp.orig 2006-03-29 14:54:42.000000000 +0200 ++++ src/gui/sdlmain.cpp 2007-01-16 14:15:35.312830340 +0100 +@@ -1291,7 +1291,12 @@ int main(int argc, char* argv[]) { + sdl_sec->Add_bool("waitonerror",true); + sdl_sec->Add_string("priority","higher,normal"); + sdl_sec->Add_string("mapperfile","mapper.txt"); ++#if defined(__sun) ++ sdl_sec->Add_bool("usescancodes", false); ++#else + sdl_sec->Add_bool("usescancodes",true); ++#endif ++ + + MSG_Add("SDL_CONFIGFILE_HELP", + "fullscreen -- Start dosbox directly in fullscreen.\n" |