diff --git a/packages/linux/patches/3.6.11/linux-010-perf_crosscompiling.patch b/packages/linux/patches/3.6.11/linux-010-perf_crosscompiling.patch new file mode 100644 index 0000000000..a4a1c918b4 --- /dev/null +++ b/packages/linux/patches/3.6.11/linux-010-perf_crosscompiling.patch @@ -0,0 +1,12 @@ +diff -Naur linux-3.6.11/tools/perf/Makefile linux-3.6.11.patch/tools/perf/Makefile +--- linux-3.6.11/tools/perf/Makefile 2012-12-17 18:27:45.000000000 +0100 ++++ linux-3.6.11.patch/tools/perf/Makefile 2013-03-06 16:30:43.107805512 +0100 +@@ -496,8 +496,6 @@ + msg := $(warning newt not found, disables TUI support. Please install newt-devel or libnewt-dev); + BASIC_CFLAGS += -DNO_NEWT_SUPPORT + else +- # Fedora has /usr/include/slang/slang.h, but ubuntu /usr/include/slang.h +- BASIC_CFLAGS += -I/usr/include/slang + EXTLIBS += -lnewt -lslang + LIB_OBJS += $(OUTPUT)ui/setup.o + LIB_OBJS += $(OUTPUT)ui/browser.o diff --git a/packages/linux/patches/3.7.10/linux-010-perf_crosscompiling.patch b/packages/linux/patches/3.7.10/linux-010-perf_crosscompiling.patch new file mode 100644 index 0000000000..f61031edc6 --- /dev/null +++ b/packages/linux/patches/3.7.10/linux-010-perf_crosscompiling.patch @@ -0,0 +1,12 @@ +diff -Naur linux-3.7.10/tools/perf/Makefile linux-3.7.10.patch/tools/perf/Makefile +--- linux-3.7.10/tools/perf/Makefile 2013-02-27 18:22:04.000000000 +0100 ++++ linux-3.7.10.patch/tools/perf/Makefile 2013-03-06 16:36:15.633521884 +0100 +@@ -591,8 +591,6 @@ + ifneq ($(call try-cc,$(SOURCE_NEWT),$(FLAGS_NEWT)),y) + msg := $(warning newt not found, disables TUI support. Please install newt-devel or libnewt-dev); + else +- # Fedora has /usr/include/slang/slang.h, but ubuntu /usr/include/slang.h +- BASIC_CFLAGS += -I/usr/include/slang + BASIC_CFLAGS += -DNEWT_SUPPORT + EXTLIBS += -lnewt -lslang + LIB_OBJS += $(OUTPUT)ui/setup.o