angelos     14/11/28 19:45:12

  Added:                libmpd-11.8.17-remove-strndup.patch
  Log:
  Remove strndup definition from libmpd-internal.h to fix compilation on 
glibc-2.20 (bug #528692)
  
  (Portage version: 2.2.14/cvs/Linux x86_64, signed Manifest commit with key 
84F20B43)

Revision  Changes    Path
1.1                  media-libs/libmpd/files/libmpd-11.8.17-remove-strndup.patch

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
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

Index: libmpd-11.8.17-remove-strndup.patch
===================================================================
diff --git a/src/libmpd-internal.h b/src/libmpd-internal.h
index c84c3a4..51be441 100644
--- a/src/libmpd-internal.h
+++ b/src/libmpd-internal.h
@@ -206,10 +206,6 @@ int mpd_unlock_conn(MpdObj *mi);
 MpdData * mpd_misc_sort_tag_list(MpdData *data);
 
 
-#ifndef HAVE_STRNDUP
-char *                 strndup                                 (const char *s, 
size_t n);
-#endif
-
 int mpd_server_get_allowed_commands(MpdObj *mi);
 typedef enum _MpdSearchType {
        MPD_SEARCH_TYPE_NONE,




Reply via email to