mirror of
https://github.com/void-linux/void-packages.git
synced 2025-09-04 19:12:57 +02:00
musescore: rebuild for portmidi 2.0.x
This commit is contained in:
parent
0035feff75
commit
275249b62a
2 changed files with 29 additions and 1 deletions
24
srcpkgs/musescore/patches/gcc14.patch
Normal file
24
srcpkgs/musescore/patches/gcc14.patch
Normal file
|
@ -0,0 +1,24 @@
|
||||||
|
From 7496ad1a31f27442e2326f2c2a68c1c8b587db4c Mon Sep 17 00:00:00 2001
|
||||||
|
From: Aleksey <zaychukaleksey@gmail.com>
|
||||||
|
Date: Tue, 23 Jan 2024 16:20:43 +0300
|
||||||
|
Subject: [PATCH] Fix build with GCC 14.
|
||||||
|
|
||||||
|
The method should not be const since it mutates the member field, which is not marked as mutable.
|
||||||
|
---
|
||||||
|
dtl/Diff.hpp | 2 +-
|
||||||
|
1 file changed, 1 insertion(+), 1 deletion(-)
|
||||||
|
|
||||||
|
diff --git a/dtl/Diff.hpp b/dtl/Diff.hpp
|
||||||
|
index 8c9c774..57067f9 100644
|
||||||
|
--- a/thirdparty/dtl/dtl/Diff.hpp
|
||||||
|
+++ b/thirdparty/dtl/dtl/Diff.hpp
|
||||||
|
@@ -164,7 +164,7 @@ namespace dtl {
|
||||||
|
return trivial;
|
||||||
|
}
|
||||||
|
|
||||||
|
- void enableTrivial () const {
|
||||||
|
+ void enableTrivial () {
|
||||||
|
this->trivial = true;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
# Template file for 'musescore'
|
# Template file for 'musescore'
|
||||||
pkgname=musescore
|
pkgname=musescore
|
||||||
version=3.6.2
|
version=3.6.2
|
||||||
revision=2
|
revision=3
|
||||||
build_style=gnu-makefile
|
build_style=gnu-makefile
|
||||||
make_build_args="USE_SYSTEM_FREETYPE=ON BUILD_WEBENGINE=OFF
|
make_build_args="USE_SYSTEM_FREETYPE=ON BUILD_WEBENGINE=OFF
|
||||||
DOWNLOAD_SOUNDFONT=OFF MUSESCORE_BUILD_CONFIG=release"
|
DOWNLOAD_SOUNDFONT=OFF MUSESCORE_BUILD_CONFIG=release"
|
||||||
|
@ -30,3 +30,7 @@ post_extract() {
|
||||||
cp "${XBPS_SRCDISTDIR}/${pkgname}-${version}/MuseScore_General.sf3" "${wrksrc}/share/sound/"
|
cp "${XBPS_SRCDISTDIR}/${pkgname}-${version}/MuseScore_General.sf3" "${wrksrc}/share/sound/"
|
||||||
cp "${XBPS_SRCDISTDIR}/${pkgname}-${version}/MuseScore_General_License.md" "${wrksrc}/share/sound/"
|
cp "${XBPS_SRCDISTDIR}/${pkgname}-${version}/MuseScore_General_License.md" "${wrksrc}/share/sound/"
|
||||||
}
|
}
|
||||||
|
|
||||||
|
post_patch() {
|
||||||
|
vsed -i CMakeLists.txt -e 's/CMAKE_MINIMUM_REQUIRED(VERSION 3.3.0/CMAKE_MINIMUM_REQUIRED(VERSION 3.5.0/g'
|
||||||
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue