alsa-utils/alsa-utils-1.0.19-fix_bsd_check.patch

15 lines
575 B
Diff
Raw Normal View History

diff -Nru alsa-utils-1.0.19.orig/alsactl/init_sysdeps.c alsa-utils-1.0.19/alsactl/init_sysdeps.c
--- alsa-utils-1.0.19.orig/alsactl/init_sysdeps.c 2009-01-19 12:17:19.000000000 +0100
+++ alsa-utils-1.0.19/alsactl/init_sysdeps.c 2009-01-23 15:16:49.000000000 +0100
@@ -17,8 +17,8 @@
*
*/
-#if defined(__GLIBC__) && !(defined(__UCLIBC__) && defined(__USE_BSD))
-static size_t strlcpy(char *dst, const char *src, size_t size)
+#if defined(__GLIBC__) && !(defined(__USE_BSD))
+size_t strlcpy(char *dst, const char *src, size_t size)
{
size_t bytes = 0;
char *q = dst;