alsa-util: bump version to 1.0.18 and add patches for this version
authorHans-Christian Egtvedt <hans-christian.egtvedt@atmel.com>
Thu, 4 Dec 2008 16:10:44 +0000 (16:10 -0000)
committerHans-Christian Egtvedt <hans-christian.egtvedt@atmel.com>
Thu, 4 Dec 2008 16:10:44 +0000 (16:10 -0000)
Signed-off-by: Hans-Christian Egtvedt <hans-christian.egtvedt@atmel.com>
package/multimedia/alsa-utils/alsa-utils-1.0.18-check-if-__use_bsd-is-defined.patch [new file with mode: 0644]
package/multimedia/alsa-utils/alsa-utils-1.0.18-fix-intl-support.patch [new file with mode: 0644]
package/multimedia/alsa-utils/alsa-utils.mk

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 (file)
index 0000000..f0d3209
--- /dev/null
@@ -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;
diff --git a/package/multimedia/alsa-utils/alsa-utils-1.0.18-fix-intl-support.patch b/package/multimedia/alsa-utils/alsa-utils-1.0.18-fix-intl-support.patch
new file mode 100644 (file)
index 0000000..317c472
--- /dev/null
@@ -0,0 +1,11 @@
+--- a/seq/aseqnet/Makefile.in
++++ b/seq/aseqnet/Makefile.in
+@@ -252,7 +252,7 @@ clean-binPROGRAMS:
+       -test -z "$(bin_PROGRAMS)" || rm -f $(bin_PROGRAMS)
+ aseqnet$(EXEEXT): $(aseqnet_OBJECTS) $(aseqnet_DEPENDENCIES) 
+       @rm -f aseqnet$(EXEEXT)
+-      $(LINK) $(aseqnet_LDFLAGS) $(aseqnet_OBJECTS) $(aseqnet_LDADD) $(LIBS)
++      $(LINK) $(aseqnet_LDFLAGS) $(aseqnet_OBJECTS) $(aseqnet_LDADD) $(LIBS) $(INTLLIBS)
+ mostlyclean-compile:
+       -rm -f *.$(OBJEXT)
index b8249ef6255c061c1018795717990e454d762208..336118a30002d8120f5ed9ac2dffd25bf4374e8c 100644 (file)
@@ -3,7 +3,7 @@
 # alsa-utils
 #
 #############################################################
-ALSA_UTILS_VERSION:=1.0.14
+ALSA_UTILS_VERSION:=1.0.18
 ALSA_UTILS_SOURCE:=alsa-utils-$(ALSA_UTILS_VERSION).tar.bz2
 ALSA_UTILS_SITE:=ftp://ftp.alsa-project.org/pub/utils
 ALSA_UTILS_DIR:=$(BUILD_DIR)/alsa-utils-$(ALSA_UTILS_VERSION)