Unverified Commit 63340874 authored by Doron Behar's avatar Doron Behar Committed by GitHub
Browse files

musescore: 4.5.2 -> 4.5.2-unstable-2025-07-03 (#422159)

parents 6f4745b6 8b31d5da
Loading
Loading
Loading
Loading
+3 −13
Original line number Diff line number Diff line
@@ -36,25 +36,15 @@

stdenv.mkDerivation (finalAttrs: {
  pname = "musescore";
  version = "4.5.2";
  version = "4.5.2-unstable-2025-07-03";

  src = fetchFromGitHub {
    owner = "musescore";
    repo = "MuseScore";
    rev = "v${finalAttrs.version}";
    sha256 = "sha256-9jafh9zyf+tuC+WU6nQIMBVm+Gqqcig8jS2R1h/YnIo=";
    rev = "0ff2476af4e16286ee9f7cf2322715273a0117e0";
    sha256 = "sha256-0ixQfAyAyRmuIrlPosCV/VucKJYYvxjL2o4pkVb5Sd8=";
  };

  # Backport + additional patch to fix build on Qt 6.9
  # FIXME: remove when no longer required
  patches = [
    (fetchpatch {
      url = "https://github.com/musescore/MuseScore/commit/05056ed19520060c3912a09a3adfa0927057f956.patch";
      hash = "sha256-50Hytuu2lQRbAI2JEwlKeMUmJxTUtfqgwru6U760hAY=";
    })
    ./qt-6.9.patch
  ];

  cmakeFlags = [
    "-DMUSE_APP_BUILD_MODE=release"
    # Disable the build and usage of the `/bin/crashpad_handler` utility - it's
+0 −13
Original line number Diff line number Diff line
diff --git a/src/palette/view/widgets/specialcharactersdialog.cpp b/src/palette/view/widgets/specialcharactersdialog.cpp
index 2fe07bdb8f..dfcae1ded7 100644
--- a/src/palette/view/widgets/specialcharactersdialog.cpp
+++ b/src/palette/view/widgets/specialcharactersdialog.cpp
@@ -712,7 +712,7 @@ void SpecialCharactersDialog::populateUnicode()
         std::shared_ptr<FSymbol> fs = std::make_shared<FSymbol>(gpaletteScore->dummy());
         fs->setCode(code);
         fs->setFont(m_font);
-        m_pUnicode->appendElement(fs, QString("0x%1").arg(code, 5, 16, QLatin1Char('0')));
+        m_pUnicode->appendElement(fs, QString("0x%1").arg((uint32_t)code, 5, 16, QLatin1Char('0')));
     }
 }