Package: src:python2.7
Version: 2.7.6-5
Severity: normal
Tags: patch

Dear Maintainer,

The following patch adds support for OpenRISC (or1k).

*** python2.7-or1k.patch
--- ../t/python2.7-2.7.6/debian/rules   2014-02-10 06:43:27.000000000 +0000
+++ debian/rules        2014-02-10 06:49:33.761661589 +0000
@@ -282,7 +282,8 @@
                --with-dbmliborder=bdb:gdbm \
                --with-system-expat
 
-ifeq ($(DEB_HOST_ARCH), avr32)
+ffi_no_cpus := avr32 or1k
+ifeq (,$(findstring $(DEB_HOST_ARCH_CPU),$(fii_no_cpus)))
   common_configure_args += --without-ffi
 else
   common_configure_args += --with-system-ffi
--- ../t/python2.7-2.7.6/debian/multiarch.h.in  2014-02-10 06:43:27.000000000 
+0000
+++ debian/multiarch.h  2014-02-10 04:05:31.720714162 +0000
@@ -39,6 +39,8 @@
 #  else
 #   error unknown multiarch location for @header@
 #  endif
+# elif defined(__or1k__)
+#  include <or1k-linux-gnu/@subdir@/@header@>
 # elif defined(__powerpc__) && defined(__SPE__)
 #  include <powerpc-linux-gnuspe/@subdir@/@header@>
 # elif defined(__powerpc64__)


-- System Information:
Debian Release: 7.2
Architecture: amd64 (x86_64)
Foreign Architectures: or1k

Kernel: Linux 3.12-1-amd64 (SMP w/8 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to