Add the required gettext version macro to work with the new autoconf
version.

Signed-off-by: Richard Purdie <[email protected]>
---
 .../msmtp/msmtp/autoconf270.patch               | 17 +++++++++++++++++
 meta/recipes-extended/msmtp/msmtp_1.8.14.bb     |  3 ++-
 2 files changed, 19 insertions(+), 1 deletion(-)
 create mode 100644 meta/recipes-extended/msmtp/msmtp/autoconf270.patch

diff --git a/meta/recipes-extended/msmtp/msmtp/autoconf270.patch 
b/meta/recipes-extended/msmtp/msmtp/autoconf270.patch
new file mode 100644
index 00000000000..6efd3d6d7cc
--- /dev/null
+++ b/meta/recipes-extended/msmtp/msmtp/autoconf270.patch
@@ -0,0 +1,17 @@
+Update to add the required gettext version to work with autoconf 2.70
+
+Upstream-Status: Pending
+RP - 2021/1/28
+
+Index: msmtp-1.8.14/configure.ac
+===================================================================
+--- msmtp-1.8.14.orig/configure.ac
++++ msmtp-1.8.14/configure.ac
+@@ -44,6 +44,7 @@ case "${target}" in *-*-mingw*) LIBS="$L
+ 
+ dnl Gettext
+ AM_GNU_GETTEXT([external])
++AM_GNU_GETTEXT_VERSION([0.21])
+ 
+ dnl Headers, functions, and types
+ AC_CHECK_HEADERS([sysexits.h netdb.h arpa/inet.h sys/select.h sys/socket.h 
sys/wait.h netinet/in.h])
diff --git a/meta/recipes-extended/msmtp/msmtp_1.8.14.bb 
b/meta/recipes-extended/msmtp/msmtp_1.8.14.bb
index 3bd5f9edeb5..c35c8e7ecc9 100644
--- a/meta/recipes-extended/msmtp/msmtp_1.8.14.bb
+++ b/meta/recipes-extended/msmtp/msmtp_1.8.14.bb
@@ -10,7 +10,8 @@ LIC_FILES_CHKSUM = 
"file://COPYING;md5=d32239bcb673463ab874e80d47fae504"
 
 UPSTREAM_CHECK_URI = "https://marlam.de/msmtp/download/";
 
-SRC_URI = "https://marlam.de/${BPN}/releases/${BP}.tar.xz";
+SRC_URI = "https://marlam.de/${BPN}/releases/${BP}.tar.xz \
+           file://autoconf270.patch"
 SRC_URI[sha256sum] = 
"d56f065d711486e9c234618515a02a48a48dab4051b34f3e108fbecb6fb773b4"
 
 inherit gettext autotools update-alternatives pkgconfig
-- 
2.27.0

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#147443): 
https://lists.openembedded.org/g/openembedded-core/message/147443
Mute This Topic: https://lists.openembedded.org/mt/80206632/21656
Group Owner: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub 
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to