diff options
author | Andreas K. Hüttel <dilfridge@gentoo.org> | 2024-05-29 12:21:36 +0200 |
---|---|---|
committer | Andreas K. Hüttel <dilfridge@gentoo.org> | 2024-05-29 12:22:09 +0200 |
commit | 3685d1fee5f39c9c88afb64976983b39fef1962e (patch) | |
tree | 3f53fe5300c786ddcc2c66bd5b31fdf8755a8e1d /dev-perl/Time-Monotonic | |
parent | dev-java/javatoolkit: enable py3.12 (diff) | |
download | gentoo-3685d1fee5f39c9c88afb64976983b39fef1962e.tar.gz gentoo-3685d1fee5f39c9c88afb64976983b39fef1962e.tar.bz2 gentoo-3685d1fee5f39c9c88afb64976983b39fef1962e.zip |
dev-perl/Time-Monotonic: Fix implicit function definition
Closes: https://bugs.gentoo.org/874402
Signed-off-by: Andreas K. Hüttel <dilfridge@gentoo.org>
Diffstat (limited to 'dev-perl/Time-Monotonic')
-rw-r--r-- | dev-perl/Time-Monotonic/Time-Monotonic-0.9.8-r1.ebuild | 11 | ||||
-rw-r--r-- | dev-perl/Time-Monotonic/files/Time-Monotonic-0.9.8-implicit.patch | 11 |
2 files changed, 17 insertions, 5 deletions
diff --git a/dev-perl/Time-Monotonic/Time-Monotonic-0.9.8-r1.ebuild b/dev-perl/Time-Monotonic/Time-Monotonic-0.9.8-r1.ebuild index e8c2149728a0..2ae3daf9e1b6 100644 --- a/dev-perl/Time-Monotonic/Time-Monotonic-0.9.8-r1.ebuild +++ b/dev-perl/Time-Monotonic/Time-Monotonic-0.9.8-r1.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2021 Gentoo Authors +# Copyright 1999-2024 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 @@ -12,9 +12,10 @@ DESCRIPTION="A clock source that only increments and never jumps" SLOT="0" KEYWORDS="amd64 ~x86" -RDEPEND="" -BDEPEND="${RDEPEND} +BDEPEND=" >=dev-perl/Module-Build-0.360.400 - virtual/perl-ExtUtils-CBuilder - test? ( virtual/perl-Test-Simple ) " + +PATCHES=( + "${FILESDIR}/${P}-implicit.patch" +) diff --git a/dev-perl/Time-Monotonic/files/Time-Monotonic-0.9.8-implicit.patch b/dev-perl/Time-Monotonic/files/Time-Monotonic-0.9.8-implicit.patch new file mode 100644 index 000000000000..7cce9522f1ff --- /dev/null +++ b/dev-perl/Time-Monotonic/files/Time-Monotonic-0.9.8-implicit.patch @@ -0,0 +1,11 @@ +diff -ruN Time-Monotonic-v0.9.8.orig/monotonic_clock/src/monotonic_common.c Time-Monotonic-v0.9.8/monotonic_clock/src/monotonic_common.c +--- Time-Monotonic-v0.9.8.orig/monotonic_clock/src/monotonic_common.c 2015-06-25 10:12:05.000000000 +0200 ++++ Time-Monotonic-v0.9.8/monotonic_clock/src/monotonic_common.c 2024-05-29 12:19:26.581286483 +0200 +@@ -10,6 +10,7 @@ + #include<stdio.h> + #include<string.h> + #include<errno.h> ++#include<time.h> + #include<sys/time.h> + + #include"monotonic_clock.h" |