diff options
Diffstat (limited to 'sys-apps')
-rw-r--r-- | sys-apps/iucode_tool/files/iucode_tool-2.3.1-limits-include.patch | 10 | ||||
-rw-r--r-- | sys-apps/iucode_tool/iucode_tool-2.3.1-r1.ebuild | 4 |
2 files changed, 14 insertions, 0 deletions
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 +) |