godot: fix 32bit
This commit is contained in:
parent
b214b24e91
commit
903a766d6e
|
@ -0,0 +1,11 @@
|
||||||
|
--- drivers/unix/os_unix.cpp.orig 2018-04-30 09:53:04.627075270 +0200
|
||||||
|
+++ drivers/unix/os_unix.cpp 2018-04-30 09:53:16.892670422 +0200
|
||||||
|
@@ -235,7 +235,7 @@ OS::TimeZoneInfo OS_Unix::get_time_zone_
|
||||||
|
|
||||||
|
void OS_Unix::delay_usec(uint32_t p_usec) const {
|
||||||
|
|
||||||
|
- struct timespec rem = { p_usec / 1000000, (p_usec % 1000000) * 1000 };
|
||||||
|
+ struct timespec rem = { (time_t)(p_usec / 1000000), (long)(p_usec % 1000000) * 1000 };
|
||||||
|
while (nanosleep(&rem, &rem) == EINTR) {
|
||||||
|
}
|
||||||
|
}
|
|
@ -1,7 +1,7 @@
|
||||||
# Template file for 'godot'
|
# Template file for 'godot'
|
||||||
pkgname=godot
|
pkgname=godot
|
||||||
version=3.0.2
|
version=3.0.2
|
||||||
revision=1
|
revision=2
|
||||||
wrksrc="${pkgname}-${version}-stable"
|
wrksrc="${pkgname}-${version}-stable"
|
||||||
build_style=scons
|
build_style=scons
|
||||||
hostmakedepends="scons pkg-config clang"
|
hostmakedepends="scons pkg-config clang"
|
||||||
|
|
Loading…
Reference in New Issue