--- /dev/null
+--- a/lib/tcpwrap.h
++++ b/lib/tcpwrap.h
+@@ -18,7 +18,7 @@
+ #include <mailutils/types.h>
+
+ extern int mu_tcp_wrapper_enable;
+-const char *mu_tcp_wrapper_daemon;
++extern const char *mu_tcp_wrapper_daemon;
+ extern int mu_tcpwrapper_access (int fd);
+ extern void mu_tcpwrapper_cfg_init (void);
+ extern int mu_tcp_wrapper_prefork (int fd,
--- /dev/null
+--- a/imap4d/imap4d.h
++++ b/imap4d/imap4d.h
+@@ -229,8 +229,6 @@ extern struct mu_tls_config global_tls_conf;
+ extern int test_mode;
+ extern int silent_expunge;
+
+-int tls_available;
+-
+ /* Input functions */
+ extern mu_stream_t iostream;
+ extern int io_untagged_response (int, const char *, ...) MU_PRINTFLIKE(2,3);
+--- a/lib/tcpwrap.h
++++ b/lib/tcpwrap.h
+@@ -17,7 +17,7 @@
+ #include <mailutils/types.h>
+
+ extern int mu_tcp_wrapper_enable;
+-const char *mu_tcp_wrapper_daemon;
++extern const char *mu_tcp_wrapper_daemon;
+ extern int mu_tcpwrapper_access (int fd);
+ extern void mu_tcpwrapper_cfg_init (void);
+ extern int mu_tcp_wrapper_prefork (int fd,
src_prepare() {
# Disable bytecompilation of Python modules.
echo "#!/bin/sh" > build-aux/py-compile
- eapply "${FILESDIR}/${P}-MH-testsuite.patch" \
- "${FILESDIR}/${P}-fix-endianness.patch"
+ eapply \
+ "${FILESDIR}"/${P}-MH-testsuite.patch \
+ "${FILESDIR}"/${P}-fix-endianness.patch \
+ "${FILESDIR}"/${PN}-3.4-fno-common.patch
# add missing tests so that make check doesn't fail
cp "${FILESDIR}"/{hdr,nohdr,twomsg,weed}.at "${S}"/readmsg/tests || die
if use mysql; then
servers? ( tcpd ldap )"
DOCS=( ABOUT-NLS AUTHORS COPYING COPYING.LESSER ChangeLog INSTALL NEWS README THANKS TODO )
-PATCHES=( "${FILESDIR}/${PN}-3.5-add-include.patch" \
- "${FILESDIR}/${PN}-3.6-underlinking.patch" )
+PATCHES=(
+ "${FILESDIR}"/${PN}-3.5-add-include.patch
+ "${FILESDIR}"/${PN}-3.6-underlinking.patch
+ "${FILESDIR}"/${PN}-3.8-fno-common.patch
+)
pkg_setup() {
use python && python-single-r1_pkg_setup
DOCS=( ABOUT-NLS AUTHORS COPYING COPYING.LESSER ChangeLog INSTALL NEWS README THANKS TODO )
PATCHES=(
- "${FILESDIR}/${PN}-3.5-add-include.patch" \
- "${FILESDIR}/${PN}-3.6-underlinking.patch" \
- "${FILESDIR}/${PN}-3.8-fix-tests.patch" \
- )
+ "${FILESDIR}"/${PN}-3.5-add-include.patch
+ "${FILESDIR}"/${PN}-3.6-underlinking.patch
+ "${FILESDIR}"/${PN}-3.8-fix-tests.patch
+ "${FILESDIR}"/${PN}-3.8-fno-common.patch
+)
pkg_setup() {
use python && python-single-r1_pkg_setup