summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'dev-games/godot/files/godot-4.0_alpha14-scons.patch')
-rw-r--r--dev-games/godot/files/godot-4.0_alpha14-scons.patch29
1 files changed, 29 insertions, 0 deletions
diff --git a/dev-games/godot/files/godot-4.0_alpha14-scons.patch b/dev-games/godot/files/godot-4.0_alpha14-scons.patch
new file mode 100644
index 000000000000..295f471d525b
--- /dev/null
+++ b/dev-games/godot/files/godot-4.0_alpha14-scons.patch
@@ -0,0 +1,29 @@
+* add option to respect AR
+ (respecting PKG_CONFIG is handled in the ebuild)
+* fix icu unbundling underlinking
+* handle recastnavigation unbundling
+--- a/SConstruct
++++ b/SConstruct
+@@ -233,4 +233,5 @@
+ opts.Add("CXX", "C++ compiler")
+ opts.Add("CC", "C compiler")
++opts.Add("AR", "Archiver")
+ opts.Add("LINK", "Linker")
+ opts.Add("CCFLAGS", "Custom flags for both the C and C++ compilers")
+--- a/platform/linuxbsd/detect.py
++++ b/platform/linuxbsd/detect.py
+@@ -238,5 +238,5 @@
+
+ if not env["builtin_icu"]:
+- env.ParseConfig("pkg-config icu-uc --cflags --libs")
++ env.ParseConfig("pkg-config icu-i18n --cflags --libs")
+
+ if not env["builtin_harfbuzz"]:
+@@ -249,4 +249,7 @@
+ env.ParseConfig("pkg-config libenet --cflags --libs")
+
++ if not env["builtin_recast"]:
++ env.ParseConfig("pkg-config recastnavigation --cflags --libs")
++
+ if not env["builtin_squish"]:
+ env.ParseConfig("pkg-config libsquish --cflags --libs")