print/lilypond: fix build with llvm 22.

This commit is contained in:
kili
2026-06-07 18:04:52 +00:00
parent 96351808fc
commit 6502ff08c9
@@ -0,0 +1,13 @@
Horrible fix for llvm 22.
Index: lily/include/smobs.hh
--- lily/include/smobs.hh.orig
+++ lily/include/smobs.hh
@@ -251,6 +251,7 @@ class Smob_base (private)
// least, but in emergency situations one can always use a "rest"
// argument and take it apart manually.
+public:
template <SCM (Super::*pmf) (void)>
static SCM smob_trampoline (SCM self)
{