pkgsrc/print/lilypond/patches/patch-lily_note-head.cc
joerg 45d85a2378 std_vector.hh depends on config.hh, so include the latter whenever the
former is used. to_string is part of C++11 STL, so pick the version from
the global namespace whenever it is unclear which one is desired.
2013-06-16 20:46:52 +00:00

13 lines
593 B
C++

$NetBSD: patch-lily_note-head.cc,v 1.1 2013/06/16 20:46:52 joerg Exp $
--- lily/note-head.cc.orig 2013-06-16 19:28:18.000000000 +0000
+++ lily/note-head.cc
@@ -38,7 +38,7 @@ internal_print (Grob *me, string *font_c
{
string style = robust_symbol2string (me->get_property ("style"), "default");
- string suffix = to_string (min (robust_scm2int (me->get_property ("duration-log"), 2), 2));
+ string suffix = ::to_string (min (robust_scm2int (me->get_property ("duration-log"), 2), 2));
if (style != "default")
suffix = robust_scm2string (me->get_property ("glyph-name"), "");