From 6d7df70016d51c4813c77095705cf8a0e3e1c09e Mon Sep 17 00:00:00 2001 From: Fabrice Fontaine Date: Fri, 22 May 2020 15:58:07 +0200 Subject: [PATCH] package/dovecot: drop first patch First patch is not needed since version 2.3.0 and https://github.com/dovecot/core/commit/08259c1f206026ca9b9f4b4e97603943c6093def Signed-off-by: Fabrice Fontaine Signed-off-by: Peter Korsgaard --- .../0001-byteorder.h-fix-uclibc-build.patch | 32 ------------------- ...Do-not-build-static-test-iostream-s.patch} | 0 package/dovecot/dovecot.mk | 2 +- 3 files changed, 1 insertion(+), 33 deletions(-) delete mode 100644 package/dovecot/0001-byteorder.h-fix-uclibc-build.patch rename package/dovecot/{0002-lib-ssl-iostream-Do-not-build-static-test-iostream-s.patch => 0001-lib-ssl-iostream-Do-not-build-static-test-iostream-s.patch} (100%) diff --git a/package/dovecot/0001-byteorder.h-fix-uclibc-build.patch b/package/dovecot/0001-byteorder.h-fix-uclibc-build.patch deleted file mode 100644 index b6d3ed3ec0..0000000000 --- a/package/dovecot/0001-byteorder.h-fix-uclibc-build.patch +++ /dev/null @@ -1,32 +0,0 @@ -From 902917880ca29f1007750a70cf46e7246b2d0a2a Mon Sep 17 00:00:00 2001 -From: Josef 'Jeff' Sipek -Date: Tue, 14 Nov 2017 06:01:21 +0100 -Subject: [PATCH] byteorder.h: fix uclibc build - -Patch suggested on upstream mailinglist: -https://www.dovecot.org/pipermail/dovecot/2017-November/110019.html - -Signed-off-by: Bernd Kuhls ---- - src/lib/byteorder.h | 5 +++++ - 1 file changed, 5 insertions(+) - -diff --git a/src/lib/byteorder.h b/src/lib/byteorder.h -index 2f5dc7c17..4ffe8da21 100644 ---- a/src/lib/byteorder.h -+++ b/src/lib/byteorder.h -@@ -23,6 +23,11 @@ - #ifndef BYTEORDER_H - #define BYTEORDER_H - -+#undef bswap_8 -+#undef bswap_16 -+#undef bswap_32 -+#undef bswap_64 -+ - /* - * These prototypes exist to catch bugs in the code generating macros below. - */ --- -2.11.0 - diff --git a/package/dovecot/0002-lib-ssl-iostream-Do-not-build-static-test-iostream-s.patch b/package/dovecot/0001-lib-ssl-iostream-Do-not-build-static-test-iostream-s.patch similarity index 100% rename from package/dovecot/0002-lib-ssl-iostream-Do-not-build-static-test-iostream-s.patch rename to package/dovecot/0001-lib-ssl-iostream-Do-not-build-static-test-iostream-s.patch diff --git a/package/dovecot/dovecot.mk b/package/dovecot/dovecot.mk index 9f89ce6354..86e101d80a 100644 --- a/package/dovecot/dovecot.mk +++ b/package/dovecot/dovecot.mk @@ -14,7 +14,7 @@ DOVECOT_DEPENDENCIES = \ host-pkgconf \ $(if $(BR2_PACKAGE_LIBICONV),libiconv) \ openssl -# 0002-lib-ssl-iostream-Do-not-build-static-test-iostream-s.patch +# 0001-lib-ssl-iostream-Do-not-build-static-test-iostream-s.patch DOVECOT_AUTORECONF = YES # add host-gettext for AM_ICONV macro DOVECOT_DEPENDENCIES += host-gettext -- 2.30.2