diff options
author | Yi Zhao <yi.zhao@windriver.com> | 2023-01-01 15:27:37 +0800 |
---|---|---|
committer | Khem Raj <raj.khem@gmail.com> | 2023-01-01 02:23:29 -0800 |
commit | 82b8d99ab705edc67cb288c054abaa18f74b102a (patch) | |
tree | 98384ec7593ea44c46b0649ed99110cc48fffa74 | |
parent | e558529eed212995aa52be7c99a8e27251d4c41e (diff) | |
download | meta-openembedded-82b8d99ab705edc67cb288c054abaa18f74b102a.tar.gz |
libtevent: upgrade 0.10.2 -> 0.13.0
License-Update: Remove trailing whitespace
* Refresh patches
* Add a patch to skip checking PYTHONHASHSEED
* Enable cmocka bundled library to fix build error
Signed-off-by: Yi Zhao <yi.zhao@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
7 files changed, 108 insertions, 60 deletions
diff --git a/meta-networking/recipes-support/libtevent/libtevent/options-0.10.0.patch b/meta-networking/recipes-support/libtevent/libtevent/0001-Add-configure-options-for-packages.patch index 42da2468f2..d98559b4ef 100644 --- a/meta-networking/recipes-support/libtevent/libtevent/options-0.10.0.patch +++ b/meta-networking/recipes-support/libtevent/libtevent/0001-Add-configure-options-for-packages.patch | |||
@@ -1,4 +1,4 @@ | |||
1 | From c012aa03613e6e74a0598185b222c7b531df1e2d Mon Sep 17 00:00:00 2001 | 1 | From d9fd1c52d1646254944bfee37be611e04d4daddb Mon Sep 17 00:00:00 2001 |
2 | From: Wang Mingyu <wangmy@cn.fujitsu.com> | 2 | From: Wang Mingyu <wangmy@cn.fujitsu.com> |
3 | Date: Fri, 25 Dec 2020 15:03:17 +0900 | 3 | Date: Fri, 25 Dec 2020 15:03:17 +0900 |
4 | Subject: [PATCH] Add configure options for packages | 4 | Subject: [PATCH] Add configure options for packages |
@@ -27,7 +27,7 @@ Signed-off-by: Changqing Li <changqing.li@windriver.com> | |||
27 | 2 files changed, 73 insertions(+), 20 deletions(-) | 27 | 2 files changed, 73 insertions(+), 20 deletions(-) |
28 | 28 | ||
29 | diff --git a/lib/replace/wscript b/lib/replace/wscript | 29 | diff --git a/lib/replace/wscript b/lib/replace/wscript |
30 | index a2bc604..e4642e8 100644 | 30 | index 4c774d9..21a746a 100644 |
31 | --- a/lib/replace/wscript | 31 | --- a/lib/replace/wscript |
32 | +++ b/lib/replace/wscript | 32 | +++ b/lib/replace/wscript |
33 | @@ -25,6 +25,41 @@ def options(opt): | 33 | @@ -25,6 +25,41 @@ def options(opt): |
@@ -72,7 +72,7 @@ index a2bc604..e4642e8 100644 | |||
72 | @Utils.run_once | 72 | @Utils.run_once |
73 | def configure(conf): | 73 | def configure(conf): |
74 | conf.RECURSE('buildtools/wafsamba') | 74 | conf.RECURSE('buildtools/wafsamba') |
75 | @@ -34,12 +69,25 @@ def configure(conf): | 75 | @@ -35,12 +70,25 @@ def configure(conf): |
76 | conf.DEFINE('HAVE_LIBREPLACE', 1) | 76 | conf.DEFINE('HAVE_LIBREPLACE', 1) |
77 | conf.DEFINE('LIBREPLACE_NETWORK_CHECKS', 1) | 77 | conf.DEFINE('LIBREPLACE_NETWORK_CHECKS', 1) |
78 | 78 | ||
@@ -86,7 +86,7 @@ index a2bc604..e4642e8 100644 | |||
86 | - conf.CHECK_HEADERS('sys/attributes.h attr/attributes.h sys/capability.h sys/dir.h sys/epoll.h') | 86 | - conf.CHECK_HEADERS('sys/attributes.h attr/attributes.h sys/capability.h sys/dir.h sys/epoll.h') |
87 | + conf.CHECK_HEADERS('shadow.h') | 87 | + conf.CHECK_HEADERS('shadow.h') |
88 | + conf.CHECK_HEADERS('sys/attributes.h sys/dir.h sys/epoll.h') | 88 | + conf.CHECK_HEADERS('sys/attributes.h sys/dir.h sys/epoll.h') |
89 | + | 89 | + |
90 | + if Options.options.enable_acl: | 90 | + if Options.options.enable_acl: |
91 | + conf.CHECK_HEADERS('acl/libacl.h sys/acl.h') | 91 | + conf.CHECK_HEADERS('acl/libacl.h sys/acl.h') |
92 | + | 92 | + |
@@ -102,7 +102,7 @@ index a2bc604..e4642e8 100644 | |||
102 | conf.CHECK_HEADERS('port.h') | 102 | conf.CHECK_HEADERS('port.h') |
103 | conf.CHECK_HEADERS('sys/fcntl.h sys/filio.h sys/filsys.h sys/fs/s5param.h') | 103 | conf.CHECK_HEADERS('sys/fcntl.h sys/filio.h sys/filsys.h sys/fs/s5param.h') |
104 | conf.CHECK_HEADERS('sys/id.h sys/ioctl.h sys/ipc.h sys/mman.h sys/mode.h sys/ndir.h sys/priv.h') | 104 | conf.CHECK_HEADERS('sys/id.h sys/ioctl.h sys/ipc.h sys/mman.h sys/mode.h sys/ndir.h sys/priv.h') |
105 | @@ -121,8 +169,9 @@ def configure(conf): | 105 | @@ -110,8 +158,9 @@ def configure(conf): |
106 | conf.CHECK_HEADERS('sys/fileio.h sys/filesys.h sys/dustat.h sys/sysmacros.h') | 106 | conf.CHECK_HEADERS('sys/fileio.h sys/filesys.h sys/dustat.h sys/sysmacros.h') |
107 | conf.CHECK_HEADERS('xfs/libxfs.h netgroup.h') | 107 | conf.CHECK_HEADERS('xfs/libxfs.h netgroup.h') |
108 | 108 | ||
@@ -114,7 +114,7 @@ index a2bc604..e4642e8 100644 | |||
114 | conf.CHECK_HEADERS('nss_common.h nsswitch.h ns_api.h') | 114 | conf.CHECK_HEADERS('nss_common.h nsswitch.h ns_api.h') |
115 | conf.CHECK_HEADERS('sys/extattr.h sys/ea.h sys/proplist.h sys/cdefs.h') | 115 | conf.CHECK_HEADERS('sys/extattr.h sys/ea.h sys/proplist.h sys/cdefs.h') |
116 | conf.CHECK_HEADERS('utmp.h utmpx.h lastlog.h') | 116 | conf.CHECK_HEADERS('utmp.h utmpx.h lastlog.h') |
117 | @@ -418,20 +467,18 @@ def configure(conf): | 117 | @@ -434,20 +483,18 @@ def configure(conf): |
118 | 118 | ||
119 | strlcpy_in_bsd = False | 119 | strlcpy_in_bsd = False |
120 | 120 | ||
@@ -148,10 +148,10 @@ index a2bc604..e4642e8 100644 | |||
148 | conf.CHECK_CODE(''' | 148 | conf.CHECK_CODE(''' |
149 | struct ucred cred; | 149 | struct ucred cred; |
150 | diff --git a/wscript b/wscript | 150 | diff --git a/wscript b/wscript |
151 | index 93af416..a0898b1 100644 | 151 | index 5c6f02c..75eecd4 100644 |
152 | --- a/wscript | 152 | --- a/wscript |
153 | +++ b/wscript | 153 | +++ b/wscript |
154 | @@ -25,6 +25,12 @@ def options(opt): | 154 | @@ -28,6 +28,12 @@ def options(opt): |
155 | opt.RECURSE('lib/replace') | 155 | opt.RECURSE('lib/replace') |
156 | opt.RECURSE('lib/talloc') | 156 | opt.RECURSE('lib/talloc') |
157 | 157 | ||
diff --git a/meta-networking/recipes-support/libtevent/libtevent/0001-libtevent-fix-musl-libc-compile-error.patch b/meta-networking/recipes-support/libtevent/libtevent/0001-libtevent-fix-musl-libc-compile-error.patch deleted file mode 100644 index e3aeda9c33..0000000000 --- a/meta-networking/recipes-support/libtevent/libtevent/0001-libtevent-fix-musl-libc-compile-error.patch +++ /dev/null | |||
@@ -1,32 +0,0 @@ | |||
1 | From 7ba1de909c587b6773a39ba9f6f9890987f35b24 Mon Sep 17 00:00:00 2001 | ||
2 | From: Changqing Li <changqing.li@windriver.com> | ||
3 | Date: Tue, 24 Jul 2018 11:30:53 +0800 | ||
4 | Subject: [PATCH] libtevent: fix musl libc compile error | ||
5 | |||
6 | libldb depend on libtevent, build libldb with musl libc, | ||
7 | will report error: | ||
8 | tevent.h:1440:8: error: unknown type name 'pid_t'; did you mean 'div_t'? | ||
9 | |||
10 | add missing headers to fix it. | ||
11 | |||
12 | Signed-off-by: Changqing Li <changqing.li@windriver.com> | ||
13 | --- | ||
14 | tevent.h | 2 ++ | ||
15 | 1 file changed, 2 insertions(+) | ||
16 | |||
17 | diff --git a/tevent.h b/tevent.h | ||
18 | index aa6fe0d..2572696 100644 | ||
19 | --- a/tevent.h | ||
20 | +++ b/tevent.h | ||
21 | @@ -32,6 +32,8 @@ | ||
22 | #include <talloc.h> | ||
23 | #include <sys/time.h> | ||
24 | #include <stdbool.h> | ||
25 | +#include <sys/stat.h> | ||
26 | +#include <sys/types.h> | ||
27 | |||
28 | struct tevent_context; | ||
29 | struct tevent_ops; | ||
30 | -- | ||
31 | 2.7.4 | ||
32 | |||
diff --git a/meta-networking/recipes-support/libtevent/libtevent/0001-Fix-pyext_PATTERN-for-cross-compilation.patch b/meta-networking/recipes-support/libtevent/libtevent/0002-Fix-pyext_PATTERN-for-cross-compilation.patch index 81abac83a4..ba3f4ca7a6 100644 --- a/meta-networking/recipes-support/libtevent/libtevent/0001-Fix-pyext_PATTERN-for-cross-compilation.patch +++ b/meta-networking/recipes-support/libtevent/libtevent/0002-Fix-pyext_PATTERN-for-cross-compilation.patch | |||
@@ -1,4 +1,4 @@ | |||
1 | From 96ddbe6653f87670e4a0bbff229276bbe0aa822a Mon Sep 17 00:00:00 2001 | 1 | From da1dc659fd351ff6283f843eeba5e0b3f7b2d584 Mon Sep 17 00:00:00 2001 |
2 | From: Yi Zhao <yi.zhao@windriver.com> | 2 | From: Yi Zhao <yi.zhao@windriver.com> |
3 | Date: Wed, 24 Nov 2021 13:33:35 +0800 | 3 | Date: Wed, 24 Nov 2021 13:33:35 +0800 |
4 | Subject: [PATCH] Fix pyext_PATTERN for cross compilation | 4 | Subject: [PATCH] Fix pyext_PATTERN for cross compilation |
@@ -25,18 +25,18 @@ Signed-off-by: Yi Zhao <yi.zhao@windriver.com> | |||
25 | 1 file changed, 1 insertion(+), 1 deletion(-) | 25 | 1 file changed, 1 insertion(+), 1 deletion(-) |
26 | 26 | ||
27 | diff --git a/third_party/waf/waflib/Tools/python.py b/third_party/waf/waflib/Tools/python.py | 27 | diff --git a/third_party/waf/waflib/Tools/python.py b/third_party/waf/waflib/Tools/python.py |
28 | index 7c45a76..c9a90f7 100644 | 28 | index a23bd01..af202e0 100644 |
29 | --- a/third_party/waf/waflib/Tools/python.py | 29 | --- a/third_party/waf/waflib/Tools/python.py |
30 | +++ b/third_party/waf/waflib/Tools/python.py | 30 | +++ b/third_party/waf/waflib/Tools/python.py |
31 | @@ -328,7 +328,7 @@ def check_python_headers(conf, features='pyembed pyext'): | 31 | @@ -328,7 +328,7 @@ def check_python_headers(conf, features='pyembed pyext'): |
32 | x = 'MACOSX_DEPLOYMENT_TARGET' | 32 | x = 'MACOSX_DEPLOYMENT_TARGET' |
33 | if dct[x]: | 33 | if dct[x]: |
34 | env[x] = conf.environ[x] = dct[x] | 34 | env[x] = conf.environ[x] = str(dct[x]) |
35 | - env.pyext_PATTERN = '%s' + dct['SO'] # not a mistake | 35 | - env.pyext_PATTERN = '%s' + (dct['EXT_SUFFIX'] or dct['SO']) # SO is deprecated in 3.5 and removed in 3.11 |
36 | + env.pyext_PATTERN = '%s.so' | 36 | + env.pyext_PATTERN = '%s.so' |
37 | 37 | ||
38 | 38 | ||
39 | # Try to get pythonX.Y-config | 39 | # Try to get pythonX.Y-config |
40 | -- | 40 | -- |
41 | 2.17.1 | 41 | 2.25.1 |
42 | 42 | ||
diff --git a/meta-networking/recipes-support/libtevent/libtevent/0003-wscript-skip-checking-PYTHONHASHSEED.patch b/meta-networking/recipes-support/libtevent/libtevent/0003-wscript-skip-checking-PYTHONHASHSEED.patch new file mode 100644 index 0000000000..b334d51a39 --- /dev/null +++ b/meta-networking/recipes-support/libtevent/libtevent/0003-wscript-skip-checking-PYTHONHASHSEED.patch | |||
@@ -0,0 +1,30 @@ | |||
1 | From 406bb14337c71403c100ad8692e1fe99308030b7 Mon Sep 17 00:00:00 2001 | ||
2 | From: Yi Zhao <yi.zhao@windriver.com> | ||
3 | Date: Wed, 28 Dec 2022 16:31:05 +0800 | ||
4 | Subject: [PATCH] wscript: skip checking PYTHONHASHSEED | ||
5 | |||
6 | Skip checking PYTHONHASHSEED as it is set to 0 in oe-core by default. | ||
7 | |||
8 | Signed-off-by: Yi Zhao <yi.zhao@windriver.com> | ||
9 | --- | ||
10 | buildtools/wafsamba/wscript | 4 ---- | ||
11 | 1 file changed, 4 deletions(-) | ||
12 | |||
13 | diff --git a/buildtools/wafsamba/wscript b/buildtools/wafsamba/wscript | ||
14 | index 8729b08..a4d6f3e 100644 | ||
15 | --- a/buildtools/wafsamba/wscript | ||
16 | +++ b/buildtools/wafsamba/wscript | ||
17 | @@ -8,10 +8,6 @@ import wafsamba | ||
18 | from samba_utils import symlink | ||
19 | from optparse import SUPPRESS_HELP | ||
20 | |||
21 | -phs = os.environ.get("PYTHONHASHSEED", None) | ||
22 | -if phs != "1": | ||
23 | - raise Errors.WafError('''PYTHONHASHSEED=1 missing! Don't use waf directly, use ./configure and make!''') | ||
24 | - | ||
25 | # this forces configure to be re-run if any of the configure | ||
26 | # sections of the build scripts change. We have to check | ||
27 | # for this in sys.argv as options have not yet been parsed when | ||
28 | -- | ||
29 | 2.25.1 | ||
30 | |||
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 b71192b7d2..1e340f3692 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,17 +1,17 @@ | |||
1 | From 6c4a634cdf70147f773bb1806692c78bbb95c6f2 Mon Sep 17 00:00:00 2001 | 1 | From 82dc31b72e77f263574645092ba1597a8f1152e7 Mon Sep 17 00:00:00 2001 |
2 | From: Wang Mingyu <wangmy@cn.fujitsu.com> | 2 | From: Wang Mingyu <wangmy@cn.fujitsu.com> |
3 | Date: Fri, 25 Dec 2020 15:10:58 +0900 | 3 | Date: Fri, 25 Dec 2020 15:10:58 +0900 |
4 | Subject: [PATCH] test | 4 | Subject: [PATCH] avoid attr unless wanted |
5 | 5 | ||
6 | --- | 6 | --- |
7 | lib/replace/wscript | 4 +--- | 7 | lib/replace/wscript | 4 +--- |
8 | 1 file changed, 1 insertion(+), 3 deletions(-) | 8 | 1 file changed, 1 insertion(+), 3 deletions(-) |
9 | 9 | ||
10 | diff --git a/lib/replace/wscript b/lib/replace/wscript | 10 | diff --git a/lib/replace/wscript b/lib/replace/wscript |
11 | index e4642e8..163e94d 100644 | 11 | index 21a746a..6be3276 100644 |
12 | --- a/lib/replace/wscript | 12 | --- a/lib/replace/wscript |
13 | +++ b/lib/replace/wscript | 13 | +++ b/lib/replace/wscript |
14 | @@ -945,8 +945,6 @@ def build(bld): | 14 | @@ -968,8 +968,6 @@ def build(bld): |
15 | if not bld.CONFIG_SET('HAVE_INET_ATON'): REPLACE_SOURCE += ' inet_aton.c' | 15 | if not bld.CONFIG_SET('HAVE_INET_ATON'): REPLACE_SOURCE += ' inet_aton.c' |
16 | if not bld.CONFIG_SET('HAVE_INET_NTOP'): REPLACE_SOURCE += ' inet_ntop.c' | 16 | if not bld.CONFIG_SET('HAVE_INET_NTOP'): REPLACE_SOURCE += ' inet_ntop.c' |
17 | if not bld.CONFIG_SET('HAVE_INET_PTON'): REPLACE_SOURCE += ' inet_pton.c' | 17 | if not bld.CONFIG_SET('HAVE_INET_PTON'): REPLACE_SOURCE += ' inet_pton.c' |
@@ -20,10 +20,10 @@ index e4642e8..163e94d 100644 | |||
20 | 20 | ||
21 | if not bld.CONFIG_SET('HAVE_CLOSEFROM'): | 21 | if not bld.CONFIG_SET('HAVE_CLOSEFROM'): |
22 | REPLACE_SOURCE += ' closefrom.c' | 22 | REPLACE_SOURCE += ' closefrom.c' |
23 | @@ -960,7 +958,7 @@ def build(bld): | 23 | @@ -984,7 +982,7 @@ def build(bld): |
24 | # at the moment: | ||
25 | # hide_symbols=bld.BUILTIN_LIBRARY('replace'), | 24 | # hide_symbols=bld.BUILTIN_LIBRARY('replace'), |
26 | private_library=True, | 25 | private_library=True, |
26 | provide_builtin_linking=True, | ||
27 | - deps='dl attr' + extra_libs) | 27 | - deps='dl attr' + extra_libs) |
28 | + deps='dl' + extra_libs) | 28 | + deps='dl' + extra_libs) |
29 | 29 | ||
diff --git a/meta-networking/recipes-support/libtevent/libtevent/cmocka-fix-musl-libc-conflicting-types-error.patch b/meta-networking/recipes-support/libtevent/libtevent/cmocka-fix-musl-libc-conflicting-types-error.patch new file mode 100644 index 0000000000..5795ff3bd1 --- /dev/null +++ b/meta-networking/recipes-support/libtevent/libtevent/cmocka-fix-musl-libc-conflicting-types-error.patch | |||
@@ -0,0 +1,45 @@ | |||
1 | From 1d4dedab5039bb671f44566d8573ee3532ba7176 Mon Sep 17 00:00:00 2001 | ||
2 | From: Changqing Li <changqing.li@windriver.com> | ||
3 | Date: Wed, 25 Jul 2018 09:55:25 +0800 | ||
4 | Subject: [PATCH] cmocka: fix musl libc conflicting types error | ||
5 | |||
6 | /third_party/cmocka/cmocka.h:126:28: error: conflicting types for 'uintptr_t' | ||
7 | typedef unsigned int uintptr_t; | ||
8 | ^~~~~~~~~ | ||
9 | use __DEFINED_uintptr_t in alltypes.h to check if uintptr already defined | ||
10 | |||
11 | Upstream-Status: Pending | ||
12 | |||
13 | Signed-off-by: Changqing Li <changqing.li@windriver.com> | ||
14 | --- | ||
15 | third_party/cmocka/cmocka.h | 7 +++---- | ||
16 | 1 file changed, 3 insertions(+), 4 deletions(-) | ||
17 | |||
18 | diff --git a/third_party/cmocka/cmocka.h b/third_party/cmocka/cmocka.h | ||
19 | index e6861c8..238201d 100644 | ||
20 | --- a/third_party/cmocka/cmocka.h | ||
21 | +++ b/third_party/cmocka/cmocka.h | ||
22 | @@ -111,7 +111,7 @@ typedef uintmax_t LargestIntegralType; | ||
23 | ((LargestIntegralType)(value)) | ||
24 | |||
25 | /* Smallest integral type capable of holding a pointer. */ | ||
26 | -#if !defined(_UINTPTR_T) && !defined(_UINTPTR_T_DEFINED) | ||
27 | +#if !defined(__DEFINED_uintptr_t) | ||
28 | # if defined(_WIN32) | ||
29 | /* WIN32 is an ILP32 platform */ | ||
30 | typedef unsigned int uintptr_t; | ||
31 | @@ -135,9 +135,8 @@ typedef uintmax_t LargestIntegralType; | ||
32 | # endif /* __WORDSIZE */ | ||
33 | # endif /* _WIN32 */ | ||
34 | |||
35 | -# define _UINTPTR_T | ||
36 | -# define _UINTPTR_T_DEFINED | ||
37 | -#endif /* !defined(_UINTPTR_T) || !defined(_UINTPTR_T_DEFINED) */ | ||
38 | +# define __DEFINED_uintptr_t | ||
39 | +#endif /* !defined(__DEFINED_uintptr_t) */ | ||
40 | |||
41 | /* Perform an unsigned cast to uintptr_t. */ | ||
42 | #define cast_to_pointer_integral_type(value) \ | ||
43 | -- | ||
44 | 2.25.1 | ||
45 | |||
diff --git a/meta-networking/recipes-support/libtevent/libtevent_0.10.2.bb b/meta-networking/recipes-support/libtevent/libtevent_0.13.0.bb index 732880e96c..bae200b7a0 100644 --- a/meta-networking/recipes-support/libtevent/libtevent_0.10.2.bb +++ b/meta-networking/recipes-support/libtevent/libtevent_0.13.0.bb | |||
@@ -1,5 +1,5 @@ | |||
1 | SUMMARY = "Hierarchical, reference counted memory pool system with destructors" | 1 | SUMMARY = "Hierarchical, reference counted memory pool system with destructors" |
2 | HOMEPAGE = "http://tevent.samba.org" | 2 | HOMEPAGE = "https://tevent.samba.org" |
3 | SECTION = "libs" | 3 | SECTION = "libs" |
4 | LICENSE = "LGPL-3.0-or-later" | 4 | LICENSE = "LGPL-3.0-or-later" |
5 | 5 | ||
@@ -7,14 +7,17 @@ DEPENDS += "libtalloc libtirpc" | |||
7 | RDEPENDS:python3-tevent = "python3" | 7 | RDEPENDS:python3-tevent = "python3" |
8 | 8 | ||
9 | SRC_URI = "https://samba.org/ftp/tevent/tevent-${PV}.tar.gz \ | 9 | SRC_URI = "https://samba.org/ftp/tevent/tevent-${PV}.tar.gz \ |
10 | file://options-0.10.0.patch \ | 10 | file://0001-Add-configure-options-for-packages.patch \ |
11 | file://0001-libtevent-fix-musl-libc-compile-error.patch \ | 11 | file://0002-Fix-pyext_PATTERN-for-cross-compilation.patch \ |
12 | file://0001-Fix-pyext_PATTERN-for-cross-compilation.patch \ | 12 | file://0003-wscript-skip-checking-PYTHONHASHSEED.patch \ |
13 | " | 13 | " |
14 | LIC_FILES_CHKSUM = "file://tevent.h;endline=26;md5=4e458d658cb25e21efc16f720e78b85a" | 14 | |
15 | SRC_URI:append:libc-musl = " file://cmocka-fix-musl-libc-conflicting-types-error.patch" | ||
16 | |||
17 | LIC_FILES_CHKSUM = "file://tevent.h;endline=26;md5=47386b7c539bf2706b7ce52dc9341681" | ||
15 | 18 | ||
16 | SRC_URI[md5sum] = "105c7a4dbb96f1751eb27dfd05e7fa84" | 19 | SRC_URI[md5sum] = "9f413f3184f79a4deecd9444242a5dca" |
17 | SRC_URI[sha256sum] = "f8427822e5b2878fb8b28d6f50d96848734f3f3130612fb574fdd2d2148a6696" | 20 | SRC_URI[sha256sum] = "b9437a917fa55344361beb64ec9e0042e99cae8879882a62dd38f6abe2371d0c" |
18 | 21 | ||
19 | inherit pkgconfig waf-samba | 22 | inherit pkgconfig waf-samba |
20 | 23 | ||
@@ -38,7 +41,8 @@ S = "${WORKDIR}/tevent-${PV}" | |||
38 | export WAF_NO_PREFORK="yes" | 41 | export WAF_NO_PREFORK="yes" |
39 | 42 | ||
40 | EXTRA_OECONF += "--disable-rpath \ | 43 | EXTRA_OECONF += "--disable-rpath \ |
41 | --bundled-libraries=NONE \ | 44 | --disable-rpath-install \ |
45 | --bundled-libraries=cmocka \ | ||
42 | --builtin-libraries=replace \ | 46 | --builtin-libraries=replace \ |
43 | --with-libiconv=${STAGING_DIR_HOST}${prefix}\ | 47 | --with-libiconv=${STAGING_DIR_HOST}${prefix}\ |
44 | --without-gettext \ | 48 | --without-gettext \ |
@@ -48,6 +52,7 @@ PACKAGES += "python3-tevent" | |||
48 | 52 | ||
49 | RPROVIDES:${PN}-dbg += "python3-tevent-dbg" | 53 | RPROVIDES:${PN}-dbg += "python3-tevent-dbg" |
50 | 54 | ||
55 | FILES:${PN} += "${libdir}/tevent/*" | ||
51 | FILES:python3-tevent = "${libdir}/python${PYTHON_BASEVERSION}/site-packages/*" | 56 | FILES:python3-tevent = "${libdir}/python${PYTHON_BASEVERSION}/site-packages/*" |
52 | 57 | ||
53 | INSANE_SKIP:${MLPREFIX}python3-tevent = "dev-so" | 58 | INSANE_SKIP:${MLPREFIX}python3-tevent = "dev-so" |