SPECS: pwc.spec - fast fix for kernel 2.6.18+

sparky sparky at pld-linux.org
Tue Dec 5 20:30:25 CET 2006


Author: sparky                       Date: Tue Dec  5 19:30:25 2006 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- fast fix for kernel 2.6.18+

---- Files affected:
SPECS:
   pwc.spec (1.17 -> 1.18) 

---- Diffs:

================================================================
Index: SPECS/pwc.spec
diff -u SPECS/pwc.spec:1.17 SPECS/pwc.spec:1.18
--- SPECS/pwc.spec:1.17	Tue Nov 14 21:36:22 2006
+++ SPECS/pwc.spec	Tue Dec  5 20:30:19 2006
@@ -25,6 +25,7 @@
 %if %{with kernel}
 %{?with_dist_kernel:BuildRequires:	kernel%{_alt_kernel}-module-build >= 3:2.6.7}
 BuildRequires:	rpmbuild(macros) >= 1.330
+BuildRequires:	sed >= 4.0
 %endif
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
@@ -109,6 +110,7 @@
 echo "CFLAGS	+= -DXAWTV_HAS_BEEN_FIXED=1" >> Makefile.new
 mv -f Makefile{.new,}
 cp -f pwc-if.c pwc-if.c.orig
+sed -e '/#include <linux.videodev2.h>/a#include <media/v4l2-dev.h>' -i pwc.h
 
 %build
 %if %{with kernel}
@@ -170,6 +172,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.18  2006/12/05 19:30:19  sparky
+- fast fix for kernel 2.6.18+
+
 Revision 1.17  2006/11/14 20:36:22  sparky
 - BR: rpmbuild(macros) >= 1.330 -- build_kernel_modules fix for kernels 2.6.18
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SPECS/pwc.spec?r1=1.17&r2=1.18&f=u



More information about the pld-cvs-commit mailing list