freebsd-ports/security/tor/files/patch-orconfig.h.in
Yuri Victorovich f0ad21c6bb security/tor: Update to 0.3.2.9
This release contains many new features and many bugfixes.
Plesee see the complete list here:
https://blog.torproject.org/tor-0329-released-we-have-new-stable-series

Additionally, this update adds "#include <osreldate.h>" to qualm the
compiler warning that was caused by the previous fix.

Now security/tor and security/tor-devel are identical.

Submitted by:	myself
Reported by:	upstream notification
Approved by:	adamw (mentor)
Differential Revision:	https://reviews.freebsd.org/D13820
2018-01-14 19:24:40 +00:00

13 lines
458 B
C

--- orconfig.h.in.orig 2017-11-30 20:34:49 UTC
+++ orconfig.h.in
@@ -517,7 +517,10 @@
#undef HAVE_TIME_H
/* Define to 1 if you have the `timingsafe_memcmp' function. */
+#include <osreldate.h>
+#if __FreeBSD_version >= 1200000 // disabled: timingsafe_memcmp(3) has been added only in 12.0, and isn't yet available on older systems
#undef HAVE_TIMINGSAFE_MEMCMP
+#endif
/* Define to 1 if you have the `TLS_method' function. */
#undef HAVE_TLS_METHOD