From 5bf04b837f16e49c9f1f653f63ef939f5779520a Mon Sep 17 00:00:00 2001 From: Sergei Reznikov Date: Fri, 10 Dec 2021 11:55:51 +0300 Subject: [PATCH] Ideam: bump version --- ...{ideam-0.7.5.recipe => ideam-0.7.7.recipe} | 4 +++- haiku-apps/ideam/patches/ideam-0.7.7.patchset | 22 +++++++++++++++++++ 2 files changed, 25 insertions(+), 1 deletion(-) rename haiku-apps/ideam/{ideam-0.7.5.recipe => ideam-0.7.7.recipe} (86%) create mode 100644 haiku-apps/ideam/patches/ideam-0.7.7.patchset diff --git a/haiku-apps/ideam/ideam-0.7.5.recipe b/haiku-apps/ideam/ideam-0.7.7.recipe similarity index 86% rename from haiku-apps/ideam/ideam-0.7.5.recipe rename to haiku-apps/ideam/ideam-0.7.7.recipe index 861aecb1f..74a8ac5c4 100644 --- a/haiku-apps/ideam/ideam-0.7.5.recipe +++ b/haiku-apps/ideam/ideam-0.7.7.recipe @@ -6,8 +6,9 @@ COPYRIGHT="2017-2018 A. Mosca" LICENSE="MIT" REVISION="1" SOURCE_URI="https://github.com/AmosCaster/ideam/archive/ver-$portVersion.tar.gz" -CHECKSUM_SHA256="bc6a3bcf6e88383e727972bb6576dca7a269a6a842db6cda493e872977fda18f" +CHECKSUM_SHA256="542e0cffed3c51a14ddd5be526d15eaaf5a498b9d1ac9c3b70b4ea25f1cddbd2" SOURCE_DIR="ideam-ver-$portVersion" +PATCHES="ideam-$portVersion.patchset" ARCHITECTURES="all !x86_gcc2" SECONDARY_ARCHITECTURES="x86" @@ -22,6 +23,7 @@ PROVIDES=" " REQUIRES=" haiku$secondaryArchSuffix + lib:libscintilla$secondaryArchSuffix " BUILD_REQUIRES=" diff --git a/haiku-apps/ideam/patches/ideam-0.7.7.patchset b/haiku-apps/ideam/patches/ideam-0.7.7.patchset new file mode 100644 index 000000000..20376421e --- /dev/null +++ b/haiku-apps/ideam/patches/ideam-0.7.7.patchset @@ -0,0 +1,22 @@ +From bfd466adb358b6f9e666d63d80d9670d5370b447 Mon Sep 17 00:00:00 2001 +From: Sergei Reznikov +Date: Fri, 10 Dec 2021 11:52:11 +0300 +Subject: Fix build with gcc11 + + +diff --git a/src/IdeamApp.cpp b/src/IdeamApp.cpp +index 49efcb2..c84d84a 100644 +--- a/src/IdeamApp.cpp ++++ b/src/IdeamApp.cpp +@@ -217,7 +217,7 @@ main(int argc, char* argv[]) + app->Run(); + + delete app; +- } catch (std::out_of_range) { ++ } catch (std::out_of_range const&) { + std::cerr << "OUT OF RANGE" << std::endl; + + } catch (...) { +-- +2.30.2 +