Gentoo Archives: gentoo-commits

From: Sam James <sam@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: sys-apps/pmount/, sys-apps/pmount/files/
Date: Sat, 25 Jun 2022 04:15:49
Message-Id: 1656128640.0773dc7048e4ce34e9d61c580a7424348f5124db.sam@gentoo
1 commit: 0773dc7048e4ce34e9d61c580a7424348f5124db
2 Author: Cristian Othón Martínez Vera <cfuga <AT> cfuga <DOT> mx>
3 AuthorDate: Sat Jun 25 03:44:00 2022 +0000
4 Commit: Sam James <sam <AT> gentoo <DOT> org>
5 CommitDate: Sat Jun 25 03:44:00 2022 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0773dc70
7
8 sys-apps/pmount: fix build with musl
9
10 Closes: https://bugs.gentoo.org/713422
11 Signed-off-by: Cristian Othón Martínez Vera <cfuga <AT> cfuga.mx>
12 Signed-off-by: Sam James <sam <AT> gentoo.org>
13
14 sys-apps/pmount/files/pmount-0.9.99_alpha-limits-musl.patch | 12 ++++++++++++
15 sys-apps/pmount/pmount-0.9.99_alpha-r6.ebuild | 4 ++--
16 2 files changed, 14 insertions(+), 2 deletions(-)
17
18 diff --git a/sys-apps/pmount/files/pmount-0.9.99_alpha-limits-musl.patch b/sys-apps/pmount/files/pmount-0.9.99_alpha-limits-musl.patch
19 new file mode 100644
20 index 000000000000..af6a1ebc521d
21 --- /dev/null
22 +++ b/sys-apps/pmount/files/pmount-0.9.99_alpha-limits-musl.patch
23 @@ -0,0 +1,12 @@
24 +https://bugs.gentoo.org/713422
25 +--- a/src/utils.c
26 ++++ b/src/utils.c
27 +@@ -25,6 +25,7 @@
28 + #include <libintl.h>
29 +
30 + #include <unistd.h>
31 ++#include <limits.h>
32 +
33 + #include "utils.h"
34 +
35 +
36
37 diff --git a/sys-apps/pmount/pmount-0.9.99_alpha-r6.ebuild b/sys-apps/pmount/pmount-0.9.99_alpha-r6.ebuild
38 index e6a575c9f139..1d336844462f 100644
39 --- a/sys-apps/pmount/pmount-0.9.99_alpha-r6.ebuild
40 +++ b/sys-apps/pmount/pmount-0.9.99_alpha-r6.ebuild
41 @@ -1,4 +1,4 @@
42 -# Copyright 1999-2021 Gentoo Authors
43 +# Copyright 1999-2022 Gentoo Authors
44 # Distributed under the terms of the GNU General Public License v2
45
46 EAPI=7
47 @@ -26,7 +26,7 @@ PATCHES=(
48 "${FILESDIR}"/${PN}-0.9.19-testsuite-missing-dir.patch
49 "${FILESDIR}"/${P}-locale-regex.patch
50 "${FILESDIR}"/${P}-exfat-support.patch
51 -
52 + "${FILESDIR}"/${P}-limits-musl.patch
53 )
54
55 src_prepare() {