summaryrefslogtreecommitdiffstats
path: root/package/samba4/0001-disable-libbsd.patch
diff options
context:
space:
mode:
authorGustavo Zacarias <gustavo@zacarias.com.ar>2017-01-24 07:39:39 -0300
committerPeter Korsgaard <peter@korsgaard.com>2017-01-24 14:02:35 +0100
commit51e771dc4d8d67910e2f142b0005d8518ee0ef50 (patch)
tree81cf4d5f45c718524de9d7dd9dec82fab6cf9f3e /package/samba4/0001-disable-libbsd.patch
parent61df194ad37c44da697f2cdbc452f48bbd5342c9 (diff)
downloadbuildroot-51e771dc4d8d67910e2f142b0005d8518ee0ef50.tar.gz
buildroot-51e771dc4d8d67910e2f142b0005d8518ee0ef50.zip
samba4: bump to version 4.5.4
Drop libbsd support, it's problematic and doesn't bring in any greater benefit. Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
Diffstat (limited to 'package/samba4/0001-disable-libbsd.patch')
-rw-r--r--package/samba4/0001-disable-libbsd.patch26
1 files changed, 0 insertions, 26 deletions
diff --git a/package/samba4/0001-disable-libbsd.patch b/package/samba4/0001-disable-libbsd.patch
deleted file mode 100644
index 67f79d0059..0000000000
--- a/package/samba4/0001-disable-libbsd.patch
+++ /dev/null
@@ -1,26 +0,0 @@
-Disable libbsd support, samba4 uses a global config.h for its own
-codebase and that of heimdal (when building with builtin).
-This causes redefinition conflicts for link(2) when both standard unistd.h
-and bsd/unistd.h get included.
-
-Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
-
-diff -Nura samba-4.2.0rc1.orig/lib/replace/wscript samba-4.2.0rc1/lib/replace/wscript
---- samba-4.2.0rc1.orig/lib/replace/wscript 2014-10-01 06:17:32.000000000 -0300
-+++ samba-4.2.0rc1/lib/replace/wscript 2014-10-01 07:21:13.559498987 -0300
-@@ -282,15 +282,6 @@
- conf.CHECK_FUNCS('strtouq strtoll __strtoll strtoq memalign posix_memalign')
- conf.CHECK_FUNCS('prctl')
-
-- # libbsd on some platforms provides strlcpy and strlcat
-- if not conf.CHECK_FUNCS('strlcpy strlcat'):
-- conf.CHECK_FUNCS_IN('strlcpy strlcat', 'bsd', headers='bsd/string.h',
-- checklibc=True)
-- if not conf.CHECK_FUNCS('getpeereid'):
-- conf.CHECK_FUNCS_IN('getpeereid', 'bsd', headers='sys/types.h bsd/unistd.h')
-- if not conf.CHECK_FUNCS_IN('setproctitle', 'setproctitle', headers='setproctitle.h'):
-- conf.CHECK_FUNCS_IN('setproctitle', 'bsd', headers='sys/types.h bsd/unistd.h')
--
- conf.CHECK_CODE('''
- struct ucred cred;
- socklen_t cred_len;
OpenPOWER on IntegriCloud