diff options
| author | Khem Raj <raj.khem@gmail.com> | 2021-05-29 14:42:24 -0700 |
|---|---|---|
| committer | Khem Raj <raj.khem@gmail.com> | 2021-05-31 15:02:44 -0700 |
| commit | 2b01328f568badd81f1063a2ff854914d3f6450e (patch) | |
| tree | efa6173ac4e5c4d0a00138bdb477e34879944b13 | |
| parent | 5fb448acb9b6c5b9fbfbf1765b32baa35789dfa2 (diff) | |
| download | meta-openembedded-2b01328f568badd81f1063a2ff854914d3f6450e.tar.gz | |
dovecot: Fix build with llvm libunwind
Signed-off-by: Khem Raj <raj.khem@gmail.com>
| -rw-r--r-- | meta-networking/recipes-support/dovecot/dovecot/0001-m4-Check-for-libunwind-instead-of-libunwind-generic.patch | 30 | ||||
| -rw-r--r-- | meta-networking/recipes-support/dovecot/dovecot_2.3.14.bb | 1 |
2 files changed, 31 insertions, 0 deletions
diff --git a/meta-networking/recipes-support/dovecot/dovecot/0001-m4-Check-for-libunwind-instead-of-libunwind-generic.patch b/meta-networking/recipes-support/dovecot/dovecot/0001-m4-Check-for-libunwind-instead-of-libunwind-generic.patch new file mode 100644 index 0000000000..ec7a26a329 --- /dev/null +++ b/meta-networking/recipes-support/dovecot/dovecot/0001-m4-Check-for-libunwind-instead-of-libunwind-generic.patch | |||
| @@ -0,0 +1,30 @@ | |||
| 1 | From 6c0ff65f782ad38130b18e4ecb1538d9a8633684 Mon Sep 17 00:00:00 2001 | ||
| 2 | From: Khem Raj <raj.khem@gmail.com> | ||
| 3 | Date: Sat, 29 May 2021 14:32:17 -0700 | ||
| 4 | Subject: [PATCH] m4: Check for libunwind instead of libunwind-generic | ||
| 5 | |||
| 6 | libunwind-generic is specific to nongnu libunwind, when using llvm | ||
| 7 | libunwind this fails, so poking for libunwind make it generic | ||
| 8 | |||
| 9 | Upstream-Status: Pending | ||
| 10 | Signed-off-by: Khem Raj <raj.khem@gmail.com> | ||
| 11 | --- | ||
| 12 | m4/want_unwind.m4 | 2 +- | ||
| 13 | 1 file changed, 1 insertion(+), 1 deletion(-) | ||
| 14 | |||
| 15 | diff --git a/m4/want_unwind.m4 b/m4/want_unwind.m4 | ||
| 16 | index cadb62b..5517314 100644 | ||
| 17 | --- a/m4/want_unwind.m4 | ||
| 18 | +++ b/m4/want_unwind.m4 | ||
| 19 | @@ -2,7 +2,7 @@ AC_DEFUN([DOVECOT_WANT_UNWIND], [ | ||
| 20 | have_libunwind=no | ||
| 21 | AS_IF([test "$want_libunwind" != "no"], [ | ||
| 22 | PKG_CHECK_EXISTS([libunwind], [ | ||
| 23 | - PKG_CHECK_MODULES([LIBUNWIND], [libunwind-generic],[ | ||
| 24 | + PKG_CHECK_MODULES([LIBUNWIND], [libunwind],[ | ||
| 25 | have_libunwind=yes | ||
| 26 | AC_DEFINE([HAVE_LIBUNWIND],,[Define this if you have libunwind]) | ||
| 27 | ]) | ||
| 28 | -- | ||
| 29 | 2.31.1 | ||
| 30 | |||
diff --git a/meta-networking/recipes-support/dovecot/dovecot_2.3.14.bb b/meta-networking/recipes-support/dovecot/dovecot_2.3.14.bb index c0f2863dbf..19ba2b1fce 100644 --- a/meta-networking/recipes-support/dovecot/dovecot_2.3.14.bb +++ b/meta-networking/recipes-support/dovecot/dovecot_2.3.14.bb | |||
| @@ -10,6 +10,7 @@ SRC_URI = "http://dovecot.org/releases/2.3/dovecot-${PV}.tar.gz \ | |||
| 10 | file://dovecot.service \ | 10 | file://dovecot.service \ |
| 11 | file://dovecot.socket \ | 11 | file://dovecot.socket \ |
| 12 | file://0001-not-check-pandoc.patch \ | 12 | file://0001-not-check-pandoc.patch \ |
| 13 | file://0001-m4-Check-for-libunwind-instead-of-libunwind-generic.patch \ | ||
| 13 | " | 14 | " |
| 14 | 15 | ||
| 15 | SRC_URI[md5sum] = "2f03532cec3280ae45a101a7a55ccef5" | 16 | SRC_URI[md5sum] = "2f03532cec3280ae45a101a7a55ccef5" |
