diff options
Diffstat (limited to 'app-arch/xz-utils')
-rw-r--r-- | app-arch/xz-utils/Manifest | 3 | ||||
-rw-r--r-- | app-arch/xz-utils/files/xz-utils-5.4.2-Wsign-conversion.patch | 23 | ||||
-rw-r--r-- | app-arch/xz-utils/xz-utils-5.4.2.ebuild | 4 |
3 files changed, 29 insertions, 1 deletions
diff --git a/app-arch/xz-utils/Manifest b/app-arch/xz-utils/Manifest index 5c9c1bda118b..c4ec057d6864 100644 --- a/app-arch/xz-utils/Manifest +++ b/app-arch/xz-utils/Manifest @@ -1,3 +1,4 @@ +AUX xz-utils-5.4.2-Wsign-conversion.patch 927 BLAKE2B fb26227694e87ef5ea98f039f983e4fcf3a7785ca4957d8c0c62f30b0dd8d43e36c1f251144a03301de220eb2d1ea25380afda39232a455ff7deb827ae8209fa SHA512 a2b3a9fc5ea5633069b79337cd2450618c5a1edc07ebe35837bf74e61c164f18f4fe3651ec61f94af6a6767c44b046bd780c635dfc94d4888b10494e95513081 DIST xz-5.2.10.tar.gz 2123206 BLAKE2B fdd9e77e21ee65482401e0e43e0b291093a227d452991a9182562989b7a4388ceed30d5d54cd7f86320dcc073eb792032a49741880338a29043a8380507c4215 SHA512 c3814680fcad421efa71cf977217a62c34e3223900302a6fd7d505f310a7b338815feee2c8225b1232bd22b9e29c7dda3664e54dae2d80f816daec6adf560ca1 DIST xz-5.2.10.tar.gz.sig 566 BLAKE2B ce72730816d03084dc0d1559d6f2890b3ebe25a5e6b0720d4775ba2364762b5d1934a3a53f2255f6e68a1cdf42778d85d8b02ab30396b2addab619e95855f733 SHA512 48a0864abee6639116678afab6e8319eb2de903b381362c611fb77f9b6fc21df5f7d9783a250810f7ecc08380fb371a3a791ab55f5a343b68b9d4f9e414da403 DIST xz-5.2.11.tar.gz 2130684 BLAKE2B e513f99b2e28fa79f32747e21138cc13ab9340e95a302ac742bc6bda088465488173ea212704c4612f4059bbbc6c6a5b041332d84b999dc7df5b3fab1b1ac4e9 SHA512 8f75450380563229465420f4518fa7a60bbe6f0c9a3b580c2a9a7bf9bf380ad69209f792764115c346d89c49711478e8db42325ef9a46ccd3a6ec72292890ac8 @@ -9,6 +10,6 @@ DIST xz-5.4.2.tar.gz.sig 566 BLAKE2B 95c9c70fdd25b92095dd9691e4d9d4306a3f982becf EBUILD xz-utils-5.2.10.ebuild 2918 BLAKE2B 5772efb5b671c373b4d6cbb82d50bea4815b63fa2a8fc54e0e5823c7115837bb7a16c63cbc1045de139248d0b337109232b269272d2fe29129444f65a2d0aa7a SHA512 b200fe4c27ad62ed1de5d52fd2224711fd27d40c5724451b35e67b8658120fbf55ce7ae280917629e95c9e856a5951a85e5186ef993d2617318c13850874a473 EBUILD xz-utils-5.2.11.ebuild 2926 BLAKE2B e735a4b1069f81aaa792596fa3bdba5f76579eecfebb768d4dccf56866965a9ff3bb5baabfe8d04fea9fd92c08d17f68c32a8fe3a6725a3b365aa4af710d2632 SHA512 65ca4fb9544b37487ac2643af3999c4f37cdb1be653f73006b1e3d1241ab855bb797d731ece66582fdca1b4ff5d5500cfbe45c0a058738ddd1a632011efec61a EBUILD xz-utils-5.4.1.ebuild 3114 BLAKE2B a25077bf6a903524fabce7bc7959acd7ea820741a8de98b04094f02920947d49fe9f4d0019046ac5b10c1f6907422549274b9e34db1736ddd17b0a972443aed7 SHA512 b44f2777f700852dc3d619a2b5c9e132005c158e04aaad80a0d8046c55386b50eae5a52a15d02d36bbcf0ab9caac417408bffaafea3918e0c6c54133c835ee05 -EBUILD xz-utils-5.4.2.ebuild 3187 BLAKE2B 6d4af22029b01d33fb1a9bb5b981622f4510b10aab70948e2b546381d5e8b3471d26a0ba78cb61478e00985cc3dfc200b41dfbbc0a920cb16e28b93367138dfa SHA512 8334ac61832be9baaacb690465fb933b50d79777757a3f07802bca8eff1150b973339a3f9805e3f96451e84fe69ce2558d6487ba71918ab067ea44ef5dfcfc9a +EBUILD xz-utils-5.4.2.ebuild 3243 BLAKE2B 11dade9c96d5569546849f6b5ac8274016502c2490738697a40a0f00ef1078920ac8cade1a12f6c7b74bbcecd9e2576c1c5ccf49357dbd2240f4008f48ed880b SHA512 283b41808c46fd19b74fa53c418be3fb0bc6e48e2250fb8dc4ef8fc90772238345863a95f9b88b5ac0a5aef70478ccaf37d362a4bd42e34f6081f691be6b406a EBUILD xz-utils-9999.ebuild 3187 BLAKE2B 6d4af22029b01d33fb1a9bb5b981622f4510b10aab70948e2b546381d5e8b3471d26a0ba78cb61478e00985cc3dfc200b41dfbbc0a920cb16e28b93367138dfa SHA512 8334ac61832be9baaacb690465fb933b50d79777757a3f07802bca8eff1150b973339a3f9805e3f96451e84fe69ce2558d6487ba71918ab067ea44ef5dfcfc9a MISC metadata.xml 663 BLAKE2B 7a6625813cb3bdbab8a37845c9c64ac53ff377db394f776357d4fff60fbfe7c7b0e954fdc15abcc8874dd6c0f9ee90bc6e179a00bc5d12cd2e7cedc6f998c019 SHA512 696e573853d5d401f22079492d8e2b5f3c27e9ec4b6095f5ff46f109366b1c65c11976123abed06f302b8f03aaa1b0c54884f0156fdfdce23f4bf28feaafd39c diff --git a/app-arch/xz-utils/files/xz-utils-5.4.2-Wsign-conversion.patch b/app-arch/xz-utils/files/xz-utils-5.4.2-Wsign-conversion.patch new file mode 100644 index 000000000000..217cc759a904 --- /dev/null +++ b/app-arch/xz-utils/files/xz-utils-5.4.2-Wsign-conversion.patch @@ -0,0 +1,23 @@ +https://github.com/tukaani-project/xz/commit/0673c9ec98b6bae12b33dc295564514aaa26e2fc + +From 0673c9ec98b6bae12b33dc295564514aaa26e2fc Mon Sep 17 00:00:00 2001 +From: Lasse Collin <lasse.collin@tukaani.org> +Date: Sun, 19 Mar 2023 22:45:59 +0200 +Subject: [PATCH] liblzma: Silence -Wsign-conversion in SSE2 code in + memcmplen.h. + +Thanks to Christian Hesse for reporting the issue. +Fixes: https://github.com/tukaani-project/xz/issues/44 +--- a/src/liblzma/common/memcmplen.h ++++ b/src/liblzma/common/memcmplen.h +@@ -89,7 +89,8 @@ lzma_memcmplen(const uint8_t *buf1, const uint8_t *buf2, + // version isn't used on x86-64. + # define LZMA_MEMCMPLEN_EXTRA 16 + while (len < limit) { +- const uint32_t x = 0xFFFF ^ _mm_movemask_epi8(_mm_cmpeq_epi8( ++ const uint32_t x = 0xFFFF ^ (uint32_t)_mm_movemask_epi8( ++ _mm_cmpeq_epi8( + _mm_loadu_si128((const __m128i *)(buf1 + len)), + _mm_loadu_si128((const __m128i *)(buf2 + len)))); + + diff --git a/app-arch/xz-utils/xz-utils-5.4.2.ebuild b/app-arch/xz-utils/xz-utils-5.4.2.ebuild index a6b8dfa60f8f..736b0038dc69 100644 --- a/app-arch/xz-utils/xz-utils-5.4.2.ebuild +++ b/app-arch/xz-utils/xz-utils-5.4.2.ebuild @@ -53,6 +53,10 @@ if [[ ${PV} != 9999 ]] ; then BDEPEND+=" verify-sig? ( >=sec-keys/openpgp-keys-lassecollin-20230213 )" fi +PATCHES=( + "${FILESDIR}"/${P}-Wsign-conversion.patch +) + src_prepare() { default |