diff --git a/devel/godot/files/patch-platform__methods.py b/devel/godot/files/patch-platform__methods.py new file mode 100644 index 000000000000..64c80e5cfd71 --- /dev/null +++ b/devel/godot/files/patch-platform__methods.py @@ -0,0 +1,21 @@ +--- platform_methods.py.orig 2023-03-23 23:40:42 UTC ++++ platform_methods.py +@@ -92,6 +92,9 @@ architecture_aliases = { + "rv": "rv64", + "riscv": "rv64", + "riscv64": "rv64", ++ "powerpc64le": "ppc64", ++ "powerpc64": "ppc64", ++ "powerpc": "ppc32", + "ppcle": "ppc32", + "ppc": "ppc32", + "ppc64le": "ppc64", +@@ -99,7 +102,7 @@ def detect_arch(): + + + def detect_arch(): +- host_machine = platform.machine().lower() ++ host_machine = platform.processor().lower() + if host_machine in architectures: + return host_machine + elif host_machine in architecture_aliases.keys():