head 1.8; access; symbols pkgsrc-2013Q2:1.8.0.8 pkgsrc-2013Q2-base:1.8 pkgsrc-2012Q4:1.8.0.6 pkgsrc-2012Q4-base:1.8 pkgsrc-2011Q4:1.8.0.4 pkgsrc-2011Q4-base:1.8 pkgsrc-2011Q2:1.8.0.2 pkgsrc-2011Q2-base:1.8 pkgsrc-2010Q4:1.7.0.46 pkgsrc-2010Q4-base:1.7 pkgsrc-2010Q3:1.7.0.44 pkgsrc-2010Q3-base:1.7 pkgsrc-2010Q2:1.7.0.42 pkgsrc-2010Q2-base:1.7 pkgsrc-2010Q1:1.7.0.40 pkgsrc-2010Q1-base:1.7 pkgsrc-2009Q4:1.7.0.38 pkgsrc-2009Q4-base:1.7 pkgsrc-2009Q3:1.7.0.36 pkgsrc-2009Q3-base:1.7 pkgsrc-2009Q2:1.7.0.34 pkgsrc-2009Q2-base:1.7 pkgsrc-2009Q1:1.7.0.32 pkgsrc-2009Q1-base:1.7 pkgsrc-2008Q4:1.7.0.30 pkgsrc-2008Q4-base:1.7 pkgsrc-2008Q3:1.7.0.28 pkgsrc-2008Q3-base:1.7 cube-native-xorg:1.7.0.26 cube-native-xorg-base:1.7 pkgsrc-2008Q2:1.7.0.24 pkgsrc-2008Q2-base:1.7 cwrapper:1.7.0.22 pkgsrc-2008Q1:1.7.0.20 pkgsrc-2008Q1-base:1.7 pkgsrc-2007Q4:1.7.0.18 pkgsrc-2007Q4-base:1.7 pkgsrc-2007Q3:1.7.0.16 pkgsrc-2007Q3-base:1.7 pkgsrc-2007Q2:1.7.0.14 pkgsrc-2007Q2-base:1.7 pkgsrc-2007Q1:1.7.0.12 pkgsrc-2007Q1-base:1.7 pkgsrc-2006Q4:1.7.0.10 pkgsrc-2006Q4-base:1.7 pkgsrc-2006Q3:1.7.0.8 pkgsrc-2006Q3-base:1.7 pkgsrc-2006Q2:1.7.0.6 pkgsrc-2006Q2-base:1.7 pkgsrc-2006Q1:1.7.0.4 pkgsrc-2006Q1-base:1.7 pkgsrc-2005Q4:1.7.0.2 pkgsrc-2005Q4-base:1.7 pkgsrc-2005Q3:1.6.0.4 pkgsrc-2005Q3-base:1.6 pkgsrc-2005Q2:1.6.0.2 pkgsrc-2005Q2-base:1.6 pkgsrc-2005Q1:1.5.0.4 pkgsrc-2005Q1-base:1.5 pkgsrc-2004Q4:1.5.0.2 pkgsrc-2004Q4-base:1.5 pkgsrc-2004Q3:1.4.0.8 pkgsrc-2004Q3-base:1.4 pkgsrc-2004Q2:1.4.0.6 pkgsrc-2004Q2-base:1.4 pkgsrc-2004Q1:1.4.0.4 pkgsrc-2004Q1-base:1.4 pkgsrc-2003Q4:1.4.0.2 pkgsrc-2003Q4-base:1.4 netbsd-1-6:1.1.0.8 netbsd-1-6-RELEASE-base:1.1 pkgviews:1.1.0.4 pkgviews-base:1.1 buildlink2:1.1.0.2 buildlink2-base:1.1 netbsd-1-5-PATCH003:1.1; locks; strict; comment @# @; 1.8 date 2011.02.06.05.00.58; author wiz; state dead; branches; next 1.7; 1.7 date 2005.11.17.19.54.09; author joerg; state Exp; branches; next 1.6; 1.6 date 2005.04.02.20.57.10; author kristerw; state dead; branches; next 1.5; 1.5 date 2004.12.11.12.32.44; author kristerw; state Exp; branches; next 1.4; 1.4 date 2003.05.27.12.43.16; author kristerw; state dead; branches; next 1.3; 1.3 date 2003.05.23.14.17.29; author kristerw; state Exp; branches; next 1.2; 1.2 date 2002.12.14.15.14.27; author kristerw; state dead; branches; next 1.1; 1.1 date 2002.01.12.22.53.16; author kristerw; state Exp; branches; next ; desc @@ 1.8 log @Remove xmame und xmess -- use mame/mess instead. Ok kristerw @ text @$NetBSD: patch-ac,v 1.7 2005/11/17 19:54:09 joerg Exp $ --- src/unix/video-drivers/xf86_dga1.c.orig 2005-11-17 15:56:02.000000000 +0000 +++ src/unix/video-drivers/xf86_dga1.c @@@@ -6,6 +6,7 @@@@ #include #include #include +#include #include #include #include @ 1.7 log @Add DragonFly support. In the DGA drivers, include sys/time.h to get struct timeval on DragonFly, otherwise sys/resource.h doesn't compile. @ text @d1 1 a1 1 $NetBSD$ @ 1.6 log @Update xmess to 0.95. Changes since 0.90 includes: - Everything from MAME 0.95 (http://x.mame.net/changes-mame.html) and MESS 0.95 (http://x.mame.net/changes-mess.html). - Forcing Xv to use YV12 ("-force-yuv 2") no longer causes rotated games to segfault. Fixes Bugzilla bug 679. - Fixed the aspect ratio of the MESS SuperVision driver so that it's quadratic. (PeT) - Fixed several problems with the front-end "-list" commands: The MESS commands could segfault, some commands' headers were misaligned, and "-listpalettesize" was causing the ROM list to print. - Worked around or fixed a double-free on exit in xmess. - Fixed a segfault on startup that occurred when four or more joysticks devices were found. - The SDL joystick driver now works with multiple joysticks attached. - The SDL sound driver should produce much better output. Also fixed a potential deadlock. @ text @d1 1 a1 1 $NetBSD: patch-ac,v 1.5 2004/12/11 12:32:44 kristerw Exp $ d3 10 a12 11 --- mess/mess.mak.orig Sat Dec 11 12:49:20 2004 +++ mess/mess.mak Sat Dec 11 12:49:34 2004 @@@@ -895,7 +895,7 @@@@ # additional tools -TOOLS = dat2html$(EXE) messtest$(EXE) chdman$(EXE) messdocs$(EXE) imgtool$(EXE) +TOOLS = dat2html$(EXE) chdman$(EXE) messdocs$(EXE) imgtool$(EXE) include mess/tools/imgtool/imgtool.mak @ 1.5 log @Do not compile messtest. It isn't used, and it fails to compile on NetBSD 1.6. @ text @d1 1 a1 1 $NetBSD$ @ 1.4 log @Update xmess to 0.69.1. Changes since 0.68.1 includes: - Re-added Ben Collins' core change that adds support for extra mice. - Reverted to using the original fronthlp.c (from 0.67.2) modified to work with the 0.69 core. - Fixed a logic bug in the XInput devices button-handling. (Ben Collins) - Made a tiny fix in fileio.c that allows specifying direct paths to roms to work again; e.g., ./xmame.x11 ./moo.zip @ text @d1 5 a5 6 $NetBSD: patch-ac,v 1.3 2003/05/23 14:17:29 kristerw Exp $ --- src/unix/config.c.orig Fri May 23 16:00:37 2003 +++ src/unix/config.c Fri May 23 16:01:00 2003 @@@@ -369,9 +369,11 @@@@ return OSD_OK; } a6 5 +#ifndef MESS /* handle frontend options */ if ((i = frontend_help(gamename, defaultgamename)) != 1234) return i; +#endif d8 6 a13 2 if (playbackname) { @ 1.3 log @Update xmess to 0.68.1. Changes since 0.67.2 include: - Almost everything from MESS 0.68. - Fixed the analog joystick support so that the Y-axis is recognized as analog. (Sebastien Devaux) - The command line is now parsed even if the display cannot be opened. (Christopher Stone, David Mitchell) - Added support to the core for 4-button mice and 10-button joysticks. (Ben Collins) - Fixed several problems and did a lot of cleanup in the XInput code, especially for the output (e.g., showing detection status. (Ben Collins) - Fixed a few problems with -listinfo output. (Andrea Mazzoleni) @ text @d1 1 a1 1 $NetBSD$ @ 1.2 log @Update xmess to 0.62.1 (rc3) Changes since last packaged version are mainly that the emulation core is based on MAME 0.62, together with random bugfixes. @ text @d1 11 a11 56 $NetBSD: patch-ac,v 1.1 2002/01/12 22:53:16 kristerw Exp $ --- src/unix/joystick-drivers/joy_usb.c.orig Wed Jan 2 03:45:55 2002 +++ src/unix/joystick-drivers/joy_usb.c Sun Jan 6 22:17:55 2002 @@@@ -21,7 +21,11 @@@@ #endif #if defined(__ARCH_netbsd) +#ifdef HAVE_USBHID_H +#include +#else #include +#endif #elif defined(__ARCH_freebsd) #include #endif @@@@ -69,7 +73,7 @@@@ static int joy_initialize_hid(int i) { - int size, is_joystick, report_id; + int size, is_joystick, report_id = 0; struct hid_data *d; struct hid_item h; report_desc_t rd; @@@@ -82,7 +86,19 @@@@ priv_joy_data[i].hids = NULL; +#ifdef HAVE_USBHID_H + if (ioctl(joy_data[i].fd, USB_GET_REPORT_ID, &report_id) < 0) + { + fprintf(stderr_file, "error: /dev/uhid%d: %s", i, strerror(errno)); + return FALSE; + } + + size = hid_report_size(rd, hid_input, report_id); + priv_joy_data[i].offset = 0; +#else size = hid_report_size(rd, hid_input, &report_id); + priv_joy_data[i].offset = (report_id != 0); +#endif if ((priv_joy_data[i].data_buf = malloc(size)) == NULL) { fprintf(stderr_file, "error: couldn't malloc %d bytes\n", size); @@@@ -90,10 +106,14 @@@@ return FALSE; } priv_joy_data[i].dlen = size; - priv_joy_data[i].offset = (report_id != 0); is_joystick = 0; +#ifdef HAVE_USBHID_H + for (d = hid_start_parse(rd, 1 << hid_input, report_id); + hid_get_item(d, &h); ) +#else for (d = hid_start_parse(rd, 1 << hid_input); hid_get_item(d, &h); ) a12 2 { int axis, usage, page, interesting_hid; d14 2 @ 1.1 log @Make xmess compile for new systems that have libusbhid.so instead of libusb.so. Remove mame.dk as master site, since it is awfully slow. @ text @d1 1 a1 1 $NetBSD: patch-ac,v 1.6 2002/01/06 22:09:32 kristerw Exp $ @