pkgsrc-Changes archive

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

CVS commit: pkgsrc/mail/mu



Module Name:    pkgsrc
Committed By:   ktnb
Date:           Tue Oct 20 18:38:35 UTC 2026

Modified Files:
        pkgsrc/mail/mu: distinfo
Added Files:
        pkgsrc/mail/mu/patches: patch-lib_utils_mu-utils.cc

Log Message:
mu: fixed buliding with GCC 12


To generate a diff of this commit:
cvs rdiff -u -r1.23 -r1.24 pkgsrc/mail/mu/distinfo
cvs rdiff -u -r0 -r1.4 pkgsrc/mail/mu/patches/patch-lib_utils_mu-utils.cc

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

Modified files:

Index: pkgsrc/mail/mu/distinfo
diff -u pkgsrc/mail/mu/distinfo:1.23 pkgsrc/mail/mu/distinfo:1.24
--- pkgsrc/mail/mu/distinfo:1.23        Thu Oct 15 13:06:37 2026
+++ pkgsrc/mail/mu/distinfo     Tue Oct 20 18:38:34 2026
@@ -1,7 +1,8 @@
-$NetBSD: distinfo,v 1.23 2026/10/15 13:06:37 ktnb Exp $
+$NetBSD: distinfo,v 1.24 2026/10/20 18:38:34 ktnb Exp $
 
 BLAKE2s (mu-1.14.4.tar.gz) = dd69b82f4d306872d35a692fe098cb1867912e62b85bf80d22efaea083859505
 SHA512 (mu-1.14.4.tar.gz) = 8dfd7c209f48faed189d717a4676e76da28474ac7943bafc9024f165eead268fc492daedffbf4b64938725a5a986398b11b253a08ca322917b31322f3d8a60c3
 Size (mu-1.14.4.tar.gz) = 1090013 bytes
 SHA1 (patch-lib_message_mu-contact.hh) = cc4cc391ab4bbd16f6c38e222057b392d68485e6
+SHA1 (patch-lib_utils_mu-utils.cc) = 0eaaeaae570151b04f74a7fb0525ccff25c5d12a
 SHA1 (patch-mu4e_meson.build) = 7e1c7b93d5bfb1e744f6ea5f12ae5861ae9ec1f9

Added files:

Index: pkgsrc/mail/mu/patches/patch-lib_utils_mu-utils.cc
diff -u /dev/null pkgsrc/mail/mu/patches/patch-lib_utils_mu-utils.cc:1.4
--- /dev/null   Tue Oct 20 18:38:35 2026
+++ pkgsrc/mail/mu/patches/patch-lib_utils_mu-utils.cc  Tue Oct 20 18:38:35 2026
@@ -0,0 +1,15 @@
+$NetBSD: patch-lib_utils_mu-utils.cc,v 1.4 2026/10/20 18:38:35 ktnb Exp $
+
+GCC12 doesn't like constexpr but is okay with inline
+
+--- lib/utils/mu-utils.cc.orig 2026-10-20 18:25:58.322604804 +0000
++++ lib/utils/mu-utils.cc
+@@ -211,7 +211,7 @@ namespace {
+ // Break text into space-separated words, mimicking Xapian's
+ // TermGenerator
+ 
+-constexpr bool is_wordchar(gunichar uc)
++inline bool is_wordchar(gunichar uc)
+ {
+       return g_unichar_isalnum(uc) || g_unichar_ismark(uc) || uc == '_';
+ }



Home | Main Index | Thread Index | Old Index