freebsd-ports/net/samba41/files/patch-source4__ntvfs__sysdep__wscript_configure
Timur I. Bakeyev c755a680b5 Add new 4.1 branch of the Samba suite.
Sponsored by:	aliens
2014-01-13 23:30:52 +00:00

11 lines
542 B
Text

--- ./source4/ntvfs/sysdep/wscript_configure.orig 2012-10-02 08:24:48.000000000 +0000
+++ ./source4/ntvfs/sysdep/wscript_configure 2013-02-05 04:12:51.909866322 +0000
@@ -5,5 +5,8 @@
conf.CHECK_DECLS('F_SETLEASE', headers='linux/fcntl.h', reverse=True)
conf.CHECK_DECLS('SA_SIGINFO', headers='signal.h', reverse=True)
+conf.SET_TARGET_TYPE('inotify', 'EMPTY')
+conf.CHECK_FUNCS_IN('inotify_init', 'inotify', checklibc=True, headers='sys/inotify.h')
+
if (conf.CONFIG_SET('HAVE_SYS_INOTIFY_H')):
conf.DEFINE('HAVE_LINUX_INOTIFY', 1)