Source: librep Severity: important Tags: patch Hi,
This is a backport from the Ubuntu version of librep where thumb-2 is also used by default as in armhf. Please consider adding the patch, the package has been tested to build fine. Thanks Konstantinos
diff -ruN librep-0.90.2.debian//debian/patches/00list librep-0.90.2.ubuntu//debian/patches/00list --- librep-0.90.2.debian//debian/patches/00list 2011-04-11 22:49:25.000000000 +0300 +++ librep-0.90.2.ubuntu//debian/patches/00list 2011-04-11 22:54:37.000000000 +0300 @@ -1 +1,2 @@ +armel_ftbfs.dpatch diff -ruN librep-0.90.2.debian//debian/patches/armel_ftbfs.dpatch librep-0.90.2.ubuntu//debian/patches/armel_ftbfs.dpatch --- librep-0.90.2.debian//debian/patches/armel_ftbfs.dpatch 1970-01-01 02:00:00.000000000 +0200 +++ librep-0.90.2.ubuntu//debian/patches/armel_ftbfs.dpatch 2011-04-11 22:54:37.000000000 +0300 @@ -0,0 +1,22 @@ +#! /bin/sh /usr/share/dpatch/dpatch-run +## Description: Do not use reserved register r7 in thumb mode compilation +## Origin/Author: add some origin or author +## Bug: bug URL +## armel_ftbfs.dpatch by Jani Monoses <[email protected]> +## +## All lines beginning with `## DP:' are a description of the patch. +## DP: No description. + +@DPATCH@ +diff -urNad '--exclude=CVS' '--exclude=.svn' '--exclude=.git' '--exclude=.arch' '--exclude=.hg' '--exclude=_darcs' '--exclude=.bzr' librep-0.90.2~/src/lispmach.h librep-0.90.2/src/lispmach.h +--- librep-0.90.2~/src/lispmach.h 2009-08-25 19:33:47.000000000 +0300 ++++ librep-0.90.2/src/lispmach.h 2010-12-13 11:51:08.298578000 +0200 +@@ -474,7 +474,7 @@ + #ifdef __arm__ + #define PC_REG asm("r9") + #define SP_REG asm("r8") +-#define SLOTS_REG asm("r7") ++#define SLOTS_REG asm("r10") + #endif + #endif +

