diff -u lilypond-2.12.2/debian/control lilypond-2.12.2/debian/control --- lilypond-2.12.2/debian/control +++ lilypond-2.12.2/debian/control @@ -15,7 +15,8 @@ | gsfonts-x11, rsync Section: tex Priority: optional -Maintainer: Don Armstrong +Maintainer: Ubuntu Developers +XSBC-Original-Maintainer: Don Armstrong Standards-Version: 3.7.3 Homepage: http://lilypond.org/ diff -u lilypond-2.12.2/debian/changelog lilypond-2.12.2/debian/changelog --- lilypond-2.12.2/debian/changelog +++ lilypond-2.12.2/debian/changelog @@ -1,3 +1,10 @@ +lilypond (2.12.2-1ubuntu1) karmic; urgency=low + + * lily/relocate.cc: declare pointers as const char* to avoid invalid + conversion (LP: #439408). + + -- Ilya Barygin Wed, 30 Sep 2009 17:43:25 +0400 + lilypond (2.12.2-1) unstable; urgency=low * New maintainer diff -u lilypond-2.12.2/lily/relocate.cc lilypond-2.12.2/lily/relocate.cc --- lilypond-2.12.2/lily/relocate.cc +++ lilypond-2.12.2/lily/relocate.cc @@ -278,13 +278,13 @@ string out; while (ptr < start_ptr + len) { - char *dollar = strchr (ptr, '$'); + const char *dollar = strchr (ptr, '$'); if (dollar != NULL) { - char *start_var = dollar + 1; - char *end_var = start_var; - char *start_next = end_var; + const char *start_var = dollar + 1; + const char *end_var = start_var; + const char *start_next = end_var; out += string (ptr, dollar - ptr); ptr = dollar;