From 9c1c9af04427602c9eb52e3d99601e8cd87ff89e Mon Sep 17 00:00:00 2001 From: Gluzskiy Alexandr Date: Wed, 9 Aug 2017 15:52:05 +0300 Subject: =?UTF-8?q?=09=D0=B8=D0=B7=D0=BC=D0=B5=D0=BD=D0=B5=D0=BD=D0=BE:=20?= =?UTF-8?q?=20=20=20=20=20media-sound/mpd/files/stupidity.patch?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- media-sound/mpd/files/stupidity.patch | 4 ++-- 1 file 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 } -- cgit v1.2.3