diff options
author | Ryan Hill <rhill@gentoo.org> | 2009-07-29 20:49:39 +0000 |
---|---|---|
committer | Ryan Hill <rhill@gentoo.org> | 2009-07-29 20:49:39 +0000 |
commit | 16ca0c313daf14c9a14af6138fe00476fda833cd (patch) | |
tree | e5e30c9d402f2f7ea47a2333fbfe8f1569349b0c /media-sound/lilypond/files | |
parent | There's no package called alsa-patch-bay in portage anymore. (diff) | |
download | historical-16ca0c313daf14c9a14af6138fe00476fda833cd.tar.gz historical-16ca0c313daf14c9a14af6138fe00476fda833cd.tar.bz2 historical-16ca0c313daf14c9a14af6138fe00476fda833cd.zip |
Fix build w/ glibc-2.10. (bug #270718)
Package-Manager: portage-2.2_rc33/cvs/Linux x86_64
Diffstat (limited to 'media-sound/lilypond/files')
-rw-r--r-- | media-sound/lilypond/files/lilypond-2.12.2-glibc-2.10.patch | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/media-sound/lilypond/files/lilypond-2.12.2-glibc-2.10.patch b/media-sound/lilypond/files/lilypond-2.12.2-glibc-2.10.patch new file mode 100644 index 000000000000..d1e34087881d --- /dev/null +++ b/media-sound/lilypond/files/lilypond-2.12.2-glibc-2.10.patch @@ -0,0 +1,21 @@ +diff -Naurp lilypond-2.12.2-orig/lily/relocate.cc lilypond-2.12.2/lily/relocate.cc +--- lilypond-2.12.2-orig/lily/relocate.cc 2009-01-18 18:04:57.000000000 -0600 ++++ lilypond-2.12.2/lily/relocate.cc 2009-07-29 14:31:12.908541341 -0600 +@@ -276,13 +276,13 @@ expand_environment_variables (string ori + 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; |