summaryrefslogtreecommitdiff
path: root/user
diff options
context:
space:
mode:
authorA. Wilcox <AWilcox@Wilcox-Tech.com>2019-04-17 19:18:25 +0000
committerA. Wilcox <AWilcox@Wilcox-Tech.com>2019-04-17 19:18:25 +0000
commitfc4a66d4e89163447c6e2906be3e22cd329a1aa9 (patch)
treecb2dbfdd5bbea5e7d4fbe405b2262bc850812354 /user
parent27c65d1af1c2272e97300d1b05452dba563477e0 (diff)
downloadpackages-fc4a66d4e89163447c6e2906be3e22cd329a1aa9.tar.gz
packages-fc4a66d4e89163447c6e2906be3e22cd329a1aa9.tar.bz2
packages-fc4a66d4e89163447c6e2906be3e22cd329a1aa9.tar.xz
packages-fc4a66d4e89163447c6e2906be3e22cd329a1aa9.zip
user/libetpan: bump to 1.9.3
Diffstat (limited to 'user')
-rw-r--r--user/libetpan/APKBUILD17
-rw-r--r--user/libetpan/missing-header.patch32
2 files changed, 40 insertions, 9 deletions
diff --git a/user/libetpan/APKBUILD b/user/libetpan/APKBUILD
index 386ec21e5..474c2d67c 100644
--- a/user/libetpan/APKBUILD
+++ b/user/libetpan/APKBUILD
@@ -1,21 +1,21 @@
# Contributor: A. Wilcox <awilfox@adelielinux.org>
# Maintainer: A. Wilcox <awilfox@adelielinux.org>
pkgname=libetpan
-pkgver=1.9.2
+pkgver=1.9.3
pkgrel=0
pkgdesc="Mail library for C"
url="https://www.etpan.org/libetpan.html"
arch="all"
license="BSD-3-Clause"
depends=""
-depends_dev=""
-makedepends="$depends_dev autoconf automake libtool
- cyrus-sasl-dev db-dev expat-dev openssl-dev zlib-dev"
+makedepends="autoconf automake cyrus-sasl-dev db-dev expat-dev libtool
+ openssl-dev zlib-dev"
subpackages="$pkgname-dev"
-source="libetpan-$pkgver.tar.gz::https://github.com/dinhviethoa/libetpan/archive/$pkgver.tar.gz"
+source="libetpan-$pkgver.tar.gz::https://github.com/dinhviethoa/libetpan/archive/$pkgver.tar.gz
+ missing-header.patch
+ "
build() {
- cd "$builddir"
./autogen.sh \
--build=$CBUILD \
--host=$CHOST \
@@ -27,13 +27,12 @@ build() {
}
check() {
- cd "$builddir"
make check
}
package() {
- cd "$builddir"
make DESTDIR="$pkgdir" install
}
-sha512sums="3e2e1de77fae2212374e909d15ed8564eee90883c38fee0ca69f58785733b1ac2df848da1bda6f55577d647e0ad27bc3057199e70b6ef01f2a7e2823b24113ba libetpan-1.9.2.tar.gz"
+sha512sums="66e504fbf82445819845a3f1dcb8dc48ad2440993134d43752c754463cee2434a30080718687cd05c579f0da8df6b0f6dfc7572f2882d0dd9dfd327b4ae11fd6 libetpan-1.9.3.tar.gz
+df0ba883c9328b7cab408a54f38e6f9c7f5f603b0f016b7ea2e9fa49aa4118ff6723218bb9942f278028291e1c7e9da0bb1d48ab2c471b0ddf5edc3e78a8a1df missing-header.patch"
diff --git a/user/libetpan/missing-header.patch b/user/libetpan/missing-header.patch
new file mode 100644
index 000000000..603048962
--- /dev/null
+++ b/user/libetpan/missing-header.patch
@@ -0,0 +1,32 @@
+From da9fd7839c9affea48f74a159a789fbb183b4be1 Mon Sep 17 00:00:00 2001
+From: maxice8 <30738253+maxice8@users.noreply.github.com>
+Date: Fri, 1 Feb 2019 01:58:08 -0200
+Subject: [PATCH] add missing stddef.h include for 'NULL' (#322)
+
+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 1c346379..38880dd3 100644
+--- a/src/low-level/imap/clientid.c
++++ b/src/low-level/imap/clientid.c
+@@ -33,6 +33,8 @@
+ # include <config.h>
+ #endif
+
++#include <stdlib.h>
++
+ #include "mailimap_sender.h"
+ #include "clientid_sender.h"
+ #include "clientid.h"