SPECS: alsa-driver.spec - devfs compilation failure fix patches ta...

glen glen at pld-linux.org
Thu Oct 26 14:41:50 CEST 2006


Author: glen                         Date: Thu Oct 26 12:41:50 2006 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- devfs compilation failure fix patches taken from #2514

---- Files affected:
SPECS:
   alsa-driver.spec (1.181 -> 1.182) 

---- Diffs:

================================================================
Index: SPECS/alsa-driver.spec
diff -u SPECS/alsa-driver.spec:1.181 SPECS/alsa-driver.spec:1.182
--- SPECS/alsa-driver.spec:1.181	Sun Oct 22 23:50:43 2006
+++ SPECS/alsa-driver.spec	Thu Oct 26 14:41:44 2006
@@ -1,7 +1,4 @@
 # $Revision$, $Date$
-# TODO
-# - compliation failure with devfs: https://bugtrack.alsa-project.org/alsa-bug/view.php?id=2559
-#
 # Conditional build:
 %bcond_without	dist_kernel	# without kernel from distribution
 %bcond_without	pcmcia		# without PCMCIA support (note: PCMCIA won't build
@@ -29,6 +26,9 @@
 Group:		Base/Kernel
 Source0:	ftp://ftp.alsa-project.org/pub/driver/%{name}-%{version}.tar.bz2
 # Source0-md5:	3fe79d8fd475a442b59d4716f7bb20a5
+# from https://bugtrack.alsa-project.org/alsa-bug/view.php?id=2514
+Source1:	alsa-driver-1.0.13-patches.tar.gz
+# Source1-md5:	42fe42ca21782cc3f7fc948babf37408
 Patch0:		%{name}-make.patch
 Patch1:		%{name}-alpha.patch
 Patch2:		%{name}-processor.patch
@@ -73,6 +73,9 @@
 %define		addflags	%{nil}
 %endif
 
+# CFLAGS changed during build
+%undefine	configure_cache
+
 %description
 Advanced Linux Sound Architecture driver. Driver is fully compatible
 with OSS/Lite, but contains many enhanced features.
@@ -162,7 +165,12 @@
 Advanced Linux Sound Architecture (ALSA) - pliki nagłówkowe.
 
 %prep
-%setup -q
+%setup -q -a1
+# from source1
+for a in patch-*; do
+	%{__patch} -p1 < $a
+done
+
 %patch0 -p1
 %patch1 -p1
 %patch2 -p1
@@ -319,6 +327,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.182  2006/10/26 12:41:44  glen
+- devfs compilation failure fix patches taken from #2514
+
 Revision 1.181  2006/10/22 21:50:43  glen
 - add todo
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SPECS/alsa-driver.spec?r1=1.181&r2=1.182&f=u



More information about the pld-cvs-commit mailing list