[SM-Commit] PERFORCE change 76726 by Juuso Alasuutari for review

Perforce Review Daemon p4review at smee.org
Fri Mar 24 17:10:01 EST 2006


Change 76726 by juuso_alasuutari at juuso_alasuutari-kamayuq on 2006/03/24 22:05:55

	patch to fix compile against 2.6.16, bug #10748

Affected files ...

... //sgl/grimoires/z-rejected/z-kernels/nvidia_driver/HISTORY#23 edit
... //sgl/grimoires/z-rejected/z-kernels/nvidia_driver/NVIDIA_kernel-1.0-8178-U012206.diff#1 add
... //sgl/grimoires/z-rejected/z-kernels/nvidia_driver/PRE_BUILD#3 edit

Differences ...

==== //sgl/grimoires/z-rejected/z-kernels/nvidia_driver/HISTORY#23 (text) ====

@@ -1,3 +1,8 @@
+2006-03-25 Juuso Alasuutari <iuso at sourcemage.org>
+	* PRE_BUILD: Apply patch to fix compile against 2.6.16 
+	  kernels, bug #10748. Thanks to Arnaud Fortier!
+	* NVIDIA_kernel-1.0-8178-U012206.diff: added
+
 2006-01-14 Neuron <vlmarek at volny.cz>
 	* DETAILS: updated to 1.0-8178
 	* DETAILS: added comment about nvidia-xconfig

==== //sgl/grimoires/z-rejected/z-kernels/nvidia_driver/PRE_BUILD#3 (xtext) ====

@@ -2,4 +2,11 @@
 unpack_file ''                                 &&
 cd ${SOURCE_DIRECTORY}                         &&
 sh  ${SOURCE_CACHE}/${SOURCE}  --extract-only  &&
-mv NVIDIA*/* .
+mv NVIDIA*/* .                                 &&
+
+# Apply fix if kernel > 2.6.15
+KER=`get_kernel_version`                       &&
+KER=${KER:0:6}                                 &&
+if (( ${KER//\./} > 2615 )); then
+  patch -p0 < ${SCRIPT_DIRECTORY}/NVIDIA_kernel-1.0-8178-U012206.diff
+fi



More information about the SM-Commit mailing list