kumquat-buildroot/package/multimedia/alsa-utils/alsa-utils-1.0.18-check-if-__use_bsd-is-defined.patch
Hans-Christian Egtvedt f974e39491 alsa-util: bump version to 1.0.18 and add patches for this version
Signed-off-by: Hans-Christian Egtvedt <hans-christian.egtvedt@atmel.com>
2008-12-04 16:10:44 +00:00

14 lines
464 B
Diff

Index: alsa-utils-1.0.18/alsactl/init_sysdeps.c
===================================================================
--- alsa-utils-1.0.18.orig/alsactl/init_sysdeps.c 2008-12-01 08:27:16.000000000 +0100
+++ alsa-utils-1.0.18/alsactl/init_sysdeps.c 2008-12-01 08:27:22.000000000 +0100
@@ -17,7 +17,7 @@
*
*/
-#ifdef __GLIBC__
+#if defined(__GLIBC__) && !defined(__USE_BSD)
static size_t strlcpy(char *dst, const char *src, size_t size)
{
size_t bytes = 0;