diff -Nru wine-6.0.3~repack/debian/changelog wine-6.0.3~repack/debian/changelog --- wine-6.0.3~repack/debian/changelog 2022-03-13 04:27:41.000000000 +0000 +++ wine-6.0.3~repack/debian/changelog 2022-03-19 00:48:02.000000000 +0000 @@ -1,3 +1,10 @@ +wine (6.0.3~repack-1+rpi1) bookworm-staging; urgency=medium + + * Build for armv6k on raspbian. + * Replace movt instruction with orr instruction to support armv6k build. + + -- Peter Michael Green Sat, 19 Mar 2022 00:48:02 +0000 + wine (6.0.3~repack-1) unstable; urgency=medium * New upstream release 6.0.3, released Feb 25, 2022. diff -Nru wine-6.0.3~repack/debian/patches/raspbian.patch wine-6.0.3~repack/debian/patches/raspbian.patch --- wine-6.0.3~repack/debian/patches/raspbian.patch 1970-01-01 00:00:00.000000000 +0000 +++ wine-6.0.3~repack/debian/patches/raspbian.patch 2022-03-19 00:48:02.000000000 +0000 @@ -0,0 +1,27 @@ +Description: Replace movt instruction with orr instruction to support armv6k build. +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: 2022-03-19 + +--- wine-6.0.3~repack.orig/dlls/ntdll/unix/signal_arm.c ++++ wine-6.0.3~repack/dlls/ntdll/unix/signal_arm.c +@@ -613,7 +613,7 @@ __ASM_GLOBAL_FUNC( call_user_apc_dispatc + "1:\tldr r0, [r10]\n\t" + "sub sp, r0, #0x1a0\n\t" + "mov r0, #3\n\t" +- "movt r0, #32\n\t" ++ "orr r0, #2097152\n\t" + "str r0, [sp]\n\t" /* context.ContextFlags = CONTEXT_FULL */ + "mov r1, sp\n\t" + "mov r0, #~1\n\t" diff -Nru wine-6.0.3~repack/debian/patches/series wine-6.0.3~repack/debian/patches/series --- wine-6.0.3~repack/debian/patches/series 2022-03-13 04:27:41.000000000 +0000 +++ wine-6.0.3~repack/debian/patches/series 2022-03-19 00:48:02.000000000 +0000 @@ -8,7 +8,6 @@ debianization/winemenubuilder.patch debianization/wineserver-persistence.patch -system/zlib.patch disable/fold.patch disable/line-wrapping.patch @@ -40,3 +39,4 @@ warnings/stringop-overflow.patch warnings/misleading-indentation.patch warnings/uninitialized-variables.patch +raspbian.patch diff -Nru wine-6.0.3~repack/debian/rules wine-6.0.3~repack/debian/rules --- wine-6.0.3~repack/debian/rules 2022-03-13 04:27:41.000000000 +0000 +++ wine-6.0.3~repack/debian/rules 2022-03-19 00:48:02.000000000 +0000 @@ -84,7 +84,7 @@ # warnings to ignore on armhf ifeq ($(DEB_HOST_ARCH), armhf) -export DEB_CFLAGS_MAINT_APPEND+=-Wno-array-parameter +export DEB_CFLAGS_MAINT_APPEND+=-Wno-array-parameter -march=armv6k+fp endif # on arm64 build using clang and ignore compiler warnings