From: Sapan Bhatia Date: Thu, 21 Jul 2011 15:14:39 +0000 (-0400) Subject: Fix build issue on f8 X-Git-Tag: 2.6-27-36~1 X-Git-Url: http://git.onelab.eu/?p=linux-2.6.git;a=commitdiff_plain;h=ad092bba35ad60d5df0a60a301dd86d0378cd6b3 Fix build issue on f8 --- diff --git a/kernel-2.6.spec b/kernel-2.6.spec index 184c37405..708f22386 100644 --- a/kernel-2.6.spec +++ b/kernel-2.6.spec @@ -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 index 000000000..378af05ca --- /dev/null +++ b/linux-2.6-911-perftools-f8-build.patch @@ -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)