diff options
-rw-r--r-- | meta-networking/recipes-support/libtalloc/libtalloc/avoid-attr-unless-wanted.patch | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/meta-networking/recipes-support/libtalloc/libtalloc/avoid-attr-unless-wanted.patch b/meta-networking/recipes-support/libtalloc/libtalloc/avoid-attr-unless-wanted.patch index a3ee9ccd97..db3ddce2c1 100644 --- a/meta-networking/recipes-support/libtalloc/libtalloc/avoid-attr-unless-wanted.patch +++ b/meta-networking/recipes-support/libtalloc/libtalloc/avoid-attr-unless-wanted.patch | |||
@@ -1,20 +1,20 @@ | |||
1 | --- a/lib/replace/wscript 2015-11-13 16:04:04.000000000 +0100 | 1 | --- a/lib/replace/wscript 2015-11-13 16:04:04.000000000 +0100 |
2 | +++ b/lib/replace/wscript 2015-11-13 16:23:20.000000000 +0100 | 2 | +++ b/lib/replace/wscript 2015-11-13 16:23:20.000000000 +0100 |
3 | @@ -636,8 +636,6 @@ | 3 | @@ -837,8 +837,6 @@ def build(bld): |
4 | if not bld.CONFIG_SET('HAVE_INET_ATON'): REPLACE_SOURCE += ' inet_aton.c' | 4 | if not bld.CONFIG_SET('HAVE_INET_ATON'): REPLACE_SOURCE += ' inet_aton.c' |
5 | if not bld.CONFIG_SET('HAVE_INET_NTOP'): REPLACE_SOURCE += ' inet_ntop.c' | 5 | if not bld.CONFIG_SET('HAVE_INET_NTOP'): REPLACE_SOURCE += ' inet_ntop.c' |
6 | if not bld.CONFIG_SET('HAVE_INET_PTON'): REPLACE_SOURCE += ' inet_pton.c' | 6 | if not bld.CONFIG_SET('HAVE_INET_PTON'): REPLACE_SOURCE += ' inet_pton.c' |
7 | - if not bld.CONFIG_SET('HAVE_GETXATTR') or bld.CONFIG_SET('XATTR_ADDITIONAL_OPTIONS'): | 7 | - if not bld.CONFIG_SET('HAVE_GETXATTR') or bld.CONFIG_SET('XATTR_ADDITIONAL_OPTIONS'): |
8 | - REPLACE_SOURCE += ' xattr.c' | 8 | - REPLACE_SOURCE += ' xattr.c' |
9 | 9 | ||
10 | bld.SAMBA_LIBRARY('replace', | 10 | if not bld.CONFIG_SET('HAVE_CLOSEFROM'): |
11 | source=REPLACE_SOURCE, | 11 | REPLACE_SOURCE += ' closefrom.c' |
12 | @@ -648,7 +646,7 @@ | 12 | @@ -852,7 +850,7 @@ def build(bld): |
13 | # at the moment: | 13 | # at the moment: |
14 | # hide_symbols=bld.BUILTIN_LIBRARY('replace'), | 14 | # hide_symbols=bld.BUILTIN_LIBRARY('replace'), |
15 | private_library=True, | 15 | private_library=True, |
16 | - deps='crypt dl nsl socket rt attr' + extra_libs) | 16 | - deps='crypt dl nsl socket rt attr' + extra_libs) |
17 | + deps='crypt dl nsl socket rt ' + extra_libs) | 17 | + deps='crypt dl nsl socket rt ' + extra_libs) |
18 | 18 | ||
19 | bld.SAMBA_SUBSYSTEM('replace-test', | 19 | replace_test_cflags="-Wno-format-zero-length" |
20 | source='''test/testsuite.c test/strptime.c | 20 | if bld.CONFIG_SET('HAVE_WNO_FORMAT_TRUNCATION'): |