SPECS: alsa-driver.spec - added noebus patch (EBUS support needs e...
qboosh
qboosh at pld-linux.org
Thu Dec 29 07:35:19 CET 2005
Author: qboosh Date: Thu Dec 29 06:35:19 2005 GMT
Module: SPECS Tag: HEAD
---- Log message:
- added noebus patch (EBUS support needs ebus.h from Linux 2.6.x)
- sparc64 needs --undeclared-regs passed to as
---- Files affected:
SPECS:
alsa-driver.spec (1.170 -> 1.171)
---- Diffs:
================================================================
Index: SPECS/alsa-driver.spec
diff -u SPECS/alsa-driver.spec:1.170 SPECS/alsa-driver.spec:1.171
--- SPECS/alsa-driver.spec:1.170 Wed Dec 28 23:14:06 2005
+++ SPECS/alsa-driver.spec Thu Dec 29 07:35:14 2005
@@ -35,6 +35,7 @@
Patch3: %{name}-bluezsco.patch
Patch4: %{name}-ppc.patch
Patch5: %{name}-hpimod.patch
+Patch6: %{name}-noebus.patch
URL: http://www.alsa-project.org/
%if %{with dist_kernel} && %{with kernel}
BuildRequires: kernel24-headers >= 2.4
@@ -64,6 +65,12 @@
%define ossemul yes
%endif
+%ifarch sparc64
+%define addflags -Wa,--undeclared-regs
+%else
+%define addflags %{nil}
+%endif
+
%description
Advanced Linux Sound Architecture driver. Driver is fully compatible
with OSS/Lite, but contains many enhanced features.
@@ -160,6 +167,7 @@
%patch3 -p1
%patch4 -p1
%patch5 -p1
+%patch6 -p1
sed -i -e 's/-D__SMP__/-D__KERNEL_SMP/' configure.in
@@ -171,7 +179,7 @@
%{__autoconf}
%if %{with kernel} && %{with smp}
%configure \
- CFLAGS="%{rpmcflags} -D__KERNEL_SMP" \
+ CFLAGS="%{rpmcflags} %{addflags} -D__KERNEL_SMP" \
--with-build=%{_kernelsrcdir} \
--with-cards=%{!?cards:all}%{?cards} \
--with-debug=%{?debug:detect}%{!?debug:none} \
@@ -189,6 +197,7 @@
%endif
%configure \
+ CFLAGS="%{rpmcflags} %{addflags}" \
--with-build=%{_kernelsrcdir} \
--with-cards=%{!?cards:all}%{?cards} \
--with-debug=%{?debug:detect}%{!?debug:none} \
@@ -308,6 +317,10 @@
All persons listed below can be reached at <cvs_login>@pld-linux.org
$Log$
+Revision 1.171 2005/12/29 06:35:14 qboosh
+- added noebus patch (EBUS support needs ebus.h from Linux 2.6.x)
+- sparc64 needs --undeclared-regs passed to as
+
Revision 1.170 2005/12/28 22:14:06 qboosh
- added hpimod patch
================================================================
---- CVS-web:
http://cvs.pld-linux.org/SPECS/alsa-driver.spec?r1=1.170&r2=1.171&f=u
More information about the pld-cvs-commit
mailing list