pkgsrc-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: pkgsrc/net/grpc/patches
Module Name: pkgsrc
Committed By: adam
Date: Thu Apr 16 09:58:37 UTC 2026
Added Files:
pkgsrc/net/grpc/patches: patch-src_core_util_latent__see.cc
Log Message:
grpc: add new patch
To generate a diff of this commit:
cvs rdiff -u -r0 -r1.1 \
pkgsrc/net/grpc/patches/patch-src_core_util_latent__see.cc
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Added files:
Index: pkgsrc/net/grpc/patches/patch-src_core_util_latent__see.cc
diff -u /dev/null pkgsrc/net/grpc/patches/patch-src_core_util_latent__see.cc:1.1
--- /dev/null Thu Apr 16 09:58:37 2026
+++ pkgsrc/net/grpc/patches/patch-src_core_util_latent__see.cc Thu Apr 16 09:58:37 2026
@@ -0,0 +1,18 @@
+$NetBSD: patch-src_core_util_latent__see.cc,v 1.1 2026/04/16 09:58:37 adam Exp $
+
+Fix build on NetBSD.
+
+--- src/core/util/latent_see.cc.orig 2026-03-24 23:06:54.000000000 +0000
++++ src/core/util/latent_see.cc
+@@ -186,7 +186,11 @@ void Collect(Notification* n, absl::Duration timeout,
+ {earliest_timestamp, event.timestamp_begin, event.timestamp_end});
+ } else {
+ earliest_timestamp =
++#ifdef __NetBSD__
++ std::min(static_cast<int>(earliest_timestamp), abs(event.timestamp_end));
++#else
+ std::min(earliest_timestamp, abs(event.timestamp_end));
++#endif
+ }
+ }
+ }
Home |
Main Index |
Thread Index |
Old Index