pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/x11/xf86-input-joystick xf86-input-joystick: update to...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/901a04ce850e
branches:  trunk
changeset: 373063:901a04ce850e
user:      wiz <wiz%pkgsrc.org@localhost>
date:      Wed Dec 27 14:13:55 2017 +0000

description:
xf86-input-joystick: update to 1.6.3nb1.

Adapt to NetBSD current changes regarding USB HID.
>From bouyer.

diffstat:

 x11/xf86-input-joystick/Makefile                        |   3 +-
 x11/xf86-input-joystick/distinfo                        |   5 ++-
 x11/xf86-input-joystick/patches/patch-config.h.in       |  16 ++++++++++
 x11/xf86-input-joystick/patches/patch-configure         |  25 +++++++++++++++++
 x11/xf86-input-joystick/patches/patch-src_backend_bsd.c |  16 ++++++++++
 5 files changed, 63 insertions(+), 2 deletions(-)

diffs (95 lines):

diff -r 45d4894f586b -r 901a04ce850e x11/xf86-input-joystick/Makefile
--- a/x11/xf86-input-joystick/Makefile  Tue Dec 26 23:15:18 2017 +0000
+++ b/x11/xf86-input-joystick/Makefile  Wed Dec 27 14:13:55 2017 +0000
@@ -1,6 +1,7 @@
-# $NetBSD: Makefile,v 1.6 2017/09/16 19:27:28 wiz Exp $
+# $NetBSD: Makefile,v 1.7 2017/12/27 14:13:55 wiz Exp $
 
 DISTNAME=      xf86-input-joystick-1.6.3
+PKGREVISION=   1
 CATEGORIES=    x11
 MASTER_SITES=  ${MASTER_SITE_XORG:=driver/}
 EXTRACT_SUFX=  .tar.bz2
diff -r 45d4894f586b -r 901a04ce850e x11/xf86-input-joystick/distinfo
--- a/x11/xf86-input-joystick/distinfo  Tue Dec 26 23:15:18 2017 +0000
+++ b/x11/xf86-input-joystick/distinfo  Wed Dec 27 14:13:55 2017 +0000
@@ -1,6 +1,9 @@
-$NetBSD: distinfo,v 1.4 2016/11/18 08:10:24 wiz Exp $
+$NetBSD: distinfo,v 1.5 2017/12/27 14:13:55 wiz Exp $
 
 SHA1 (xf86-input-joystick-1.6.3.tar.bz2) = b8664249d50ed266556877e15e3782c40614459c
 RMD160 (xf86-input-joystick-1.6.3.tar.bz2) = 9619dfef02eef577c69fe859ca87fd44e6f0eaa1
 SHA512 (xf86-input-joystick-1.6.3.tar.bz2) = 541c993bd37dd74d96d90060407d9fb9ebd3fbca352189a08c6b0c899c84609a1b5a3c1ea3febb4ceb5e2b881b54e45c75b8f9b2e475e16d7cffbbe42a3221e5
 Size (xf86-input-joystick-1.6.3.tar.bz2) = 351846 bytes
+SHA1 (patch-config.h.in) = d1586bb4db52a4498ddad3fc77551a583126fcba
+SHA1 (patch-configure) = 698f6a5611e300dcce385b7d54c34e6fc7178eb5
+SHA1 (patch-src_backend_bsd.c) = 09135fbb638328b77fdf6e1f2a6a5d55ab9a064d
diff -r 45d4894f586b -r 901a04ce850e x11/xf86-input-joystick/patches/patch-config.h.in
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/x11/xf86-input-joystick/patches/patch-config.h.in Wed Dec 27 14:13:55 2017 +0000
@@ -0,0 +1,16 @@
+$NetBSD: patch-config.h.in,v 1.1 2017/12/27 14:13:55 wiz Exp $
+
+Adapt for NetBSD-8.99.9.
+
+--- config.h.in.orig   2017-12-27 12:38:30.274552468 +0100
++++ config.h.in        2017-12-27 12:42:21.573673909 +0100
+@@ -12,6 +12,9 @@
+ /* Define to 1 if you have the <dev/usb/usbhid.h> header file. */
+ #undef HAVE_DEV_USB_USBHID_H
+ 
++/* Define to 1 if you have the <dev/hid/hid.h> header file. */
++#undef HAVE_DEV_HID_HID_H
++
+ /* Define to 1 if you have the <dev/usb/usb.h> header file. */
+ #undef HAVE_DEV_USB_USB_H
+ 
diff -r 45d4894f586b -r 901a04ce850e x11/xf86-input-joystick/patches/patch-configure
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/x11/xf86-input-joystick/patches/patch-configure   Wed Dec 27 14:13:55 2017 +0000
@@ -0,0 +1,25 @@
+$NetBSD: patch-configure,v 1.1 2017/12/27 14:13:55 wiz Exp $
+
+Adapt for NetBSD-8.99.9.
+
+--- configure.orig     2017-12-27 12:38:30.273523326 +0100
++++ configure  2017-12-27 12:48:39.451130924 +0100
+@@ -18680,6 +18680,18 @@
+ 
+ done
+ 
++for ac_header in dev/hid/hid.h
++do :
++  ac_fn_c_check_header_mongrel "$LINENO" "dev/hid/hid.h" "ac_cv_header_dev_hid_hid_h" "$ac_includes_default"
++if test "x$ac_cv_header_dev_hid_hid_h" = xyes; then :
++  cat >>confdefs.h <<_ACEOF
++#define HAVE_DEV_HID_HID_H 1
++_ACEOF
++
++fi
++
++done
++
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hid_get_item in -lusbhid" >&5
+ $as_echo_n "checking for hid_get_item in -lusbhid... " >&6; }
+ if ${ac_cv_lib_usbhid_hid_get_item+:} false; then :
diff -r 45d4894f586b -r 901a04ce850e x11/xf86-input-joystick/patches/patch-src_backend_bsd.c
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/x11/xf86-input-joystick/patches/patch-src_backend_bsd.c   Wed Dec 27 14:13:55 2017 +0000
@@ -0,0 +1,16 @@
+$NetBSD: patch-src_backend_bsd.c,v 1.1 2017/12/27 14:13:55 wiz Exp $
+
+Adapt for NetBSD-8.99.9.
+
+--- src/backend_bsd.c.orig     2017-12-27 12:38:30.270838738 +0100
++++ src/backend_bsd.c  2017-12-27 12:39:31.650117455 +0100
+@@ -44,6 +44,9 @@
+ #include <usbhid.h>
+ #include <dev/usb/usb.h>
+ #include <dev/usb/usbhid.h>
++#ifdef HAVE_DEV_HID_HID_H
++    #include <dev/hid/hid.h>
++#endif
+ #ifdef HAVE_DEV_USB_USB_IOCTL_H
+     #include <dev/usb/usb_ioctl.h>
+ #endif



Home | Main Index | Thread Index | Old Index