* [gentoo-commits] repo/gentoo:master commit in: sys-apps/iucode_tool/, sys-apps/iucode_tool/files/
@ 2022-08-09 20:06 Sam James
0 siblings, 0 replies; only message in thread
From: Sam James @ 2022-08-09 20:06 UTC (permalink / raw
To: gentoo-commits
commit: d24c7eb3dc2c532b84e7330bc7bec1d57b54ba48
Author: Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Tue Aug 9 19:36:05 2022 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Tue Aug 9 20:05:46 2022 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d24c7eb3
sys-apps/iucode_tool: fix build on musl
Signed-off-by: Sam James <sam <AT> gentoo.org>
.../iucode_tool/files/iucode_tool-2.3.1-limits-include.patch | 10 ++++++++++
sys-apps/iucode_tool/iucode_tool-2.3.1-r1.ebuild | 4 ++++
2 files changed, 14 insertions(+)
diff --git a/sys-apps/iucode_tool/files/iucode_tool-2.3.1-limits-include.patch b/sys-apps/iucode_tool/files/iucode_tool-2.3.1-limits-include.patch
new file mode 100644
index 000000000000..965bf740e3c2
--- /dev/null
+++ b/sys-apps/iucode_tool/files/iucode_tool-2.3.1-limits-include.patch
@@ -0,0 +1,10 @@
+Fixes build on musl.
+--- a/iucode_tool.c
++++ b/iucode_tool.c
+@@ -29,6 +29,7 @@
+ #include <assert.h>
+ #include <argp.h>
+ #include <dirent.h>
++#include <limits.h>
+ #include <time.h>
+ #include <cpuid.h>
diff --git a/sys-apps/iucode_tool/iucode_tool-2.3.1-r1.ebuild b/sys-apps/iucode_tool/iucode_tool-2.3.1-r1.ebuild
index 81dced5dc0e4..b6c3cb20991d 100644
--- a/sys-apps/iucode_tool/iucode_tool-2.3.1-r1.ebuild
+++ b/sys-apps/iucode_tool/iucode_tool-2.3.1-r1.ebuild
@@ -15,3 +15,7 @@ RDEPEND="elibc_musl? ( sys-libs/argp-standalone )"
DEPEND="${RDEPEND}"
S="${WORKDIR}/${PN/_/-}-${PV}"
+
+PATCHES=(
+ "${FILESDIR}"/${PN}-2.3.1-limits-include.patch
+)
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2022-08-09 20:06 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-08-09 20:06 [gentoo-commits] repo/gentoo:master commit in: sys-apps/iucode_tool/, sys-apps/iucode_tool/files/ Sam James
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox