summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEray Aslan <eras@gentoo.org>2020-09-12 11:53:26 +0300
committerEray Aslan <eras@gentoo.org>2020-09-12 11:53:26 +0300
commit41483d42a7d49a0f94063af7671c54f15268c9f7 (patch)
tree5a1fb474e337a5fb81931c1a217472da9a35bb0e /net-mail/dovecot/files/dovecot-unwind-generic.patch
parentsci-chemistry/molequeue: Switch to python3 (diff)
downloadgentoo-41483d42a7d49a0f94063af7671c54f15268c9f7.tar.gz
gentoo-41483d42a7d49a0f94063af7671c54f15268c9f7.tar.bz2
gentoo-41483d42a7d49a0f94063af7671c54f15268c9f7.zip
net-mail/dovecot: fix automagic dependencies and libunwind linking
Closes: https://bugs.gentoo.org/737264 Closes: https://bugs.gentoo.org/682706 Closes: https://bugs.gentoo.org/728336 Package-Manager: Portage-3.0.6, Repoman-3.0.1 Signed-off-by: Eray Aslan <eras@gentoo.org>
Diffstat (limited to 'net-mail/dovecot/files/dovecot-unwind-generic.patch')
-rw-r--r--net-mail/dovecot/files/dovecot-unwind-generic.patch15
1 files changed, 15 insertions, 0 deletions
diff --git a/net-mail/dovecot/files/dovecot-unwind-generic.patch b/net-mail/dovecot/files/dovecot-unwind-generic.patch
new file mode 100644
index 000000000000..f7bc8d94ff23
--- /dev/null
+++ b/net-mail/dovecot/files/dovecot-unwind-generic.patch
@@ -0,0 +1,15 @@
+Bug 728336
+--- a/m4/want_unwind.m4
++++ b/m4/want_unwind.m4
+@@ -4,9 +4,9 @@
+ PKG_CHECK_EXISTS([libunwind], [
+ PKG_CHECK_MODULES([LIBUNWIND], [libunwind],[
+ dnl see if there is target-specific library
+- AC_CHECK_LIB([unwind-${build_cpu}], [_U${build_cpu}_init_local],[
++ PKG_CHECK_MODULES([LIBUNWIND_GENERIC], [libunwind-generic],[
+ have_libunwind=yes
+- LIBUNWIND_LIBS="$LIBUNWIND_LIBS -lunwind-${build_cpu}"
++ LIBUNWIND_LIBS="$LIBUNWIND_LIBS $LIBUNWIND_GENERIC_LIBS"
+ AC_DEFINE([HAVE_LIBUNWIND],,[Define this if you have libunwind])
+ ],[
+ have_libunwind=no