summaryrefslogtreecommitdiff
path: root/package/multimedia/alsa-utils/alsa-utils-1.0.18-check-if-__use_bsd-is-defined.patch
diff options
context:
space:
mode:
authorHans-Christian Egtvedt <hans-christian.egtvedt@atmel.com>2008-12-04 16:10:44 +0000
committerHans-Christian Egtvedt <hans-christian.egtvedt@atmel.com>2008-12-04 16:10:44 +0000
commitf974e39491273737c0599a9d98442885ffa13b5b (patch)
tree2ebb15a08140e7c85069c337ff6ea358d26e73ee /package/multimedia/alsa-utils/alsa-utils-1.0.18-check-if-__use_bsd-is-defined.patch
parentf241ba6f81c851de7112a50fd9d9e4461f320e09 (diff)
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>
Diffstat (limited to 'package/multimedia/alsa-utils/alsa-utils-1.0.18-check-if-__use_bsd-is-defined.patch')
-rw-r--r--package/multimedia/alsa-utils/alsa-utils-1.0.18-check-if-__use_bsd-is-defined.patch13
1 files changed, 13 insertions, 0 deletions
diff --git a/package/multimedia/alsa-utils/alsa-utils-1.0.18-check-if-__use_bsd-is-defined.patch b/package/multimedia/alsa-utils/alsa-utils-1.0.18-check-if-__use_bsd-is-defined.patch
new file mode 100644
index 000000000..f0d320938
--- /dev/null
+++ b/package/multimedia/alsa-utils/alsa-utils-1.0.18-check-if-__use_bsd-is-defined.patch
@@ -0,0 +1,13 @@
+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;