pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/games/plib games/plib: this needs to include another h...
details: https://anonhg.NetBSD.org/pkgsrc/rev/e3b93f2c83ab
branches: trunk
changeset: 311213:e3b93f2c83ab
user: nia <nia%pkgsrc.org@localhost>
date: Sun Aug 05 20:42:10 2018 +0000
description:
games/plib: this needs to include another hid header to build on netbsd now.
diffstat:
games/plib/distinfo | 4 ++--
games/plib/patches/patch-ad | 13 +++++++------
2 files changed, 9 insertions(+), 8 deletions(-)
diffs (68 lines):
diff -r 4bb74f027da9 -r e3b93f2c83ab games/plib/distinfo
--- a/games/plib/distinfo Sun Aug 05 19:57:22 2018 +0000
+++ b/games/plib/distinfo Sun Aug 05 20:42:10 2018 +0000
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.14 2015/11/03 20:57:01 agc Exp $
+$NetBSD: distinfo,v 1.15 2018/08/05 20:42:10 nia Exp $
SHA1 (plib-1.8.5.tar.gz) = c2cf7e3e1e58f7b63dae4bb21e4fa82c3e4d4cfc
RMD160 (plib-1.8.5.tar.gz) = 55019bf3758ec2542804d8e3994f4bed5a188e60
@@ -6,7 +6,7 @@
Size (plib-1.8.5.tar.gz) = 779133 bytes
SHA1 (patch-aa) = 6a9e3badb63de5b9b100805fa7151ce5db8ced69
SHA1 (patch-ab) = 1bb0950b08427f8bcef84ee2da1cfd231ca60385
-SHA1 (patch-ad) = bc79c088939d7dffdd2b63610c3cf9d494a92699
+SHA1 (patch-ad) = e158c9d0eed70146a8ee979eb3488c365455259a
SHA1 (patch-ae) = fe166e1b3b5d150d3d83bad49e2576d9ebaa0fb7
SHA1 (patch-af) = ea774a54a3cff4d43abae164bbcae745d4642aea
SHA1 (patch-ag) = d715adee05f8e6973a5883f74573cc39bfd8d72e
diff -r 4bb74f027da9 -r e3b93f2c83ab games/plib/patches/patch-ad
--- a/games/plib/patches/patch-ad Sun Aug 05 19:57:22 2018 +0000
+++ b/games/plib/patches/patch-ad Sun Aug 05 20:42:10 2018 +0000
@@ -1,8 +1,8 @@
-$NetBSD: patch-ad,v 1.7 2013/01/06 00:59:47 ryoon Exp $
+$NetBSD: patch-ad,v 1.8 2018/08/05 20:42:10 nia Exp $
---- src/js/jsBSD.cxx.orig Tue Mar 11 02:06:21 2008
+--- src/js/jsBSD.cxx.orig 2008-03-11 02:06:21.000000000 +0000
+++ src/js/jsBSD.cxx
-@@ -49,16 +49,13 @@
+@@ -49,16 +49,14 @@
#include <sys/ioctl.h>
#if defined(__FreeBSD__)
# include <sys/joystick.h>
@@ -14,6 +14,7 @@
#if defined(__NetBSD__)
-#ifdef HAVE_USBHID_H
+#define HAVE_USBHID_H 1
++#include <dev/hid/hid.h>
#include <usbhid.h>
-#else
-#include <usb.h>
@@ -21,7 +22,7 @@
#elif defined(__FreeBSD__)
extern "C" {
# if __FreeBSD_version < 500000
-@@ -85,7 +82,9 @@ struct os_specific_s {
+@@ -85,7 +83,9 @@ struct os_specific_s {
int fd;
int is_analog;
// The following structure members are specific to analog joysticks
@@ -31,7 +32,7 @@
#ifdef HAVE_USB_JS
// The following structure members are specific to USB joysticks
struct hid_item *hids;
-@@ -437,7 +436,7 @@ void jsJoystick::rawRead ( int *buttons, float *axes )
+@@ -437,7 +437,7 @@ void jsJoystick::rawRead ( int *buttons,
return ;
}
@@ -40,7 +41,7 @@
if ( os->is_analog )
{
int status = ::read ( os->fd, &os->ajs, sizeof(os->ajs) );
-@@ -462,6 +461,7 @@ void jsJoystick::rawRead ( int *buttons, float *axes )
+@@ -462,6 +462,7 @@ void jsJoystick::rawRead ( int *buttons,
return;
}
Home |
Main Index |
Thread Index |
Old Index