alsa-utils/alsa-utils-1.0.21-bsd_check.patch

13 lines
446 B
Diff
Raw Permalink Normal View History

diff -Nru alsa-utils-1.0.21.orig/alsactl/init_sysdeps.c alsa-utils-1.0.21/alsactl/init_sysdeps.c
--- alsa-utils-1.0.21.orig/alsactl/init_sysdeps.c 2009-10-02 16:47:19.000000000 +0200
+++ alsa-utils-1.0.21/alsactl/init_sysdeps.c 2009-10-02 16:53:01.000000000 +0200
@@ -17,7 +17,7 @@
*
*/
-#if defined(__GLIBC__) && !(defined(__USE_BSD))
+#if defined(__GLIBC__)
size_t strlcpy(char *dst, const char *src, size_t size)
{
size_t bytes = 0;