commit 0af93fc09a23791f6b230527d1bc4808831e1bcc Author: Elan Ruusamäe <g...@delfi.ee> Date: Thu Jan 1 16:26:30 2015 +0200
add linux3 patch for building under 3.0 kernels linux3.patch | 13 +++++++++++++ python.spec | 2 ++ 2 files changed, 15 insertions(+) --- diff --git a/python.spec b/python.spec index 59b5438..9bc4f3c 100644 --- a/python.spec +++ b/python.spec @@ -55,6 +55,7 @@ Patch6: %{name}-doc_path.patch Patch7: %{name}-info.patch Patch8: %{name}-bug-978833.patch Patch9: %{name}-db4.6.patch +Patch10: linux3.patch URL: http://www.python.org/ BuildRequires: autoconf BuildRequires: bzip2-devel @@ -509,6 +510,7 @@ Przykłady te są dla Pythona 2.3.4, nie %{version}. %patch7 -p1 %patch8 -p0 %patch9 -p1 +%patch10 -p1 tar -xf %{SOURCE1} --use=bzip2 diff --git a/linux3.patch b/linux3.patch new file mode 100644 index 0000000..10e7cfe --- /dev/null +++ b/linux3.patch @@ -0,0 +1,13 @@ +allow building under 3.x kernels +http://bugs.python.org/issue12326 + +--- Python-2.4.6/configure.in~ 2015-01-01 16:14:33.000000000 +0200 ++++ Python-2.4.6/configure.in 2015-01-01 16:18:11.754935645 +0200 +@@ -175,6 +175,7 @@ + MACHDEP="$ac_md_system$ac_md_release" + + case $MACHDEP in ++ linux3) MACHDEP="linux2";; + cygwin*) MACHDEP="cygwin";; + darwin*) MACHDEP="darwin";; + atheos*) MACHDEP="atheos";; ================================================================ ---- gitweb: http://git.pld-linux.org/gitweb.cgi/packages/python.git/commitdiff/0af93fc09a23791f6b230527d1bc4808831e1bcc _______________________________________________ pld-cvs-commit mailing list pld-cvs-commit@lists.pld-linux.org http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit