summaryrefslogtreecommitdiff
path: root/sysutils
diff options
context:
space:
mode:
authorjperkin <jperkin>2015-01-31 22:52:56 +0000
committerjperkin <jperkin>2015-01-31 22:52:56 +0000
commit9cb4271667e0ab6b7469c98506420aa899317f01 (patch)
tree5ec97c9259b1969f77011e596a315e83655e827e /sysutils
parentd75c50f85ed9edbbb9f70ffe7687faf975f429b5 (diff)
downloadpkgsrc-9cb4271667e0ab6b7469c98506420aa899317f01.tar.gz
SunOS inotify requires sys/filio.h for FIONREAD.
Diffstat (limited to 'sysutils')
-rw-r--r--sysutils/gnome-vfs/distinfo3
-rw-r--r--sysutils/gnome-vfs/patches/patch-modules_inotify-kernel.c16
2 files changed, 18 insertions, 1 deletions
diff --git a/sysutils/gnome-vfs/distinfo b/sysutils/gnome-vfs/distinfo
index c276a581aec..0b83e6107e0 100644
--- a/sysutils/gnome-vfs/distinfo
+++ b/sysutils/gnome-vfs/distinfo
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.35 2013/10/12 04:39:01 richard Exp $
+$NetBSD: distinfo,v 1.36 2015/01/31 23:07:48 jperkin Exp $
SHA1 (gnome-vfs-2.24.4.tar.bz2) = 0dc634e7dd979fd218f378902c0ca1af80738961
RMD160 (gnome-vfs-2.24.4.tar.bz2) = 6a5952bea02dfc96782b6f1129fe765f5313a75b
@@ -23,3 +23,4 @@ SHA1 (patch-cb) = 370c75a72d8575051bb5f02d54fdd4a191ac00eb
SHA1 (patch-cc) = 010674b9e7674cc4b84a57ac680a5769c5cffd29
SHA1 (patch-cd) = 64ce812ca541dc34705586b4b01446b29bab8613
SHA1 (patch-ce) = 718d7de318e85e58b7412345496263ca559e9a73
+SHA1 (patch-modules_inotify-kernel.c) = 049236b40569358a91c6a58881c13be63a16aff5
diff --git a/sysutils/gnome-vfs/patches/patch-modules_inotify-kernel.c b/sysutils/gnome-vfs/patches/patch-modules_inotify-kernel.c
new file mode 100644
index 00000000000..d45773839fa
--- /dev/null
+++ b/sysutils/gnome-vfs/patches/patch-modules_inotify-kernel.c
@@ -0,0 +1,16 @@
+$NetBSD: patch-modules_inotify-kernel.c,v 1.1 2015/01/31 23:07:48 jperkin Exp $
+
+SunOS inotify requires sys/filio.h for FIONREAD.
+
+--- modules/inotify-kernel.c.orig 2010-02-09 12:16:14.000000000 +0000
++++ modules/inotify-kernel.c
+@@ -30,6 +30,9 @@
+ #include <glib.h>
+ #include "inotify-kernel.h"
+ #include <sys/inotify.h>
++#ifdef __sun
++#include <sys/filio.h>
++#endif
+
+ /* Timings for pairing MOVED_TO / MOVED_FROM events */
+ #define PROCESS_EVENTS_TIME 1000 /* milliseconds (1 hz) */