SPECS: svgalib.spec - fixed kernel26 build

qboosh qboosh at pld-linux.org
Sat Feb 18 18:38:33 CET 2006


Author: qboosh                       Date: Sat Feb 18 17:38:33 2006 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- fixed kernel26 build

---- Files affected:
SPECS:
   svgalib.spec (1.156 -> 1.157) 

---- Diffs:

================================================================
Index: SPECS/svgalib.spec
diff -u SPECS/svgalib.spec:1.156 SPECS/svgalib.spec:1.157
--- SPECS/svgalib.spec:1.156	Sat Feb 11 15:06:35 2006
+++ SPECS/svgalib.spec	Sat Feb 18 18:38:27 2006
@@ -341,6 +341,10 @@
 ln -sf %{_kernelsrcdir}/Module.symvers-%{?with_dist_kernel:up}%{!?with_dist_kernel:nondist} o/Module.symvers
 ln -sf %{_kernelsrcdir}/include/linux/autoconf-%{?with_dist_kernel:up}%{!?with_dist_kernel:nondist}.h o/include/linux/autoconf.h
 %{__make} -C %{_kernelsrcdir} O=$PWD/o prepare scripts
+%ifarch ppc ppc64
+# no longer exists in 2.6.14.x
+touch o/include/asm/segment.h
+%endif
 if grep -q class_simple_create %{_kernelsrcdir}/include/linux/device.h ; then
 	CLF=-DCLASS_SIMPLE=1
 else
@@ -374,8 +378,10 @@
 ln -sf %{_kernelsrcdir}/include/linux/autoconf-smp.h o/include/linux/autoconf.h
 ln -sf %{_kernelsrcdir}/Module.symvers-smp Module.symvers
 %{__make} -C %{_kernelsrcdir} O=$PWD/o prepare scripts
+%ifarch ppc ppc64
 # no longer exists in 2.6.14.x
 touch o/include/asm/segment.h
+%endif
 %{__make} -C %{_kernelsrcdir} modules \
 	CLASS_CFLAGS="$CLF" \
 	SUBDIRS=`pwd` \
@@ -487,6 +493,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.157  2006/02/18 17:38:27  qboosh
+- fixed kernel26 build
+
 Revision 1.156  2006/02/11 14:06:35  arekm
 - updated but doesn't build
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SPECS/svgalib.spec?r1=1.156&r2=1.157&f=u



More information about the pld-cvs-commit mailing list