summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRyan Hill <rhill@gentoo.org>2009-07-29 20:49:39 +0000
committerRyan Hill <rhill@gentoo.org>2009-07-29 20:49:39 +0000
commit16ca0c313daf14c9a14af6138fe00476fda833cd (patch)
treee5e30c9d402f2f7ea47a2333fbfe8f1569349b0c /media-sound/lilypond/files
parentThere's no package called alsa-patch-bay in portage anymore. (diff)
downloadhistorical-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.patch21
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;