The Samba-Bugzilla – Attachment 11955 Details for
Bug 11816
samba 4.4.0 fails to compile on illumos/Solaris due to FIONREAD not being declared
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
2nd version of the patch for source4
source4-v2.patch (text/plain), 962 bytes, created by
Jorge Schrauwen
on 2016-03-31 14:39:20 UTC
(
hide
)
Description:
2nd version of the patch for source4
Filename:
MIME Type:
Creator:
Jorge Schrauwen
Created:
2016-03-31 14:39:20 UTC
Size:
962 bytes
patch
obsolete
>$NetBSD$ > >--- source4/ntvfs/sysdep/wscript_configure.orig 2016-01-26 11:45:46.000000000 +0000 >+++ source4/ntvfs/sysdep/wscript_configure >@@ -1,9 +1,15 @@ > #!/usr/bin/env python > >-conf.CHECK_HEADERS('sys/inotify.h', add_headers=False) >+import sys > >-conf.CHECK_DECLS('F_SETLEASE', headers='linux/fcntl.h', reverse=True) >-conf.CHECK_DECLS('SA_SIGINFO', headers='signal.h', reverse=True) >+# Check for inotify support (Skip if we are SunOS) >+#NOTE: illumos provides sys/inotify.h but is not an exact match for linux >+host_os = sys.platform >+if host_os.rfind('sunos') == -1: >+ conf.CHECK_HEADERS('sys/inotify.h', add_headers=False) > >-if (conf.CONFIG_SET('HAVE_SYS_INOTIFY_H')): >- conf.DEFINE('HAVE_LINUX_INOTIFY', 1) >+ conf.CHECK_DECLS('F_SETLEASE', headers='linux/fcntl.h', reverse=True) >+ conf.CHECK_DECLS('SA_SIGINFO', headers='signal.h', reverse=True) >+ >+ if (conf.CONFIG_SET('HAVE_SYS_INOTIFY_H')): >+ conf.DEFINE('HAVE_LINUX_INOTIFY', 1)
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 11816
:
11950
|
11951
|
11954
| 11955 |
11956
|
11963
|
12027
|
12028
|
12029