From: | "Christoph Mende (angelos)" <angelos@g.o> |
---|---|
To: | gentoo-commits@l.g.o |
Subject: | [gentoo-commits] gentoo-x86 commit in media-libs/libmpd/files: libmpd-11.8.17-remove-strndup.patch |
Date: | Fri, 28 Nov 2014 19:45:18 |
Message-Id: | 20141128194512.0A795B1A8@oystercatcher.gentoo.org |
1 | angelos 14/11/28 19:45:12 |
2 | |
3 | Added: libmpd-11.8.17-remove-strndup.patch |
4 | Log: |
5 | Remove strndup definition from libmpd-internal.h to fix compilation on glibc-2.20 (bug #528692) |
6 | |
7 | (Portage version: 2.2.14/cvs/Linux x86_64, signed Manifest commit with key 84F20B43) |
8 | |
9 | Revision Changes Path |
10 | 1.1 media-libs/libmpd/files/libmpd-11.8.17-remove-strndup.patch |
11 | |
12 | file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-libs/libmpd/files/libmpd-11.8.17-remove-strndup.patch?rev=1.1&view=markup |
13 | plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-libs/libmpd/files/libmpd-11.8.17-remove-strndup.patch?rev=1.1&content-type=text/plain |
14 | |
15 | Index: libmpd-11.8.17-remove-strndup.patch |
16 | =================================================================== |
17 | diff --git a/src/libmpd-internal.h b/src/libmpd-internal.h |
18 | index c84c3a4..51be441 100644 |
19 | --- a/src/libmpd-internal.h |
20 | +++ b/src/libmpd-internal.h |
21 | @@ -206,10 +206,6 @@ int mpd_unlock_conn(MpdObj *mi); |
22 | MpdData * mpd_misc_sort_tag_list(MpdData *data); |
23 | |
24 | |
25 | -#ifndef HAVE_STRNDUP |
26 | -char * strndup (const char *s, size_t n); |
27 | -#endif |
28 | - |
29 | int mpd_server_get_allowed_commands(MpdObj *mi); |
30 | typedef enum _MpdSearchType { |
31 | MPD_SEARCH_TYPE_NONE, |