gentoo/net-im/swift/files/swift-4.0.3-scons-4.9.0.patch
Conrad Kostecki 719db758e9
net-im/swift: add fix for >=scons-4.9.0
Closes: https://bugs.gentoo.org/950584
Signed-off-by: Conrad Kostecki <conikost@gentoo.org>
2025-03-28 21:24:58 +01:00

12 lines
786 B
Diff

--- a/BuildTools/SCons/SConscript.boot
+++ b/BuildTools/SCons/SConscript.boot
@@ -64,7 +64,7 @@
vars.Add(PathVariable("expat_includedir", "Expat headers location", None, PathVariable.PathAccept))
vars.Add(PathVariable("expat_libdir", "Expat library location", None, PathVariable.PathAccept))
vars.Add("expat_libname", "Expat library name", os.name == "nt" and "libexpat" or "expat")
-vars.Add(PackageVariable("icu", "ICU library location", "no"))
+vars.Add(PackageVariable("icu", "ICU library location", "search"))
vars.Add(BoolVariable("libidn_bundled_enable", "Allow use of bundled LibIDN", "true"))
vars.Add(BoolVariable("try_libidn", "Try configuring for LibIDN?", "true"))
vars.Add(PathVariable("libidn_includedir", "LibIDN headers location", None, PathVariable.PathAccept))