diff options
Diffstat (limited to 'meta-networking/recipes-support/libtevent')
-rw-r--r-- | meta-networking/recipes-support/libtevent/libtevent/avoid-attr-unless-wanted.patch | 18 |
1 files changed, 10 insertions, 8 deletions
diff --git a/meta-networking/recipes-support/libtevent/libtevent/avoid-attr-unless-wanted.patch b/meta-networking/recipes-support/libtevent/libtevent/avoid-attr-unless-wanted.patch index 2fc55239c..35890335a 100644 --- a/meta-networking/recipes-support/libtevent/libtevent/avoid-attr-unless-wanted.patch +++ b/meta-networking/recipes-support/libtevent/libtevent/avoid-attr-unless-wanted.patch | |||
@@ -1,20 +1,22 @@ | |||
1 | --- a/lib/replace/wscript 2015-11-18 15:40:19.000000000 +0100 | 1 | diff --git a/lib/replace/wscript b/lib/replace/wscript |
2 | +++ b/lib/replace/wscript 2015-11-18 15:48:09.000000000 +0100 | 2 | index 079761d..07e0104 100644 |
3 | @@ -618,8 +618,6 @@ | 3 | --- a/lib/replace/wscript |
4 | +++ b/lib/replace/wscript | ||
5 | @@ -793,8 +793,6 @@ def build(bld): | ||
4 | if not bld.CONFIG_SET('HAVE_INET_ATON'): REPLACE_SOURCE += ' inet_aton.c' | 6 | 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' | 7 | 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' | 8 | 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'): | 9 | - if not bld.CONFIG_SET('HAVE_GETXATTR') or bld.CONFIG_SET('XATTR_ADDITIONAL_OPTIONS'): |
8 | - REPLACE_SOURCE += ' xattr.c' | 10 | - REPLACE_SOURCE += ' xattr.c' |
9 | 11 | ||
10 | bld.SAMBA_LIBRARY('replace', | 12 | if not bld.CONFIG_SET('HAVE_CLOSEFROM'): |
11 | source=REPLACE_SOURCE, | 13 | REPLACE_SOURCE += ' closefrom.c' |
12 | @@ -630,7 +628,7 @@ | 14 | @@ -808,7 +806,7 @@ def build(bld): |
13 | # at the moment: | 15 | # at the moment: |
14 | # hide_symbols=bld.BUILTIN_LIBRARY('replace'), | 16 | # hide_symbols=bld.BUILTIN_LIBRARY('replace'), |
15 | private_library=True, | 17 | private_library=True, |
16 | - deps='crypt dl nsl socket rt attr' + extra_libs) | 18 | - deps='crypt dl nsl socket rt attr' + extra_libs) |
17 | + deps='crypt dl nsl socket rt ' + extra_libs) | 19 | + deps='crypt dl nsl socket rt ' + extra_libs) |
18 | 20 | ||
19 | bld.SAMBA_SUBSYSTEM('replace-test', | 21 | replace_test_cflags="-Wno-format-zero-length" |
20 | source='''test/testsuite.c test/strptime.c | 22 | if bld.CONFIG_SET('HAVE_WNO_FORMAT_TRUNCATION'): |