summaryrefslogtreecommitdiff
path: root/media-sound
diff options
context:
space:
mode:
Diffstat (limited to 'media-sound')
-rw-r--r--media-sound/mpd/files/stupidity.patch4
1 files changed, 2 insertions, 2 deletions
diff --git a/media-sound/mpd/files/stupidity.patch b/media-sound/mpd/files/stupidity.patch
index 1367516..c06f093 100644
--- a/media-sound/mpd/files/stupidity.patch
+++ b/media-sound/mpd/files/stupidity.patch
@@ -1,5 +1,5 @@
diff --git a/src/util/FormatString.cxx b/src/util/FormatString.cxx
-index ceb7d48e0..28825cd5c 100644
+index 57ea57525..28825cd5c 100644
--- a/src/util/FormatString.cxx
+++ b/src/util/FormatString.cxx
@@ -30,7 +30,6 @@
@@ -28,7 +28,7 @@ index ceb7d48e0..28825cd5c 100644
- const size_t length = strlen(buffer);
- char *p = new char[length + 1];
- memcpy(p, buffer, length + 1);
-- return AllocatedString<>::Donate(buffer);
+- return AllocatedString<>::Donate(p);
-#endif
}