summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Ammerlaan <andrewammerlaan@gentoo.org>2021-05-22 16:54:28 +0200
committerAndrew Ammerlaan <andrewammerlaan@gentoo.org>2021-05-22 16:58:38 +0200
commit150c2f7e01ed3874a1e6cd3f823eb466731629c7 (patch)
treecf952de1a4da11de5c0b4b6fd63d626f7fb9728a /net-vpn/riseup-vpn/files/riseup-vpn-ip-location.patch
parentwww-apache/mod_perl: Fix build with Perl 5.34 (diff)
downloadgentoo-150c2f7e01ed3874a1e6cd3f823eb466731629c7.tar.gz
gentoo-150c2f7e01ed3874a1e6cd3f823eb466731629c7.tar.bz2
gentoo-150c2f7e01ed3874a1e6cd3f823eb466731629c7.zip
net-vpn/riseup-vpn: import from ::guru
Closes: https://bugs.gentoo.org/531564 Package-Manager: Portage-3.0.18, Repoman-3.0.3 Signed-off-by: Andrew Ammerlaan <andrewammerlaan@gentoo.org>
Diffstat (limited to 'net-vpn/riseup-vpn/files/riseup-vpn-ip-location.patch')
-rw-r--r--net-vpn/riseup-vpn/files/riseup-vpn-ip-location.patch13
1 files changed, 13 insertions, 0 deletions
diff --git a/net-vpn/riseup-vpn/files/riseup-vpn-ip-location.patch b/net-vpn/riseup-vpn/files/riseup-vpn-ip-location.patch
new file mode 100644
index 000000000000..99c7d5255962
--- /dev/null
+++ b/net-vpn/riseup-vpn/files/riseup-vpn-ip-location.patch
@@ -0,0 +1,13 @@
+diff --git a/helpers/bitmask-root b/helpers/bitmask-root
+index 13ba407..7c08b21 100644
+--- a/helpers/bitmask-root
++++ b/helpers/bitmask-root
+@@ -106,7 +106,7 @@ def swhich(binary):
+
+ :rtype: str
+ """
+- for folder in ["/sbin", "/usr/sbin", "/usr/local/sbin"]:
++ for folder in ["/bin", "/sbin", "/usr/sbin", "/usr/local/sbin"]:
+ path = os.path.join(folder, binary)
+ if os.path.isfile(path):
+ return path