public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] repo/gentoo:master commit in: dev-perl/Time-Monotonic/files/, dev-perl/Time-Monotonic/
@ 2024-05-29 10:22 Andreas K. Hüttel
  0 siblings, 0 replies; only message in thread
From: Andreas K. Hüttel @ 2024-05-29 10:22 UTC (permalink / raw
  To: gentoo-commits

commit:     3685d1fee5f39c9c88afb64976983b39fef1962e
Author:     Andreas K. Hüttel <dilfridge <AT> gentoo <DOT> org>
AuthorDate: Wed May 29 10:21:36 2024 +0000
Commit:     Andreas K. Hüttel <dilfridge <AT> gentoo <DOT> org>
CommitDate: Wed May 29 10:22:09 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3685d1fe

dev-perl/Time-Monotonic: Fix implicit function definition

Closes: https://bugs.gentoo.org/874402
Signed-off-by: Andreas K. Hüttel <dilfridge <AT> gentoo.org>

 dev-perl/Time-Monotonic/Time-Monotonic-0.9.8-r1.ebuild        | 11 ++++++-----
 .../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"


^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2024-05-29 10:22 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-05-29 10:22 [gentoo-commits] repo/gentoo:master commit in: dev-perl/Time-Monotonic/files/, dev-perl/Time-Monotonic/ Andreas K. Hüttel

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox