From 7a25c7f53a8242fef382b20daf2ce3c0271aac3b Mon Sep 17 00:00:00 2001 From: maxice8 Date: Wed, 23 Jan 2019 01:10:10 -0200 Subject: [PATCH] libetpan: update to 1.9.3. --- srcpkgs/libetpan/patches/fix-musl.patch | 36 +++++++++++++++++++++++++ srcpkgs/libetpan/template | 5 ++-- 2 files changed, 38 insertions(+), 3 deletions(-) create mode 100644 srcpkgs/libetpan/patches/fix-musl.patch diff --git a/srcpkgs/libetpan/patches/fix-musl.patch b/srcpkgs/libetpan/patches/fix-musl.patch new file mode 100644 index 0000000000..f6d18d7718 --- /dev/null +++ b/srcpkgs/libetpan/patches/fix-musl.patch @@ -0,0 +1,36 @@ +From 5cc0caeeb63408fab0005fb6dd77237ca00fb570 Mon Sep 17 00:00:00 2001 +From: maxice8 +Date: Wed, 23 Jan 2019 01:51:29 -0200 +Subject: [PATCH] add missing stddef.h include for 'NULL' + +clientid.c: In function 'mailimap_clientid': +clientid.c:66:38: error: 'NULL' undeclared (first use in this function) + if (mailimap_read_line(session) == NULL) + ^~~~ +clientid.c:66:38: note: 'NULL' is defined in header ''; did you forget to '#include '? +clientid.c:39:1: ++#include + +clientid.c:66:38: + if (mailimap_read_line(session) == NULL) +--- + src/low-level/imap/clientid.c | 2 ++ + 1 file changed, 2 insertions(+) + +diff --git a/src/low-level/imap/clientid.c b/src/low-level/imap/clientid.c +index 1c34637..f28b616 100644 +--- src/low-level/imap/clientid.c ++++ src/low-level/imap/clientid.c +@@ -33,6 +33,8 @@ + # include + #endif + ++#include ++ + #include "mailimap_sender.h" + #include "clientid_sender.h" + #include "clientid.h" +-- +2.20.1 + + diff --git a/srcpkgs/libetpan/template b/srcpkgs/libetpan/template index 790d70b4d5..0628060723 100644 --- a/srcpkgs/libetpan/template +++ b/srcpkgs/libetpan/template @@ -1,6 +1,6 @@ # Template file for 'libetpan' pkgname=libetpan -version=1.9.2 +version=1.9.3 revision=1 build_style=gnu-configure configure_args="--enable-ipv6 --with-curl --with-expat --with-openssl @@ -13,14 +13,13 @@ maintainer="Jakub Skrzypnik " license="BSD-3-Clause" homepage="http://www.etpan.org/libetpan.html" distfiles="https://github.com/dinhviethoa/libetpan/archive/${version}.tar.gz" -checksum=45a3bef81ae1818b8feb67cd1f016e774247d7b03804d162196e5071c82304ab +checksum=591f97d5102f600e668502fe1dd5a341e910a840d8ea62e689a3a79d8bfbac87 pre_configure() { NOCONFIGURE=1 ./autogen.sh } post_install() { - sed -i "s|\(-specs=.*hardened-ld\)||" ${DESTDIR}/usr/bin/libetpan-config vlicense COPYRIGHT }