]> git.pld-linux.org Git - packages/python.git/commitdiff
add linux3 patch for building under 3.0 kernels
authorElan Ruusamäe <glen@delfi.ee>
Thu, 1 Jan 2015 14:26:30 +0000 (16:26 +0200)
committerElan Ruusamäe <glen@delfi.ee>
Thu, 1 Jan 2015 14:26:30 +0000 (16:26 +0200)
linux3.patch [new file with mode: 0644]
python.spec

diff --git a/linux3.patch b/linux3.patch
new file mode 100644 (file)
index 0000000..10e7cfe
--- /dev/null
@@ -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";;
index 59b5438cf1a292bd1a3977e0f64ab254e72652f3..9bc4f3cbb3baa281d89a1a054a28b4e4e1fe635e 100644 (file)
@@ -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
 
This page took 0.279786 seconds and 4 git commands to generate.