Fix build issue on f8
authorSapan Bhatia <gwsapan@gmail.com>
Thu, 21 Jul 2011 15:14:39 +0000 (11:14 -0400)
committerSapan Bhatia <gwsapan@gmail.com>
Thu, 21 Jul 2011 15:14:39 +0000 (11:14 -0400)
kernel-2.6.spec
linux-2.6-911-perftools-f8-build.patch [new file with mode: 0644]

index 184c374..708f223 100644 (file)
@@ -195,6 +195,7 @@ Patch800: linux-2.6-800-rename-ext4dev-to-ext4.patch
 
 #Patch900: linux-2.6-900-ext3_mount_default_to_barrier.patch
 #Patch910: linux-2.6-910-support_barriers_on_single_device_dm_devices.patch
+Patch911: linux-2.6-911-linux-2.6-911-perftools-f8-build.patch
 
 BuildRoot: %{_tmppath}/kernel-%{KVERREL}-root
 
diff --git a/linux-2.6-911-perftools-f8-build.patch b/linux-2.6-911-perftools-f8-build.patch
new file mode 100644 (file)
index 0000000..378af05
--- /dev/null
@@ -0,0 +1,12 @@
+diff -up linux-2.6.32-22.planetlab.i686/tools/perf/Makefile.orig linux-2.6.32-22.planetlab.i686/tools/perf/Makefile
+--- linux-2.6.32-22.planetlab.i686/tools/perf/Makefile.orig    2011-07-21 10:27:04.816021371 -0400
++++ linux-2.6.32-22.planetlab.i686/tools/perf/Makefile 2011-07-21 10:27:16.325140524 -0400
+@@ -219,7 +219,7 @@ EXTRA_WARNINGS := $(EXTRA_WARNINGS) -Wde
+ #
+ LESS_WARNINGS := -Wno-system-headers
+-LESS_WARNINGS := $(LESS_WARNINGS) -Wno-unused-but-set-variable
++LESS_WARNINGS := $(LESS_WARNINGS) #-Wno-unused-but-set-variable
+ ifeq ("$(origin DEBUG)", "command line")
+   PERF_DEBUG = $(DEBUG)