Index: head/security/tor/Makefile =================================================================== --- head/security/tor/Makefile +++ head/security/tor/Makefile @@ -3,6 +3,7 @@ PORTNAME= tor PORTVERSION= 0.3.1.9 +PORTREVISION= 1 CATEGORIES= security net ipv6 MASTER_SITES= TOR Index: head/security/tor/files/patch-orconfig.h.in =================================================================== --- head/security/tor/files/patch-orconfig.h.in +++ head/security/tor/files/patch-orconfig.h.in @@ -0,0 +1,12 @@ +--- orconfig.h.in.orig 2017-11-30 20:34:49 UTC ++++ orconfig.h.in +@@ -517,7 +517,9 @@ + #undef HAVE_TIME_H + + /* Define to 1 if you have the `timingsafe_memcmp' function. */ ++#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