pkgsrc-WIP-changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
webkit-gtk60: regen patch
Module Name: pkgsrc-wip
Committed By: Thomas Klausner <wiz%NetBSD.org@localhost>
Pushed By: wiz
Date: Fri Apr 24 17:52:51 2026 +0200
Changeset: a7d49f80bf781f89025b69d741b0741c546b4dd2
Modified Files:
webkit-gtk60/patches/patch-Source_bmalloc_libpas_src_libpas_pas__monotonic__time.c
Log Message:
webkit-gtk60: regen patch
To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=a7d49f80bf781f89025b69d741b0741c546b4dd2
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
diffstat:
...ce_bmalloc_libpas_src_libpas_pas__monotonic__time.c | 18 +++++++++---------
1 file changed, 9 insertions(+), 9 deletions(-)
diffs:
diff --git a/webkit-gtk60/patches/patch-Source_bmalloc_libpas_src_libpas_pas__monotonic__time.c b/webkit-gtk60/patches/patch-Source_bmalloc_libpas_src_libpas_pas__monotonic__time.c
index 013bde37e5..ef36a973fa 100644
--- a/webkit-gtk60/patches/patch-Source_bmalloc_libpas_src_libpas_pas__monotonic__time.c
+++ b/webkit-gtk60/patches/patch-Source_bmalloc_libpas_src_libpas_pas__monotonic__time.c
@@ -11,19 +11,19 @@ $NetBSD$
#include <time.h>
#endif
-@@ -88,6 +88,15 @@ uint64_t pas_get_current_monotonic_time_
- return ts.tv_sec * 1.0e9 + ts.tv_nsec;
- }
-
+@@ -85,6 +85,15 @@ uint64_t pas_get_current_monotonic_time_nanoseconds(vo
+ {
+ struct timespec ts;
+ clock_gettime(CLOCK_MONOTONIC_COARSE, &ts);
++ return ts.tv_sec * 1.0e9 + ts.tv_nsec;
++}
++
+#elif PAS_OS(OPENBSD) || PAS_OS(NETBSD)
+
+uint64_t pas_get_current_monotonic_time_nanoseconds(void)
+{
+ struct timespec ts;
+ clock_gettime(CLOCK_MONOTONIC, &ts);
-+ return ts.tv_sec * 1.0e9 + ts.tv_nsec;
-+}
-+
- #elif PAS_PLATFORM(PLAYSTATION)
+ return ts.tv_sec * 1.0e9 + ts.tv_nsec;
+ }
- uint64_t pas_get_current_monotonic_time_nanoseconds(void)
Home |
Main Index |
Thread Index |
Old Index