Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 9 additions & 1 deletion .travis/deps.sh
Original file line number Diff line number Diff line change
Expand Up @@ -20,9 +20,17 @@ install_arch_linux() {

}

install_redhat() {
sudo dnf group install -y "development-tools"
sudo dnf install -y cmake ninja-build which g++
sudo dnf install -y SDL_ttf-devel
sudo dnf install -y freetype-devel


install_linux() {
sudo apt-get update -yqqm
sudo apt-get install -ym pkg-config
sudo apt-get install -ym g++
sudo apt-get install -ym libpcre3-dev libpng-dev libedit-dev
sudo apt-get install -ym libegl1-mesa-dev libgles2-mesa-dev
sudo apt-get install -ym libsdl2-dev libfreetype6-dev libsdl2-ttf-dev
Expand Down Expand Up @@ -84,7 +92,7 @@ install_clang64() {


case "$1" in
osx|macports|linux|mingw32|mingw64|ucrt64|clang64)
osx|macports|linux|mingw32|mingw64|redhat|ucrt64|clang64)
install_"$1"
;;
arch-linux)
Expand Down
8 changes: 8 additions & 0 deletions README-CMake.md
Original file line number Diff line number Diff line change
Expand Up @@ -91,6 +91,8 @@ Before you begin building the simulators, you need the following:

apt: `sudo apt install cmake cmake-data`

dnf: `sudo dnf install cmake`

pacman: `sudo pacman install cmake`

- macOS: Install `cmake` using your preferred external package management
Expand Down Expand Up @@ -279,6 +281,12 @@ binaries.
$ sudo sh .travis/deps.sh linux
```

- Linux dnf-based distributions (e.g., Fedora, Red Hat):

```bash
$ sudo sh .travis/deps.sh redhat
```

- macOS Homebrew:

```bash
Expand Down
4 changes: 3 additions & 1 deletion slirp_glue/config-host.h
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,9 @@ typedef int SOCKET;
#endif

#ifndef __cplusplus
typedef int bool;
#if !defined(__GNUC__) || (__GNUC__ < 15)
typedef int bool;
#endif
#endif
#ifdef _MSC_VER
#include <win32/stdint.h>
Expand Down
Loading