diff options
author | nia <nia@pkgsrc.org> | 2019-10-29 22:46:39 +0000 |
---|---|---|
committer | nia <nia@pkgsrc.org> | 2019-10-29 22:46:39 +0000 |
commit | b8b1c20d7d73f86b91f5c7fe3df0b28315553312 (patch) | |
tree | cfd02861756fc3b72d787856fd682dfb554bbd08 /multimedia | |
parent | d54bd309fa015ff40a0351774ac8e0f477456038 (diff) | |
download | pkgsrc-b8b1c20d7d73f86b91f5c7fe3df0b28315553312.tar.gz |
*: fix manual definition of evdev mouse button ids
Diffstat (limited to 'multimedia')
-rw-r--r-- | multimedia/mpv/distinfo | 4 | ||||
-rw-r--r-- | multimedia/mpv/patches/patch-video_out_wayland__common.c | 10 |
2 files changed, 7 insertions, 7 deletions
diff --git a/multimedia/mpv/distinfo b/multimedia/mpv/distinfo index fa3e7b72876..e13055f0582 100644 --- a/multimedia/mpv/distinfo +++ b/multimedia/mpv/distinfo @@ -1,4 +1,4 @@ -$NetBSD: distinfo,v 1.55 2019/10/25 14:35:56 leot Exp $ +$NetBSD: distinfo,v 1.56 2019/10/29 22:46:39 nia Exp $ SHA1 (mpv-0.30.0.tar.gz) = 94da9cc423339a8d4f583542a4e7c5f794b82e7b RMD160 (mpv-0.30.0.tar.gz) = e0272a0ef7dfd58ba6b05a84bd2c0217f36dff3f @@ -8,5 +8,5 @@ SHA1 (patch-audio_out_ao__alsa.c) = c4661d0d22550d6e4eb2b7a42dd04dbcc58123b0 SHA1 (patch-options_options.c) = 125282ede99098224fc9c16952b44c12b8b3e06b SHA1 (patch-player_main.c) = 19b3553477ce7746f516b3db423f253385e918cf SHA1 (patch-video_out_drm__common.c) = a545a8aec29f1b3c44d26aacbc59b86d3333a0b9 -SHA1 (patch-video_out_wayland__common.c) = 2c450f47af5e6390d9ee66275f95ee5d62c67ce4 +SHA1 (patch-video_out_wayland__common.c) = 961bb4b87731a0f58fb274edbf49bc511ad2ce90 SHA1 (patch-wscript) = 2f082a2d3797234bf56859d95c219f5355382224 diff --git a/multimedia/mpv/patches/patch-video_out_wayland__common.c b/multimedia/mpv/patches/patch-video_out_wayland__common.c index 521c7b94f99..7d71730b8b8 100644 --- a/multimedia/mpv/patches/patch-video_out_wayland__common.c +++ b/multimedia/mpv/patches/patch-video_out_wayland__common.c @@ -1,4 +1,4 @@ -$NetBSD: patch-video_out_wayland__common.c,v 1.2 2019/10/25 14:35:56 leot Exp $ +$NetBSD: patch-video_out_wayland__common.c,v 1.3 2019/10/29 22:46:39 nia Exp $ Allow building on systems without evdev. @@ -8,12 +8,12 @@ Allow building on systems without evdev. #include <limits.h> #include <poll.h> #include <unistd.h> -+#if defined(__linux) || defined(__FreeBSD__) ++#if defined(__linux__) || defined(__FreeBSD__) #include <linux/input.h> +#else -+#define BTN_LEFT (0) -+#define BTN_MIDDLE (1) -+#define BTN_RIGHT (2) ++#define BTN_LEFT (0x110) ++#define BTN_RIGHT (0x111) ++#define BTN_MIDDLE (0x112) +#endif #include <time.h> #include "common/msg.h" |