summaryrefslogtreecommitdiff
path: root/net
diff options
context:
space:
mode:
authorjperkin <jperkin>2015-02-02 10:42:17 +0000
committerjperkin <jperkin>2015-02-02 10:42:17 +0000
commit1a1b0c114815106e664ff39c9c681415c021ba04 (patch)
tree1b5980bcc9b4cd85db1833b87346dd2e74d00842 /net
parent749d694df09d9acc5010254809fc44212bc01a33 (diff)
downloadpkgsrc-1a1b0c114815106e664ff39c9c681415c021ba04.tar.gz
SunOS inotify requires sys/filio.h for FIONREAD.
Diffstat (limited to 'net')
-rw-r--r--net/samba/distinfo3
-rw-r--r--net/samba/patches/patch-smbd_notify__inotify.c16
2 files changed, 18 insertions, 1 deletions
diff --git a/net/samba/distinfo b/net/samba/distinfo
index 49f333b5ad8..5c71ffaa491 100644
--- a/net/samba/distinfo
+++ b/net/samba/distinfo
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.100 2014/06/24 14:06:30 taca Exp $
+$NetBSD: distinfo,v 1.101 2015/02/02 10:42:17 jperkin Exp $
SHA1 (samba-3.6.24.tar.gz) = 6d48b55ab1e172b0c75035040f5aea65fbf0561e
RMD160 (samba-3.6.24.tar.gz) = 0a57c49ee4a49408e75af02741f6c530828ea63f
@@ -31,3 +31,4 @@ SHA1 (patch-bd) = b78324305bbf67fa4a7dd627e0af1618d2bf7b47
SHA1 (patch-be) = 2b298e596f2f57a595b83619ba68f6ad95febaaa
SHA1 (patch-bf) = 19932332d11ce447293b061cd47506fef3d01853
SHA1 (patch-eg) = af5ebab1c8e183020bb9a5914d0a218ad91d1a0b
+SHA1 (patch-smbd_notify__inotify.c) = b950f16f4284e1bc4096c10c24a490e5b2b66915
diff --git a/net/samba/patches/patch-smbd_notify__inotify.c b/net/samba/patches/patch-smbd_notify__inotify.c
new file mode 100644
index 00000000000..dfb19d6ade9
--- /dev/null
+++ b/net/samba/patches/patch-smbd_notify__inotify.c
@@ -0,0 +1,16 @@
+$NetBSD: patch-smbd_notify__inotify.c,v 1.1 2015/02/02 10:42:18 jperkin Exp $
+
+SunOS inotify requires sys/filio.h for FIONREAD.
+
+--- smbd/notify_inotify.c.orig 2014-06-23 06:03:27.000000000 +0000
++++ smbd/notify_inotify.c
+@@ -29,6 +29,9 @@
+
+ #if HAVE_SYS_INOTIFY_H
+ #include <sys/inotify.h>
++#ifdef __sun
++#include <sys/filio.h>
++#endif
+ #else
+
+ #ifdef HAVE_ASM_TYPES_H