diff -Nru ffcall-2.0/debian/changelog ffcall-2.0/debian/changelog --- ffcall-2.0/debian/changelog 2017-11-26 17:23:10.000000000 +0000 +++ ffcall-2.0/debian/changelog 2017-12-07 01:23:49.000000000 +0000 @@ -1,3 +1,11 @@ +ffcall (2.0-2+rpi1) buster-staging; urgency=medium + + * Replace movw/movt with ldr psuedo instruction. + * Mark binaries as armv6 not armv7 + * Disable testsuite, it fails on some of our buildboxes. + + -- Peter Michael Green Thu, 07 Dec 2017 01:23:49 +0000 + ffcall (2.0-2) unstable; urgency=medium * Fix FTBFS on armhf by disabling PIE (for vacall test). diff -Nru ffcall-2.0/debian/patches/raspbian.patch ffcall-2.0/debian/patches/raspbian.patch --- ffcall-2.0/debian/patches/raspbian.patch 1970-01-01 00:00:00.000000000 +0000 +++ ffcall-2.0/debian/patches/raspbian.patch 2017-12-07 01:23:49.000000000 +0000 @@ -0,0 +1,86 @@ +Description: ffcall changes for raspbian. + * Replace movw/movt with ldr psuedo instruction. + * Mark binaries as armv6 not armv7 +Author: Peter Michael Green + +--- +The information above should follow the Patch Tagging Guidelines, please +checkout http://dep.debian.net/deps/dep3/ to learn about the format. Here +are templates for supplementary fields that you might want to add: + +Origin: , +Bug: +Bug-Debian: https://bugs.debian.org/ +Bug-Ubuntu: https://launchpad.net/bugs/ +Forwarded: +Reviewed-By: +Last-Update: 2017-12-07 + +--- ffcall-2.0.orig/avcall/avcall-armhf-macro.S ++++ ffcall-2.0/avcall/avcall-armhf-macro.S +@@ -1,5 +1,5 @@ + #include "asm-arm.h" +- .arch armv7-a ++ .arch armv6 + .eabi_attribute 28, 1 + .eabi_attribute 20, 1 + .eabi_attribute 21, 1 +@@ -15,7 +15,7 @@ + .global C(avcall_call) + .syntax unified + .arm +- .fpu vfpv3-d16 ++ .fpu vfpv2 + .type avcall_call, %function + FUNBEGIN(avcall_call) + // args = 0, pretend = 0, frame = 0 +--- ffcall-2.0.orig/callback/vacall_r/vacall-armhf-macro.S ++++ ffcall-2.0/callback/vacall_r/vacall-armhf-macro.S +@@ -1,5 +1,5 @@ + #include "asm-arm.h" +- .arch armv7-a ++ .arch armv6 + .eabi_attribute 28, 1 + .eabi_attribute 20, 1 + .eabi_attribute 21, 1 +@@ -15,7 +15,7 @@ + .global C(callback_receiver) + .syntax unified + .arm +- .fpu vfpv3-d16 ++ .fpu vfpv2 + .type callback_receiver, %function + FUNBEGIN(callback_receiver) + // args = 28, pretend = 0, frame = 176 +--- ffcall-2.0.orig/vacall/vacall-armhf-macro.S ++++ ffcall-2.0/vacall/vacall-armhf-macro.S +@@ -1,5 +1,5 @@ + #include "asm-arm.h" +- .arch armv7-a ++ .arch armv6 + .eabi_attribute 28, 1 + .eabi_attribute 20, 1 + .eabi_attribute 21, 1 +@@ -15,7 +15,7 @@ + .global C(vacall_receiver) + .syntax unified + .arm +- .fpu vfpv3-d16 ++ .fpu vfpv2 + .type vacall_receiver, %function + FUNBEGIN(vacall_receiver) + // args = 20, pretend = 16, frame = 176 +@@ -25,8 +25,11 @@ FUNBEGIN(vacall_receiver) + push {r4, r5, fp, lr} + add fp, sp, $12 + add lr, fp, $4 +- movw r4, $:lower16:C(vacall_function) +- movt r4, $:upper16:C(vacall_function) ++ #raspbian mod, replace movw/movt with ldr psuedo-instruction ++ #movw r4, $:lower16:C(vacall_function) ++ #movt r4, $:upper16:C(vacall_function) ++ ldr r4, =C(vacall_function) ++ #end raspbian mod. + sub sp, sp, $176 + add r5, fp, $20 + stm lr, {r0, r1, r2, r3} diff -Nru ffcall-2.0/debian/patches/series ffcall-2.0/debian/patches/series --- ffcall-2.0/debian/patches/series 2017-11-25 14:12:12.000000000 +0000 +++ ffcall-2.0/debian/patches/series 2017-12-07 01:23:49.000000000 +0000 @@ -1,3 +1,4 @@ fix-powerpcspe.patch mips-fpxx.patch trampoline-mips64el.patch +raspbian.patch diff -Nru ffcall-2.0/debian/rules ffcall-2.0/debian/rules --- ffcall-2.0/debian/rules 2017-11-12 09:40:03.000000000 +0000 +++ ffcall-2.0/debian/rules 2017-12-07 01:23:49.000000000 +0000 @@ -11,3 +11,6 @@ %: dh $@ --no-parallel + +override_dh_auto_test: + echo testsuite disabled.