pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/games/plib plib: Use <sys/joystick.h> rather than <mac...
details: https://anonhg.NetBSD.org/pkgsrc/rev/40645f956242
branches: trunk
changeset: 447704:40645f956242
user: nia <nia%pkgsrc.org@localhost>
date: Thu Feb 25 08:22:00 2021 +0000
description:
plib: Use <sys/joystick.h> rather than <machine/joystick.h> on NetBSD
NetBSD/aarch64 and others do not have <machine/joystick.h> but do have
<sys/joystick.h>.
diffstat:
games/plib/distinfo | 4 ++--
games/plib/patches/patch-ad | 11 +++++++----
2 files changed, 9 insertions(+), 6 deletions(-)
diffs (42 lines):
diff -r 6262231b1a78 -r 40645f956242 games/plib/distinfo
--- a/games/plib/distinfo Thu Feb 25 08:13:39 2021 +0000
+++ b/games/plib/distinfo Thu Feb 25 08:22:00 2021 +0000
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.16 2019/06/27 14:19:51 hauke Exp $
+$NetBSD: distinfo,v 1.17 2021/02/25 08:22:00 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) = 97626674d127eeb7f7f6f0390a441dbf6419de0b
+SHA1 (patch-ad) = 67b7873b7c326df85c3da9d0d4df4dabe56deefc
SHA1 (patch-ae) = fe166e1b3b5d150d3d83bad49e2576d9ebaa0fb7
SHA1 (patch-af) = ea774a54a3cff4d43abae164bbcae745d4642aea
SHA1 (patch-ag) = d715adee05f8e6973a5883f74573cc39bfd8d72e
diff -r 6262231b1a78 -r 40645f956242 games/plib/patches/patch-ad
--- a/games/plib/patches/patch-ad Thu Feb 25 08:13:39 2021 +0000
+++ b/games/plib/patches/patch-ad Thu Feb 25 08:22:00 2021 +0000
@@ -1,13 +1,16 @@
-$NetBSD: patch-ad,v 1.9 2019/06/27 14:19:51 hauke Exp $
+$NetBSD: patch-ad,v 1.10 2021/02/25 08:22:00 nia Exp $
--- src/js/jsBSD.cxx.orig 2008-03-11 02:06:21.000000000 +0000
+++ src/js/jsBSD.cxx
-@@ -49,16 +49,16 @@
+@@ -47,18 +47,18 @@
+ #include <string.h>
+ #include <errno.h>
#include <sys/ioctl.h>
- #if defined(__FreeBSD__)
+-#if defined(__FreeBSD__)
++#if defined(__FreeBSD__) || defined(__NetBSD__)
# include <sys/joystick.h>
-#else
-+#elif (defined(__OpenBSD__) && defined(__i386__)) || defined(__NetBSD__) || defined(__DragonFly__)
++#elif (defined(__OpenBSD__) && defined(__i386__)) || defined(__DragonFly__)
# include <machine/joystick.h> // For analog joysticks
#endif
#ifdef HAVE_USB_JS
Home |
Main Index |
Thread Index |
Old Index