aboutsummaryrefslogtreecommitdiff
path: root/www-client/icecat/files/0016-bgo-929967-fix-pgo-on-musl.patch
diff options
context:
space:
mode:
Diffstat (limited to 'www-client/icecat/files/0016-bgo-929967-fix-pgo-on-musl.patch')
-rw-r--r--www-client/icecat/files/0016-bgo-929967-fix-pgo-on-musl.patch14
1 files changed, 14 insertions, 0 deletions
diff --git a/www-client/icecat/files/0016-bgo-929967-fix-pgo-on-musl.patch b/www-client/icecat/files/0016-bgo-929967-fix-pgo-on-musl.patch
new file mode 100644
index 0000000..afe5d2a
--- /dev/null
+++ b/www-client/icecat/files/0016-bgo-929967-fix-pgo-on-musl.patch
@@ -0,0 +1,14 @@
+diff --git a/build/pgo/profileserver.py b/build/pgo/profileserver.py
+index 7354714..0385792 100755
+--- a/build/pgo/profileserver.py
++++ b/build/pgo/profileserver.py
+@@ -171,6 +171,9 @@ if __name__ == "__main__":
+ env["UPLOAD_PATH"], "profile-run-1.log"
+ )
+
++ # Workaround for https://bugs.gentoo.org/929967
++ env["LD_LIBRARY_PATH"] = os.path.join(os.getcwd(), "dist", "bin")
++
+ # Run IceCat a first time to initialize its profile
+ runner = IceCatRunner(
+ profile=profile,