summaryrefslogtreecommitdiff
path: root/dev-perl/Time-Monotonic
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2024-05-30 00:07:18 +0100
committerV3n3RiX <venerix@koprulu.sector>2024-05-30 00:07:18 +0100
commit0e2a727aba684f1a44cc0402a3f77d242140681b (patch)
treead462b91afc9d7f8d76e3c51331517fddd6b25c2 /dev-perl/Time-Monotonic
parent5c4786a868bad6e3f46aecf32ad6c6dc5de98408 (diff)
gentoo auto-resync : 30:05:2024 - 00:07:18
Diffstat (limited to 'dev-perl/Time-Monotonic')
-rw-r--r--dev-perl/Time-Monotonic/Manifest3
-rw-r--r--dev-perl/Time-Monotonic/Time-Monotonic-0.9.8-r1.ebuild11
-rw-r--r--dev-perl/Time-Monotonic/files/Time-Monotonic-0.9.8-implicit.patch11
3 files changed, 19 insertions, 6 deletions
diff --git a/dev-perl/Time-Monotonic/Manifest b/dev-perl/Time-Monotonic/Manifest
index ab36a5c3a32c..780be3ad40a6 100644
--- a/dev-perl/Time-Monotonic/Manifest
+++ b/dev-perl/Time-Monotonic/Manifest
@@ -1,3 +1,4 @@
+AUX Time-Monotonic-0.9.8-implicit.patch 491 BLAKE2B 84a9fa747cbfc138387eefffadd1b07e9b811f2c361ac5f75ee9d4e810b2c55c12e0e58746d441b721f636ba57e46e529d7b4782c5e8c46a6485aca33f3e2863 SHA512 2c669347d598406e3883bd4e9735d14c095e61a1d7f3545f1c04b97187faf28b41f124c7b3140d8faacc85004d4c9ff9548bc2f3ba07e33b85ea66783199a27f
DIST Time-Monotonic-v0.9.8.tar.gz 72024 BLAKE2B 292d244053a8b7aabc1cca775f468025f73e406bb93b8d800dd3937c904c97224417767eb9e560b1f49e7ff95e2dbe3c70f0bd3e3918f0aafcfbef2305903ad0 SHA512 5022d141e9ef7c58a5d1142ebdbe04592fd67eaa257e35a23d6e7f83386be100a0393b19863ff57a57a603da3acfb60652bf7fb9ee44fc04f1a97cf9bd6f2540
-EBUILD Time-Monotonic-0.9.8-r1.ebuild 407 BLAKE2B 9bb99ef7e0f44bac76702b702fcf33e50a8513828bc32a1ef0189525804f9e917d59f433f6d0dff7a96e8308c3135fbb8695690bee5ac316b92aa1b00e1ae6b0 SHA512 ca0ea5fa0df9215d8c6d8b4357e6df2736494fc2dbc1b63e934e001a9e50a2801a4eb88f69e5d14592aad4845a80197cff72ac18faba0a5772940b8eba5819ed
+EBUILD Time-Monotonic-0.9.8-r1.ebuild 366 BLAKE2B 32b24e43f2695df082a2a1c3559171ad1f279eae7492764c676ab03439209c524a7d0778666951c7ba1befa6be2235bf77c2cca3e15e93ea78de3d8d38e0d908 SHA512 141b9a6d370f0ce64aed0dfd778cb15c74587faf987f99a5eeb308ea92617bcfa9df744cc6b133708dae6f3758edfa7a583a3cff0c98b6fb79f05329587320a9
MISC metadata.xml 401 BLAKE2B a5c3a807fe5da997ed4c771eb04a885944973f4e020523aaacd4b22de0a88a7cd566c4a542cb07d328cfacab21bedb53515435b1e9a95882011a90d2bb65945e SHA512 072067706b91b9e6d85ea3d7b862225e2d358ba3872106d34bba7938dd911eb4d8188aae3bd61ee0229637ca13567e6fe8305966d9a066e84fac085e361ed7c7
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"