# HG changeset patch # User Rob Landley # Date 1253324549 18000 # Node ID d42727e9e075eb30d359287b9b7f33474e2df65e # Parent 3c81b68250177bd8f0812a74e9fbd2e780e93a69 Adjust perl patches to apply cleanly to 2.6.31, and add the description to the first patch I've submitted it to the list with. diff -r 3c81b6825017 -r d42727e9e075 sources/patches/linux-2.6.25-rc1-noperl.patch --- a/sources/patches/linux-2.6.25-rc1-noperl.patch Thu Sep 17 22:03:42 2009 -0500 +++ b/sources/patches/linux-2.6.25-rc1-noperl.patch Fri Sep 18 20:42:29 2009 -0500 @@ -1,7 +1,23 @@ +From: Rob Landley + +Replace kernel/timeconst.pl with kernel/timeconst.sh. The new shell script +is much simpler, about 1/4 the size, and runs on Red Hat 9 from 2003. + +Peter Anvin added this perl to 2.6.25. Before that, the kernel had never +required perl to build. + +Signed-off-by: Rob Landley +-- + +kernel/Makefile | 4 +kernel/timeconst.pl | 378 ------------------------------------------ +kernel/timeconst.sh | 91 ++++++++++ +3 files changed, 93 insertions(+), 380 deletions(-) + diff -ruN linux-2.6.30/kernel/Makefile linux-2.6.30.new/kernel/Makefile --- linux-2.6.30/kernel/Makefile 2009-06-09 22:05:27.000000000 -0500 +++ linux-2.6.30.new/kernel/Makefile 2009-06-22 14:29:16.000000000 -0500 -@@ -122,7 +122,7 @@ +@@ -127,7 +127,7 @@ $(obj)/time.o: $(obj)/timeconst.h quiet_cmd_timeconst = TIMEC $@ diff -r 3c81b6825017 -r d42727e9e075 sources/patches/linux-2.6.28-perl2.patch --- a/sources/patches/linux-2.6.28-perl2.patch Thu Sep 17 22:03:42 2009 -0500 +++ b/sources/patches/linux-2.6.28-perl2.patch Fri Sep 18 20:42:29 2009 -0500 @@ -127,7 +127,7 @@ touch $@ quiet_cmd_remove = REMOVE $(unwanted) -@@ -66,7 +66,7 @@ +@@ -70,7 +70,7 @@ @: targets += $(install-file) diff -r 3c81b6825017 -r d42727e9e075 sources/patches/linux-2.6.28-perl3.patch --- a/sources/patches/linux-2.6.28-perl3.patch Thu Sep 17 22:03:42 2009 -0500 +++ b/sources/patches/linux-2.6.28-perl3.patch Fri Sep 18 20:42:29 2009 -0500 @@ -19,7 +19,7 @@ diff -ruN linux-2.6.30.old/arch/x86/kernel/cpu/Makefile linux-2.6.30/arch/x86/kernel/cpu/Makefile --- linux-2.6.30.old/arch/x86/kernel/cpu/Makefile 2009-06-09 22:05:27.000000000 -0500 +++ linux-2.6.30/arch/x86/kernel/cpu/Makefile 2009-06-22 16:39:06.000000000 -0500 -@@ -30,10 +30,10 @@ +@@ -36,10 +36,10 @@ obj-$(CONFIG_X86_LOCAL_APIC) += perfctr-watchdog.o quiet_cmd_mkcapflags = MKCAP $@