pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc/audio/musescore



Module Name:    pkgsrc
Committed By:   mrg
Date:           Mon Sep 29 20:50:44 UTC 2025

Modified Files:
        pkgsrc/audio/musescore: distinfo
Added Files:
        pkgsrc/audio/musescore/patches: patch-thirdparty_dtl_dtl_Diff.hpp

Log Message:
Fix build with GCC 14.

GCC 14 doesn't like breaking "const", complains with:

   Diff.hpp:166:27: error: assignment of member 'trivial' in read-only object

remove the const to fix the build.


To generate a diff of this commit:
cvs rdiff -u -r1.12 -r1.13 pkgsrc/audio/musescore/distinfo
cvs rdiff -u -r0 -r1.1 \
    pkgsrc/audio/musescore/patches/patch-thirdparty_dtl_dtl_Diff.hpp

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/audio/musescore/distinfo
diff -u pkgsrc/audio/musescore/distinfo:1.12 pkgsrc/audio/musescore/distinfo:1.13
--- pkgsrc/audio/musescore/distinfo:1.12        Tue Oct 26 09:59:17 2021
+++ pkgsrc/audio/musescore/distinfo     Mon Sep 29 20:50:44 2025
@@ -1,7 +1,8 @@
-$NetBSD: distinfo,v 1.12 2021/10/26 09:59:17 nia Exp $
+$NetBSD: distinfo,v 1.13 2025/09/29 20:50:44 mrg Exp $
 
 BLAKE2s (musescore-3.6.2.tar.gz) = ec2f6f20dbf145f0b48fd584633b676497b739d4939a6176b95d1e5a3bebc6ba
 SHA512 (musescore-3.6.2.tar.gz) = 04ff1ddd82358c070640f81bbaa9c47c5da95aa57c56a5d1b975ad984744e0def17d5581da6bbeda1aae1c68470100d104d4f8a39ba33bf37bf8891ffcbf1d6e
 Size (musescore-3.6.2.tar.gz) = 69077899 bytes
 SHA1 (patch-CMakeLists.txt) = 6685df7bb24d994ddc41c677b981f6abc44c8db1
 SHA1 (patch-build_Linux+BSD_portable_portable-utils.in) = e608e0fb055671f863e24906ffffbe75a29948c4
+SHA1 (patch-thirdparty_dtl_dtl_Diff.hpp) = 251e2ee7d905ce1ed2f3ad892296c8aca3c6accc

Added files:

Index: pkgsrc/audio/musescore/patches/patch-thirdparty_dtl_dtl_Diff.hpp
diff -u /dev/null pkgsrc/audio/musescore/patches/patch-thirdparty_dtl_dtl_Diff.hpp:1.1
--- /dev/null   Mon Sep 29 20:50:44 2025
+++ pkgsrc/audio/musescore/patches/patch-thirdparty_dtl_dtl_Diff.hpp    Mon Sep 29 20:50:44 2025
@@ -0,0 +1,17 @@
+$NetBSD: patch-thirdparty_dtl_dtl_Diff.hpp,v 1.1 2025/09/29 20:50:44 mrg Exp $
+
+GCC 14 does not like this const:
+   Diff.hpp:166:27: error: assignment of member 'trivial' in read-only object
+
+
+--- thirdparty/dtl/dtl/Diff.hpp.orig   2021-02-08 04:16:37.000000000 -0800
++++ thirdparty/dtl/dtl/Diff.hpp        2025-09-26 12:20:01.426062508 -0700
+@@ -162,7 +162,7 @@
+             return trivial;
+         }
+         
+-        void enableTrivial () const {
++        void enableTrivial () {
+             this->trivial = true;
+         }
+         



Home | Main Index | Thread Index | Old Index