Skip to content

fix build for haiku

Al Hoang requested to merge hoanga/orbclient:haiku-support into master

hello! the following changesets allow orbclient to build on haiku. sample run shown below:

> cargo build
    Updating crates.io index
  Downloaded libc v0.2.144
  Downloaded 1 crate (682.1 KB) in 1.25s
   Compiling libc v0.2.144
   Compiling orbclient v0.3.45 (/boot/home/src/git/rust-libs/orbclient)
   Compiling sdl2-sys v0.35.2 (https://github.com/Rust-SDL2/rust-sdl2.git#27cd1fd6)
   Compiling sdl2 v0.35.2 (https://github.com/Rust-SDL2/rust-sdl2.git#27cd1fd6)
    Finished dev [unoptimized + debuginfo] target(s) in 14.03s

> cargo test
   Compiling orbclient v0.3.45 (/boot/home/src/git/rust-libs/orbclient)
    Finished test [unoptimized + debuginfo] target(s) in 2.01s
     Running unittests src/lib.rs (target/debug/deps/orbclient-c1ac2a5599be5ccd)

running 2 tests
test color::tests::alignment ... ok
test color::tests::partial_eq ... ok

test result: ok. 2 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s

   Doc-tests orbclient

running 0 tests

test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s

> uname -a
Haiku shredder 1 hrev56976 May  9 2023 06:02:02 x86_64 x86_64 Haiku

Merge request reports