changeset 825:d42727e9e075

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.
author Rob Landley <rob@landley.net>
date Fri, 18 Sep 2009 20:42:29 -0500
parents 3c81b6825017
children e62743cb5199
files sources/patches/linux-2.6.25-rc1-noperl.patch sources/patches/linux-2.6.28-perl2.patch sources/patches/linux-2.6.28-perl3.patch
diffstat 3 files changed, 19 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- 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 <rob@landley.net>
+
+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 <rob@landley.net>
+--
+
+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   $@
--- 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)
--- 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   $@