summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'net-vpn')
-rw-r--r--net-vpn/tor/tor-0.4.7.13-r1.ebuild8
-rw-r--r--net-vpn/tor/tor-9999.ebuild8
2 files changed, 16 insertions, 0 deletions
diff --git a/net-vpn/tor/tor-0.4.7.13-r1.ebuild b/net-vpn/tor/tor-0.4.7.13-r1.ebuild
index c0799853f0f6..2efaf6e602af 100644
--- a/net-vpn/tor/tor-0.4.7.13-r1.ebuild
+++ b/net-vpn/tor/tor-0.4.7.13-r1.ebuild
@@ -106,7 +106,15 @@ src_configure() {
--disable-module-dirauth
--enable-pic
--disable-restart-debugging
+
+ # This option is enabled by default upstream w/ zstd, surprisingly.
+ # zstd upstream says this shouldn't be relied upon and it may
+ # break API & ABI at any point, so Tor tries to fake static-linking
+ # to make it work, but then requires a rebuild on any new zstd version
+ # even when its standard ABI hasn't changed.
+ # See bug #727406 and bug #905708.
--disable-zstd-advanced-apis
+
$(use_enable man asciidoc)
$(use_enable man manpage)
$(use_enable lzma)
diff --git a/net-vpn/tor/tor-9999.ebuild b/net-vpn/tor/tor-9999.ebuild
index 9ea49a861452..0e36a664f706 100644
--- a/net-vpn/tor/tor-9999.ebuild
+++ b/net-vpn/tor/tor-9999.ebuild
@@ -119,7 +119,15 @@ src_configure() {
--disable-module-dirauth
--enable-pic
--disable-restart-debugging
+
+ # This option is enabled by default upstream w/ zstd, surprisingly.
+ # zstd upstream says this shouldn't be relied upon and it may
+ # break API & ABI at any point, so Tor tries to fake static-linking
+ # to make it work, but then requires a rebuild on any new zstd version
+ # even when its standard ABI hasn't changed.
+ # See bug #727406 and bug #905708.
--disable-zstd-advanced-apis
+
$(use_enable man asciidoc)
$(use_enable man manpage)
$(use_enable lzma)