2017-07-07 01:32:23 +02:00
|
|
|
Remove test which does not compile.
|
|
|
|
|
|
|
|
diff -u -r ../talloc-2.1.9/lib/replace/wscript ./lib/replace/wscript
|
|
|
|
--- ../talloc-2.1.9/lib/replace/wscript 2017-02-27 19:23:11.000000000 +0000
|
|
|
|
+++ ./lib/replace/wscript 2017-07-06 23:27:52.934183655 +0000
|
2016-08-15 01:18:26 +02:00
|
|
|
@@ -32,7 +32,7 @@
|
|
|
|
conf.DEFINE('HAVE_LIBREPLACE', 1)
|
|
|
|
conf.DEFINE('LIBREPLACE_NETWORK_CHECKS', 1)
|
|
|
|
|
|
|
|
- conf.CHECK_HEADERS('linux/types.h crypt.h locale.h acl/libacl.h compat.h')
|
|
|
|
+ conf.CHECK_HEADERS('linux/types.h locale.h acl/libacl.h compat.h')
|
|
|
|
conf.CHECK_HEADERS('acl/libacl.h attr/xattr.h compat.h ctype.h dustat.h')
|
|
|
|
conf.CHECK_HEADERS('fcntl.h fnmatch.h glob.h history.h krb5.h langinfo.h')
|
|
|
|
conf.CHECK_HEADERS('libaio.h locale.h ndir.h pwd.h')
|
|
|
|
@@ -465,8 +465,6 @@
|
|
|
|
conf.CONFIG_SET('HAVE_PTHREAD_MUTEX_CONSISTENT_NP'))):
|
|
|
|
conf.DEFINE('HAVE_ROBUST_MUTEXES', 1)
|
|
|
|
|
|
|
|
- conf.CHECK_FUNCS_IN('crypt', 'crypt', checklibc=True)
|
|
|
|
-
|
|
|
|
conf.CHECK_VARIABLE('rl_event_hook', define='HAVE_DECL_RL_EVENT_HOOK', always=True,
|
|
|
|
headers='readline.h readline/readline.h readline/history.h')
|
|
|
|
|
2017-07-07 01:32:23 +02:00
|
|
|
@@ -701,11 +699,11 @@
|
2016-08-15 01:18:26 +02:00
|
|
|
# at the moment:
|
|
|
|
# hide_symbols=bld.BUILTIN_LIBRARY('replace'),
|
|
|
|
private_library=True,
|
|
|
|
- deps='crypt dl nsl socket rt attr' + extra_libs)
|
|
|
|
+ deps='dl nsl socket rt attr' + extra_libs)
|
|
|
|
|
|
|
|
bld.SAMBA_SUBSYSTEM('replace-test',
|
2017-07-07 01:32:23 +02:00
|
|
|
source='''test/testsuite.c test/strptime.c
|
|
|
|
- test/os2_delete.c test/getifaddrs.c''',
|
|
|
|
+ test/getifaddrs.c''',
|
|
|
|
deps='replace',
|
|
|
|
cflags="-Wno-format-length")
|
|
|
|
|