[Armadeus-commitlog] SF.net SVN: armadeus:[946] trunk/patches
Brought to you by:
sszy
|
From: <ar...@us...> - 2008-12-11 15:37:19
|
Revision: 946
http://armadeus.svn.sourceforge.net/armadeus/?rev=946&view=rev
Author: artemys
Date: 2008-12-11 15:37:15 +0000 (Thu, 11 Dec 2008)
Log Message:
-----------
[BUILDROOT] ALSA: Veni, vidi, VICI...
Modified Paths:
--------------
trunk/patches/046-buildroot-alsa-lib-no_version.diff
Added Paths:
-----------
trunk/patches/058-buildroot-makes_alsa_work_with_eabi_and_large_file_options.diff
Modified: trunk/patches/046-buildroot-alsa-lib-no_version.diff
===================================================================
--- trunk/patches/046-buildroot-alsa-lib-no_version.diff 2008-12-11 13:28:04 UTC (rev 945)
+++ trunk/patches/046-buildroot-alsa-lib-no_version.diff 2008-12-11 15:37:15 UTC (rev 946)
@@ -0,0 +1,13 @@
+
+This patch corrects "aplay: set_params:1012: unable to install sw params:" bug.
+
+--- buildroot/package/audio/alsa-lib/alsa-lib.mk.org 2008-12-11 14:35:36.000000000 +0100
++++ buildroot/package/audio/alsa-lib/alsa-lib.mk 2008-12-11 14:43:07.000000000 +0100
+@@ -45,6 +45,7 @@
+ --enable-shared \
+ --enable-static \
+ --disable-docs \
++ --with-versioned=no \
+ $(SOFT_FLOAT) \
+ $(DISABLE_NLS) \
+ )
Added: trunk/patches/058-buildroot-makes_alsa_work_with_eabi_and_large_file_options.diff
===================================================================
--- trunk/patches/058-buildroot-makes_alsa_work_with_eabi_and_large_file_options.diff (rev 0)
+++ trunk/patches/058-buildroot-makes_alsa_work_with_eabi_and_large_file_options.diff 2008-12-11 15:37:15 UTC (rev 946)
@@ -0,0 +1,40 @@
+
+Deals with following points:
+* pb when compiled with EABI
+* pb when compiled with -D_FILE_OFFSET_BITS=64 flag
+
+--- buildroot/package/audio/alsa-lib/alsa-lib.mk.org 2008-12-11 14:35:36.000000000 +0100
++++ buildroot/package/audio/alsa-lib/alsa-lib.mk 2008-12-11 14:43:07.000000000 +0100
+@@ -11,14 +11,16 @@
+ ALSA_LIB_BINARY:=libasound.so.2.0.0
+ ALSA_LIB_TARGET_BINARY:=usr/lib/$(ALSA_LIB_BINARY)
+
+-ifeq ($(BR2_arm),y)
+-ALSA_LIB_ABI:=-mabi=aapcs-linux
+-else
+-ALSA_LIB_ABI:=
++ALSA_LIB_CFLAGS=-U_FILE_OFFSET_BITS
++ALSA_LIB_LDFLAGS=-U_FILE_OFFSET_BITS
++
++ifeq ($(BR2_ARM_EABI),y)
++ALSA_LIB_CFLAGS += -mabi=aapcs-linux
+ endif
+
+ ifeq ($(BR2_SOFT_FLOAT),y)
+- SOFT_FLOAT=--with-softfloat
++SOFT_FLOAT=--with-softfloat
++ALSA_LIB_LDFLAGS += -lm
+ endif
+
+ $(DL_DIR)/$(ALSA_LIB_SOURCE):
+@@ -34,8 +36,8 @@
+ (cd $(ALSA_LIB_DIR); rm -rf config.cache; \
+ $(TARGET_CONFIGURE_ARGS) \
+ $(TARGET_CONFIGURE_OPTS) \
+- CFLAGS="$(TARGET_CFLAGS) $(ALSA_LIB_ABI)" \
+- LDFLAGS="$(TARGET_LDFLAGS) -lm" \
++ CFLAGS="$(TARGET_CFLAGS) $(ALSA_LIB_CFLAGS)" \
++ LDFLAGS="$(TARGET_LDFLAGS) $(ALSA_LIB_LDFLAGS)" \
+ ./configure \
+ --target=$(GNU_TARGET_NAME) \
+ --host=$(GNU_TARGET_NAME) \
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|