summaryrefslogtreecommitdiff
path: root/print/lilypond/patches/patch-lily_source-file.cc
blob: 2424d75de4eba608ddf116ebe4424d456dd17f0f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
$NetBSD: patch-lily_source-file.cc,v 1.1 2013/06/16 20:46:52 joerg Exp $

--- lily/source-file.cc.orig	2013-06-16 19:14:53.000000000 +0000
+++ lily/source-file.cc
@@ -18,6 +18,7 @@
   along with LilyPond.  If not, see <http://www.gnu.org/licenses/>.
 */
 
+#include "config.hh"
 #if GCC_MAJOR < 4
 #define _GLIBCXX_HAVE_MBSTATE_T
 #include <wchar.h>
@@ -181,8 +182,8 @@ Source_file::file_line_column_string (ch
       int l, ch, col, offset;
       get_counts (context_str0, &l, &ch, &col, &offset);
 
-      return name_string () + ":" + to_string (l)
-             + ":" + to_string (col);
+      return name_string () + ":" + ::to_string (l)
+             + ":" + ::to_string (col);
     }
 }