summaryrefslogtreecommitdiff
path: root/x11/xf86-input-ws
diff options
context:
space:
mode:
authortaca <taca>2015-12-18 11:19:12 +0000
committertaca <taca>2015-12-18 11:19:12 +0000
commite28687ed39031407a967aec1c1ca07ce4ca210ed (patch)
tree97808b5134b4cef954436347afd8c5b5bf9d43d2 /x11/xf86-input-ws
parentd375b9457521c86feb7589dbaa693cab638c94a6 (diff)
downloadpkgsrc-e28687ed39031407a967aec1c1ca07ce4ca210ed.tar.gz
Fix build problem on NetBSD 7.0_STABLE.
Requires <sys/time.h> for struct timespec.
Diffstat (limited to 'x11/xf86-input-ws')
-rw-r--r--x11/xf86-input-ws/distinfo4
-rw-r--r--x11/xf86-input-ws/patches/patch-src_emumb.c15
-rw-r--r--x11/xf86-input-ws/patches/patch-src_emuwheel.c15
3 files changed, 33 insertions, 1 deletions
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 <sys/time.h>
++
+ #include <xorg-server.h>
+ #include <X11/Xatom.h>
+ #include <xf86.h>
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 <sys/time.h>
++
+ #include <xorg-server.h>
+ #include <X11/Xatom.h>
+ #include <xf86.h>