public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Anthony G. Basile" <blueness@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: net-libs/libetpan/files/, net-libs/libetpan/
Date: Sat, 11 May 2019 02:21:50 +0000 (UTC)	[thread overview]
Message-ID: <1557541305.cb76da37b02ed5bca29ca8f21be989f1dd5e80b6.blueness@gentoo> (raw)

commit:     cb76da37b02ed5bca29ca8f21be989f1dd5e80b6
Author:     Anthony G. Basile <blueness <AT> gentoo <DOT> org>
AuthorDate: Sat May 11 02:21:18 2019 +0000
Commit:     Anthony G. Basile <blueness <AT> gentoo <DOT> org>
CommitDate: Sat May 11 02:21:45 2019 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=cb76da37

net-libs/libetpan: upstream patch to fix build on musl

Signed-off-by: Anthony G. Basile <blueness <AT> gentoo.org>
Package-Manager: Portage-2.3.62, Repoman-2.3.11

 .../files/libetpan-1.9.3-missing-stddev_h.patch    | 30 ++++++++++++++++++++++
 net-libs/libetpan/libetpan-1.9.3.ebuild            |  1 +
 2 files changed, 31 insertions(+)

diff --git a/net-libs/libetpan/files/libetpan-1.9.3-missing-stddev_h.patch b/net-libs/libetpan/files/libetpan-1.9.3-missing-stddev_h.patch
new file mode 100644
index 00000000000..9d53f90190b
--- /dev/null
+++ b/net-libs/libetpan/files/libetpan-1.9.3-missing-stddev_h.patch
@@ -0,0 +1,30 @@
+commit da9fd7839c9affea48f74a159a789fbb183b4be1
+Author: maxice8 <30738253+maxice8@users.noreply.github.com>
+Date:   Fri Feb 1 01:58:08 2019 -0200
+
+    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)
+
+diff --git a/src/low-level/imap/clientid.c b/src/low-level/imap/clientid.c
+index 1c34637..38880dd 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"

diff --git a/net-libs/libetpan/libetpan-1.9.3.ebuild b/net-libs/libetpan/libetpan-1.9.3.ebuild
index b700e23e776..262ae83217d 100644
--- a/net-libs/libetpan/libetpan-1.9.3.ebuild
+++ b/net-libs/libetpan/libetpan-1.9.3.ebuild
@@ -30,6 +30,7 @@ RDEPEND="${DEPEND}"
 
 PATCHES=(
 	"${FILESDIR}"/${PN}-1.0-nonnull.patch
+	"${FILESDIR}"/${PN}-1.9.3-missing-stddev_h.patch
 )
 
 pkg_pretend() {


             reply	other threads:[~2019-05-11  2:21 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-05-11  2:21 Anthony G. Basile [this message]
  -- strict thread matches above, loose matches on Subject: below --
2024-04-22 15:51 [gentoo-commits] repo/gentoo:master commit in: net-libs/libetpan/files/, net-libs/libetpan/ Bernard Cafarelli
2019-11-05 15:57 Lars Wendler
2016-05-05 16:37 Lars Wendler

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1557541305.cb76da37b02ed5bca29ca8f21be989f1dd5e80b6.blueness@gentoo \
    --to=blueness@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox