diff options
author | Miroslav Šulc <fordfrog@gentoo.org> | 2021-02-18 09:42:14 +0100 |
---|---|---|
committer | Miroslav Šulc <fordfrog@gentoo.org> | 2021-02-18 09:42:30 +0100 |
commit | eacf4771e061ece31e1b9acb666e8e2077a5cbf1 (patch) | |
tree | 0dbf645847379c5d6476c2e7f07657ed550f8583 /dev-libs/sord/files | |
parent | sys-auth/elogind: Stabilize 246.9.2 amd64, #768918 (diff) | |
download | gentoo-eacf4771e061ece31e1b9acb666e8e2077a5cbf1.tar.gz gentoo-eacf4771e061ece31e1b9acb666e8e2077a5cbf1.tar.bz2 gentoo-eacf4771e061ece31e1b9acb666e8e2077a5cbf1.zip |
dev-libs/sord: removed obsolete 0.16.6
Package-Manager: Portage-3.0.14, Repoman-3.0.2
Signed-off-by: Miroslav Šulc <fordfrog@gentoo.org>
Diffstat (limited to 'dev-libs/sord/files')
-rw-r--r-- | dev-libs/sord/files/sord-0.16.6-x86_32.patch | 44 |
1 files changed, 0 insertions, 44 deletions
diff --git a/dev-libs/sord/files/sord-0.16.6-x86_32.patch b/dev-libs/sord/files/sord-0.16.6-x86_32.patch deleted file mode 100644 index 3effc4d44dc3..000000000000 --- a/dev-libs/sord/files/sord-0.16.6-x86_32.patch +++ /dev/null @@ -1,44 +0,0 @@ -diff --git a/src/zix/digest.c b/src/zix/digest.c -index 889cfde..00b9fcf 100644 ---- a/src/zix/digest.c -+++ b/src/zix/digest.c -@@ -38,10 +38,12 @@ zix_digest_add(uint32_t hash, const void* const buf, const size_t len) - { - const uint8_t* str = (const uint8_t*)buf; - -+#ifdef __x86_64__ - for (size_t i = 0; i < (len / sizeof(uint64_t)); ++i) { - hash = (uint32_t)_mm_crc32_u64(hash, *(const uint64_t*)str); - str += sizeof(uint64_t); - } -+#endif - if (len & sizeof(uint32_t)) { - hash = _mm_crc32_u32(hash, *(const uint32_t*)str); - str += sizeof(uint32_t); -@@ -57,6 +59,7 @@ zix_digest_add(uint32_t hash, const void* const buf, const size_t len) - return hash; - } - -+#ifdef __x86_64__ - ZIX_API uint32_t - zix_digest_add_64(uint32_t hash, const void* const buf, const size_t len) - { -@@ -72,12 +75,17 @@ zix_digest_add_64(uint32_t hash, const void* const buf, const size_t len) - - return hash; - } -+#endif - - ZIX_API uint32_t - zix_digest_add_ptr(const uint32_t hash, const void* const ptr) - { - #if UINTPTR_MAX == UINT64_MAX -- return (uint32_t)_mm_crc32_u64(hash, (uintptr_t)ptr); -+ #ifdef __x86_64__ -+ return (uint32_t)_mm_crc32_u64(hash, (uintptr_t)ptr); -+ #else -+ return (uint32_t)_mm_crc32_u32(hash, (uintptr_t)ptr); -+ #endif - #else - return _mm_crc32_u32(hash, (uintptr_t)ptr); - #endif |