Gentoo Archives: gentoo-commits

From: Sam James <sam@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: net-mail/vpopmail/, net-mail/vpopmail/files/
Date: Mon, 20 Mar 2023 05:36:13
Message-Id: 1679290318.8b4861aa18c6c0bd2860bbb859ae9238416b243b.sam@gentoo
1 commit: 8b4861aa18c6c0bd2860bbb859ae9238416b243b
2 Author: Rolf Eike Beer <eike <AT> sf-mail <DOT> de>
3 AuthorDate: Sat Dec 24 13:18:19 2022 +0000
4 Commit: Sam James <sam <AT> gentoo <DOT> org>
5 CommitDate: Mon Mar 20 05:31:58 2023 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8b4861aa
7
8 net-mail/vpopmail: add missing headers in configure tests
9
10 Closes: https://bugs.gentoo.org/885873
11 Closes: https://bugs.gentoo.org/900192
12 Signed-off-by: Rolf Eike Beer <eike <AT> sf-mail.de>
13 Closes: https://github.com/gentoo/gentoo/pull/30231
14 Signed-off-by: Sam James <sam <AT> gentoo.org>
15
16 ...33-add-missing-headers-in-configure-tests.patch | 40 ++++++++++++++++++++++
17 net-mail/vpopmail/vpopmail-5.4.33-r9.ebuild | 1 +
18 2 files changed, 41 insertions(+)
19
20 diff --git a/net-mail/vpopmail/files/vpopmail-5.4.33-add-missing-headers-in-configure-tests.patch b/net-mail/vpopmail/files/vpopmail-5.4.33-add-missing-headers-in-configure-tests.patch
21 new file mode 100644
22 index 000000000000..1fa1fbaf3af4
23 --- /dev/null
24 +++ b/net-mail/vpopmail/files/vpopmail-5.4.33-add-missing-headers-in-configure-tests.patch
25 @@ -0,0 +1,40 @@
26 +From 6a2bc617c8ca8368697e971b6456b5b07a1c8b18 Mon Sep 17 00:00:00 2001
27 +From: Rolf Eike Beer <eike@×××××××.de>
28 +Date: Thu, 15 Dec 2022 21:34:18 +0100
29 +Subject: [PATCH 1/5] add missing headers in configure tests
30 +
31 +See: https://bugs.gentoo.org/885873
32 +---
33 + configure | 2 ++
34 + configure.in | 2 ++
35 + 2 files changed, 4 insertions(+)
36 +
37 +diff --git a/configure b/configure
38 +index 43030d8..a4b0d54 100755
39 +--- a/configure
40 ++++ b/configure
41 +@@ -5686,6 +5686,8 @@ else
42 + #include <stdio.h>
43 + #include <pwd.h>
44 + #include <stdlib.h>
45 ++ #include <string.h>
46 ++ #include <unistd.h>
47 +
48 + int main() {
49 + struct passwd *pw;
50 +diff --git a/configure.in b/configure.in
51 +index c4e32d4..f557f26 100644
52 +--- a/configure.in
53 ++++ b/configure.in
54 +@@ -423,6 +423,8 @@ AC_TRY_RUN( [
55 + #include <stdio.h>
56 + #include <pwd.h>
57 + #include <stdlib.h>
58 ++ #include <string.h>
59 ++ #include <unistd.h>
60 +
61 + int main() {
62 + struct passwd *pw;
63 +--
64 +2.35.3
65 +
66
67 diff --git a/net-mail/vpopmail/vpopmail-5.4.33-r9.ebuild b/net-mail/vpopmail/vpopmail-5.4.33-r9.ebuild
68 index d186cf1de43e..ee9f8d6f2750 100644
69 --- a/net-mail/vpopmail/vpopmail-5.4.33-r9.ebuild
70 +++ b/net-mail/vpopmail/vpopmail-5.4.33-r9.ebuild
71 @@ -42,6 +42,7 @@ PATCHES=(
72 "${FILESDIR}"/${PN}-5.4.33-use-proper-printf-format-strings.patch
73 "${FILESDIR}"/${PN}-5.4.33-vpgsql-onchange.patch
74 "${FILESDIR}"/${PN}-5.4.33-avoid-duplicate-definitions-of-MYSQL_READ_-and-MYSQL.patch
75 + "${FILESDIR}"/${PN}-5.4.33-add-missing-headers-in-configure-tests.patch
76 )
77 DOCS=(
78 ChangeLog