head 1.5; access; symbols pkgsrc-2013Q2:1.5.0.8 pkgsrc-2013Q2-base:1.5 pkgsrc-2012Q4:1.5.0.6 pkgsrc-2012Q4-base:1.5 pkgsrc-2011Q4:1.5.0.4 pkgsrc-2011Q4-base:1.5 pkgsrc-2011Q2:1.5.0.2 pkgsrc-2011Q2-base:1.5 pkgsrc-2010Q4:1.4.0.46 pkgsrc-2010Q4-base:1.4 pkgsrc-2010Q3:1.4.0.44 pkgsrc-2010Q3-base:1.4 pkgsrc-2010Q2:1.4.0.42 pkgsrc-2010Q2-base:1.4 pkgsrc-2010Q1:1.4.0.40 pkgsrc-2010Q1-base:1.4 pkgsrc-2009Q4:1.4.0.38 pkgsrc-2009Q4-base:1.4 pkgsrc-2009Q3:1.4.0.36 pkgsrc-2009Q3-base:1.4 pkgsrc-2009Q2:1.4.0.34 pkgsrc-2009Q2-base:1.4 pkgsrc-2009Q1:1.4.0.32 pkgsrc-2009Q1-base:1.4 pkgsrc-2008Q4:1.4.0.30 pkgsrc-2008Q4-base:1.4 pkgsrc-2008Q3:1.4.0.28 pkgsrc-2008Q3-base:1.4 cube-native-xorg:1.4.0.26 cube-native-xorg-base:1.4 pkgsrc-2008Q2:1.4.0.24 pkgsrc-2008Q2-base:1.4 cwrapper:1.4.0.22 pkgsrc-2008Q1:1.4.0.20 pkgsrc-2008Q1-base:1.4 pkgsrc-2007Q4:1.4.0.18 pkgsrc-2007Q4-base:1.4 pkgsrc-2007Q3:1.4.0.16 pkgsrc-2007Q3-base:1.4 pkgsrc-2007Q2:1.4.0.14 pkgsrc-2007Q2-base:1.4 pkgsrc-2007Q1:1.4.0.12 pkgsrc-2007Q1-base:1.4 pkgsrc-2006Q4:1.4.0.10 pkgsrc-2006Q4-base:1.4 pkgsrc-2006Q3:1.4.0.8 pkgsrc-2006Q3-base:1.4 pkgsrc-2006Q2:1.4.0.6 pkgsrc-2006Q2-base:1.4 pkgsrc-2006Q1:1.4.0.4 pkgsrc-2006Q1-base:1.4 pkgsrc-2005Q4:1.4.0.2 pkgsrc-2005Q4-base:1.4 pkgsrc-2005Q3:1.3.0.16 pkgsrc-2005Q3-base:1.3 pkgsrc-2005Q2:1.3.0.14 pkgsrc-2005Q2-base:1.3 pkgsrc-2005Q1:1.3.0.12 pkgsrc-2005Q1-base:1.3 pkgsrc-2004Q4:1.3.0.10 pkgsrc-2004Q4-base:1.3 pkgsrc-2004Q3:1.3.0.8 pkgsrc-2004Q3-base:1.3 pkgsrc-2004Q2:1.3.0.6 pkgsrc-2004Q2-base:1.3 pkgsrc-2004Q1:1.3.0.4 pkgsrc-2004Q1-base:1.3 pkgsrc-2003Q4:1.3.0.2 pkgsrc-2003Q4-base:1.3 buildlink2-base:1.3 comdex-fall-1999:1.2 netbsd-1-4-PATCH001:1.2 netbsd-1-4-RELEASE:1.2 netbsd-1-3-PATCH003:1.2; locks; strict; comment @# @; 1.5 date 2011.02.06.05.00.58; author wiz; state dead; branches; next 1.4; 1.4 date 2005.11.17.19.54.09; author joerg; state Exp; branches; next 1.3; 1.3 date 99.11.10.07.58.37; author soren; state dead; branches; next 1.2; 1.2 date 98.08.07.10.40.38; author agc; state Exp; branches; next 1.1; 1.1 date 98.07.09.12.34.57; author mycroft; state Exp; branches; next ; desc @@ 1.5 log @Remove xmame und xmess -- use mame/mess instead. Ok kristerw @ text @$NetBSD: patch-ag,v 1.4 2005/11/17 19:54:09 joerg Exp $ --- src/unix/joystick-drivers/joy_usb.c.orig 2005-11-17 16:19:51.000000000 +0000 +++ src/unix/joystick-drivers/joy_usb.c @@@@ -22,7 +22,7 @@@@ struct rc_option joy_usb_opts[] = { #ifdef USB_JOYSTICK -#if !defined(__ARCH_openbsd) && !defined(__ARCH_netbsd) && !defined(__ARCH_freebsd) +#if !defined(__ARCH_openbsd) && !defined(__ARCH_netbsd) && !defined(__ARCH_freebsd) && !defined(__ARCH_dragonfly) #error "USB joysticks are only supported under OpenBSD, NetBSD and FreeBSD. Patches to support other archs are welcome ;)" #endif @@@@ -47,8 +47,13 @@@@ struct rc_option joy_usb_opts[] = { #include #endif +#ifdef __ARCH_dragonfly +#include +#include +#else #include #include +#endif int axis_usage[] = { HUG_X, HUG_Y, HUG_Z, @@@@ -118,7 +123,7 @@@@ static int joy_initialize_hid(int i) } #if defined(HAVE_USBHID_H) || defined(HAVE_LIBUSBHID_H) -#if defined(__ARCH_openbsd) || defined(__ARCH_netbsd) || (defined(__ARCH_freebsd) && __FreeBSD_version > 500000) +#if defined(__ARCH_openbsd) || defined(__ARCH_netbsd) || (defined(__ARCH_freebsd) && __FreeBSD_version > 500000) || defined(__ARCH_dragonfly) if (ioctl(joy_data[i].fd, USB_GET_REPORT_ID, &report_id) < 0) { fprintf(stderr_file, "error: /dev/uhid%d: %s", i, strerror(errno)); @ 1.4 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.3 log @Xmess is now part of xmame. @ text @d1 1 a1 1 $NetBSD: patch-ag,v 1.2 1998/08/07 10:40:38 agc Exp $ d3 4 a6 5 --- src/unix/netbsd_i386.c.orig Fri Jun 5 07:00:43 1998 +++ src/unix/netbsd_i386.c Sat Jul 4 07:42:09 1998 @@@@ -5,7 +5,7 @@@@ * Audio code is based on the solaris driver, by jantonio@@dit.upm.es */ d8 5 a12 2 -#ifdef netbsd_i386 +#ifdef NETBSD d14 23 a36 2 #include "xmame.h" #include "sound.h" @ 1.2 log @Add NetBSD RCS Ids. @ text @d1 1 a1 1 $NetBSD$ @ 1.1 log @Initial port of the XMESS game console emulator. @ text @d1 2 @