libetpan: update to 1.9.3.

This commit is contained in:
maxice8 2019-01-23 01:10:10 -02:00 committed by maxice8
parent 7cab0e31a1
commit 7a25c7f53a
2 changed files with 38 additions and 3 deletions

View file

@ -0,0 +1,36 @@
From 5cc0caeeb63408fab0005fb6dd77237ca00fb570 Mon Sep 17 00:00:00 2001
From: maxice8 <thinkabit.ukim@gmail.com>
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 '<stddef.h>'; did you forget to '#include <stddef.h>'?
clientid.c:39:1:
+#include <stddef.h>
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 <config.h>
#endif
+#include <stddef.h>
+
#include "mailimap_sender.h"
#include "clientid_sender.h"
#include "clientid.h"
--
2.20.1

View file

@ -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 <jot.skrzyp@gmail.com>"
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
}