openbsd-ports/net/libtorrent/patches/patch-src_utils_instrumentation_h
espie 274304eb69 one of the more fun fixes for clang. I don't know where freebsd gets their
tr1, but we don't, so fix it by subsitution. Leaves us with a few nits to
fix. Conditionalize clang patches that interfere with tr1 substitution...
2017-05-19 12:26:43 +00:00

16 lines
434 B
Plaintext

$OpenBSD: patch-src_utils_instrumentation_h,v 1.1 2017/05/19 12:26:43 espie Exp $
tr1/std difference, see header
Index: src/utils/instrumentation.h
--- src/utils/instrumentation.h.orig
+++ src/utils/instrumentation.h
@@ -118,7 +118,7 @@ void instrumentation_reset();
inline void
instrumentation_initialize() {
- instrumentation_values.assign(int64_t());
+ fill_with_value(instrumentation_values, int64_t());
}
inline void