From 6c8b8e7eba2bdeaa61e171e8dd113b16745bfad0 Mon Sep 17 00:00:00 2001 From: taca Date: Fri, 18 Dec 2015 11:19:12 +0000 Subject: Fix build problem on NetBSD 7.0_STABLE. Requires for struct timespec. --- x11/xf86-input-ws/distinfo | 4 +++- x11/xf86-input-ws/patches/patch-src_emumb.c | 15 +++++++++++++++ x11/xf86-input-ws/patches/patch-src_emuwheel.c | 15 +++++++++++++++ 3 files changed, 33 insertions(+), 1 deletion(-) create mode 100644 x11/xf86-input-ws/patches/patch-src_emumb.c create mode 100644 x11/xf86-input-ws/patches/patch-src_emuwheel.c (limited to 'x11') diff --git a/x11/xf86-input-ws/distinfo b/x11/xf86-input-ws/distinfo index 897679f1991..8b2466b41f8 100644 --- a/x11/xf86-input-ws/distinfo +++ b/x11/xf86-input-ws/distinfo @@ -1,7 +1,9 @@ -$NetBSD: distinfo,v 1.2 2015/11/04 03:29:01 agc Exp $ +$NetBSD: distinfo,v 1.3 2015/12/18 11:19:12 taca Exp $ SHA1 (xf86-input-ws-1.3.0.20151010.tar.gz) = c8951b6e2d0dd3f741948bb6e1ae28e0966bec90 RMD160 (xf86-input-ws-1.3.0.20151010.tar.gz) = a3e66b571f791f3d1ddac6d9e477cdc28faa5952 SHA512 (xf86-input-ws-1.3.0.20151010.tar.gz) = de347b98cb508c363ffb422ad1249ad069eae77222da03a875b15b0367ffee580f580a7f671adfb9e621c6b49f2d4772e85887ebbd851c2317630ea3780b497b Size (xf86-input-ws-1.3.0.20151010.tar.gz) = 323648 bytes +SHA1 (patch-src_emumb.c) = 6e24f30272373f07eacfc86288e6513bc04b9abc +SHA1 (patch-src_emuwheel.c) = 71898121faa75af02dc46dd597f87afb00ad2bc5 SHA1 (patch-src_ws.c) = 66cdc536a6a931d117f2e22111b1b95bf1d63b84 diff --git a/x11/xf86-input-ws/patches/patch-src_emumb.c b/x11/xf86-input-ws/patches/patch-src_emumb.c new file mode 100644 index 00000000000..73ae56b9d82 --- /dev/null +++ b/x11/xf86-input-ws/patches/patch-src_emumb.c @@ -0,0 +1,15 @@ +$NetBSD: patch-src_emumb.c,v 1.1 2015/12/18 11:19:12 taca Exp $ + +* Fix build problem NetBSD 7.0_STABLE. + +--- src/emumb.c.orig 2012-07-08 14:22:03.000000000 +0000 ++++ src/emumb.c +@@ -36,6 +36,8 @@ + #include "config.h" + #endif + ++#include ++ + #include + #include + #include diff --git a/x11/xf86-input-ws/patches/patch-src_emuwheel.c b/x11/xf86-input-ws/patches/patch-src_emuwheel.c new file mode 100644 index 00000000000..65a6ea8f38e --- /dev/null +++ b/x11/xf86-input-ws/patches/patch-src_emuwheel.c @@ -0,0 +1,15 @@ +$NetBSD: patch-src_emuwheel.c,v 1.1 2015/12/18 11:19:12 taca Exp $ + +* Fix build problem NetBSD 7.0_STABLE. + +--- src/emuwheel.c.orig 2012-07-08 13:51:11.000000000 +0000 ++++ src/emuwheel.c +@@ -36,6 +36,8 @@ + #include "config.h" + #endif + ++#include ++ + #include + #include + #include -- cgit v1.2.3