--- python.SlackBuild	2006-07-26 21:12:19.000000000 -0400
+++ python.SlackBuild.s390x	2006-09-07 01:57:32.000000000 -0400
@@ -18,7 +18,7 @@
   SLKCFLAGS="-O3 -march=i386 -mcpu=i686"
 elif [ "$ARCH" = "i486" ]; then
   SLKCFLAGS="-O3 -march=i486 -mtune=i686"
-elif [ "$ARCH" = "s390" ]; then
+elif [ "$ARCH" = "s390x" ]; then
   SLKCFLAGS="-O3"
 elif [ "$ARCH" = "x86_64" ]; then
   SLKCFLAGS="-O3"
@@ -28,6 +28,7 @@
 rm -rf Python-$VERSION
 tar xjvf $CWD/Python-$VERSION.tar.bz2
 cd Python-$VERSION
+cat $CWD/Python-2.4.3-lib64.patch | patch -p1 --backup --suffix=.orig
 chown -R root:root .
 find . -type d -exec chmod 755 {} \;
 find . -type f -perm 775 -exec chmod 755 {} \;
