...
 
Commits (2)
libesedb (20181229-3) unstable; urgency=medium
* Add patch to decrease alignment for checksum calculation on s390,
sparc64
-- Hilko Bengen <bengen@debian.org> Sun, 27 Jan 2019 04:39:20 +0100
libesedb (20181229-2) unstable; urgency=high
* Skip tests on s390x, see #920511
......
libcpath-Add-PATH_MAX-for-Hurd-compatibility.patch
work-around-64bit-big-endian-checksum-failure.patch
From: Hilko Bengen <bengen@debian.org>
Date: Sun, 27 Jan 2019 04:35:17 +0100
Subject: work around 64bit big-endian checksum failure
---
libesedb/libesedb_checksum.c | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/libesedb/libesedb_checksum.c b/libesedb/libesedb_checksum.c
index 34fe0cf..e7fcff7 100644
--- a/libesedb/libesedb_checksum.c
+++ b/libesedb/libesedb_checksum.c
@@ -29,7 +29,11 @@
/* The largest primary (or scalar) available
* supported by a single load and store instruction
*/
+#if defined(__s390__) || defined(__sparc_v9__)
+typedef uint32_t libesedb_aligned_t;
+#else
typedef unsigned long int libesedb_aligned_t;
+#endif
/* The ECC-32 mask lookup table
*/
......@@ -22,8 +22,3 @@ override_dh_missing:
override_dh_install:
dh_install -Xpyesedb.a -X.la
# Skip tests on s390x for now, see #920511
ifeq ($(DEB_BUILD_ARCH),s390x)
override_dh_auto_test:
endif