diff -Nru xxhash-0.8.0/debian/changelog xxhash-0.8.0/debian/changelog --- xxhash-0.8.0/debian/changelog 2020-08-09 16:02:50.000000000 +0000 +++ xxhash-0.8.0/debian/changelog 2021-01-07 21:20:41.000000000 +0000 @@ -1,3 +1,10 @@ +xxhash (0.8.0-1+rpi1) bullseye-staging; urgency=medium + + * Use XXH_FORCE_MEMORY_ACCESS 1 instead of XXH_FORCE_MEMORY_ACCESS 2 + on armv6 to fix unaligned access issue. + + -- Peter Michael Green Thu, 07 Jan 2021 21:20:41 +0000 + xxhash (0.8.0-1) unstable; urgency=medium * New upstream version 0.8.0 diff -Nru xxhash-0.8.0/debian/patches/fix-unaligned-access-on-armv6.patch xxhash-0.8.0/debian/patches/fix-unaligned-access-on-armv6.patch --- xxhash-0.8.0/debian/patches/fix-unaligned-access-on-armv6.patch 1970-01-01 00:00:00.000000000 +0000 +++ xxhash-0.8.0/debian/patches/fix-unaligned-access-on-armv6.patch 2021-01-07 21:20:41.000000000 +0000 @@ -0,0 +1,14 @@ +Description: Use XXH_FORCE_MEMORY_ACCESS 1 instead of XXH_FORCE_MEMORY_ACCESS 2 on armv6 to fix unaligned access issue. +Author: Peter Michael Green + +--- xxhash-0.8.0.orig/xxhash.h ++++ xxhash-0.8.0/xxhash.h +@@ -807,7 +807,7 @@ XXH_PUBLIC_API XXH128_hash_t XXH128(cons + */ + #ifndef XXH_FORCE_MEMORY_ACCESS /* can be defined externally, on command line for example */ + # if !defined(__clang__) && defined(__GNUC__) && defined(__ARM_FEATURE_UNALIGNED) && defined(__ARM_ARCH) && (__ARM_ARCH == 6) +-# define XXH_FORCE_MEMORY_ACCESS 2 ++# define XXH_FORCE_MEMORY_ACCESS 1 + # elif !defined(__clang__) && ((defined(__INTEL_COMPILER) && !defined(_WIN32)) || \ + (defined(__GNUC__) && (defined(__ARM_ARCH) && __ARM_ARCH >= 7))) + # define XXH_FORCE_MEMORY_ACCESS 1 diff -Nru xxhash-0.8.0/debian/patches/series xxhash-0.8.0/debian/patches/series --- xxhash-0.8.0/debian/patches/series 2020-08-09 16:02:50.000000000 +0000 +++ xxhash-0.8.0/debian/patches/series 2021-01-07 21:20:41.000000000 +0000 @@ -1 +1,2 @@ reproducible-build.patch +fix-unaligned-access-on-armv6.patch