diff --git a/anda/games/prismlauncher-nightly/fix-disable-FLOAT16-in-toml.patch b/anda/games/prismlauncher-nightly/fix-disable-FLOAT16-in-toml.patch deleted file mode 100644 index 610cc1edc0..0000000000 --- a/anda/games/prismlauncher-nightly/fix-disable-FLOAT16-in-toml.patch +++ /dev/null @@ -1,27 +0,0 @@ -From c1763cc4b0871230a86e58aad07aacaf7b19182c Mon Sep 17 00:00:00 2001 -From: Sefa Eyeoglu -Date: Tue, 15 Nov 2022 21:23:20 +0100 -Subject: [PATCH] fix: disable FLOAT16 in toml++ - -Signed-off-by: Sefa Eyeoglu ---- - CMakeLists.txt | 3 +++ - 1 file changed, 3 insertions(+) - -diff --git a/CMakeLists.txt b/CMakeLists.txt -index 0db05f98..8fc0d326 100644 ---- a/CMakeLists.txt -+++ b/CMakeLists.txt -@@ -70,6 +70,9 @@ set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -DQT_NO_DEPRECATED_WARNINGS=Y") - - set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -DQT_DISABLE_DEPRECATED_BEFORE=0x050C00") - -+# Fix aarch64 build for toml++ -+set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -DTOML_ENABLE_FLOAT16=0") -+ - # set CXXFLAGS for build targets - set(CMAKE_CXX_FLAGS_RELEASE "-O2 -D_FORTIFY_SOURCE=2 ${CMAKE_CXX_FLAGS_RELEASE}") - --- -2.38.1 - diff --git a/anda/games/prismlauncher-nightly/prismlauncher-nightly.spec b/anda/games/prismlauncher-nightly/prismlauncher-nightly.spec index a7177f2a8e..c426f42001 100644 --- a/anda/games/prismlauncher-nightly/prismlauncher-nightly.spec +++ b/anda/games/prismlauncher-nightly/prismlauncher-nightly.spec @@ -65,7 +65,6 @@ Source1: https://github.com/PrismLauncher/libnbtplusplus/archive/%{libnbt Source2: https://github.com/stachenov/quazip/archive/%{quazip_commit}/quazip-%{quazip_commit}.tar.gz Source3: https://github.com/marzer/tomlplusplus/archive/%{tomlplusplus_commit}/tomlplusplus-%{tomlplusplus_commit}.tar.gz Source4: https://github.com/gulrak/filesystem/archive/%{filesystem_commit}/filesystem-%{filesystem_commit}.tar.gz -Patch0: fix-disable-FLOAT16-in-toml.patch BuildRequires: cmake >= 3.15 BuildRequires: extra-cmake-modules diff --git a/anda/games/prismlauncher-qt5-nightly/fix-disable-FLOAT16-in-toml.patch b/anda/games/prismlauncher-qt5-nightly/fix-disable-FLOAT16-in-toml.patch deleted file mode 100644 index 610cc1edc0..0000000000 --- a/anda/games/prismlauncher-qt5-nightly/fix-disable-FLOAT16-in-toml.patch +++ /dev/null @@ -1,27 +0,0 @@ -From c1763cc4b0871230a86e58aad07aacaf7b19182c Mon Sep 17 00:00:00 2001 -From: Sefa Eyeoglu -Date: Tue, 15 Nov 2022 21:23:20 +0100 -Subject: [PATCH] fix: disable FLOAT16 in toml++ - -Signed-off-by: Sefa Eyeoglu ---- - CMakeLists.txt | 3 +++ - 1 file changed, 3 insertions(+) - -diff --git a/CMakeLists.txt b/CMakeLists.txt -index 0db05f98..8fc0d326 100644 ---- a/CMakeLists.txt -+++ b/CMakeLists.txt -@@ -70,6 +70,9 @@ set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -DQT_NO_DEPRECATED_WARNINGS=Y") - - set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -DQT_DISABLE_DEPRECATED_BEFORE=0x050C00") - -+# Fix aarch64 build for toml++ -+set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -DTOML_ENABLE_FLOAT16=0") -+ - # set CXXFLAGS for build targets - set(CMAKE_CXX_FLAGS_RELEASE "-O2 -D_FORTIFY_SOURCE=2 ${CMAKE_CXX_FLAGS_RELEASE}") - --- -2.38.1 - diff --git a/anda/games/prismlauncher-qt5-nightly/prismlauncher-qt5-nightly.spec b/anda/games/prismlauncher-qt5-nightly/prismlauncher-qt5-nightly.spec index 5639306860..fa17fad1dc 100644 --- a/anda/games/prismlauncher-qt5-nightly/prismlauncher-qt5-nightly.spec +++ b/anda/games/prismlauncher-qt5-nightly/prismlauncher-qt5-nightly.spec @@ -65,7 +65,6 @@ Source1: https://github.com/PrismLauncher/libnbtplusplus/archive/%{libnbt Source2: https://github.com/stachenov/quazip/archive/%{quazip_commit}/quazip-%{quazip_commit}.tar.gz Source3: https://github.com/marzer/tomlplusplus/archive/%{tomlplusplus_commit}/tomlplusplus-%{tomlplusplus_commit}.tar.gz Source4: https://github.com/gulrak/filesystem/archive/%{filesystem_commit}/filesystem-%{filesystem_commit}.tar.gz -Patch0: fix-disable-FLOAT16-in-toml.patch BuildRequires: cmake >= 3.15 BuildRequires: extra-cmake-modules