diff options
Diffstat (limited to 'app-arch/zstd')
-rw-r--r-- | app-arch/zstd/Manifest | 5 | ||||
-rw-r--r-- | app-arch/zstd/files/zstd-1.4.5-fix-uclibc-ng.patch | 28 | ||||
-rw-r--r-- | app-arch/zstd/zstd-1.4.4-r4.ebuild | 1 | ||||
-rw-r--r-- | app-arch/zstd/zstd-1.4.5.ebuild | 4 |
4 files changed, 36 insertions, 2 deletions
diff --git a/app-arch/zstd/Manifest b/app-arch/zstd/Manifest index 9f112026485d..ae6bbaa13455 100644 --- a/app-arch/zstd/Manifest +++ b/app-arch/zstd/Manifest @@ -1,7 +1,8 @@ AUX zstd-1.4.4-make43.patch 3577 BLAKE2B 55e6e743b44f8ad9048d4ab94c7058b82fc3fdbcf7863dbd7fe1933c62f736bbfed1d57a1fbd26f24159bae96094b393e1067b0bf467aeb40a464c7b34e741c5 SHA512 800c6dd70c09705ad7eb3e031c451d6e9cf0a06b1a42f0fbb0e474e0873596641bb5e4c03681955ec883d34ffaa4aa8ae207f399c4753c0f6f05afe70f56254f AUX zstd-1.4.4-pkgconfig_libdir.patch 8322 BLAKE2B 2c7bcc57cbbf549919d0f7ce4538afd5ef8face1624b4bb348d77725aa22349e306614a8bd75666fae0308f05fc64645211dbc2f3fe4efaddf7027c845fd5d0d SHA512 e748145592281a218495076c44d081c994923605fff2f9561a04ad3a00ba38847e4855549610da4d91d50c4bd5198270482ae59277571e9723a46b967a088632 +AUX zstd-1.4.5-fix-uclibc-ng.patch 762 BLAKE2B 3ead6b2ca56a6109b984a7e4b73d80b8a92e10f8ff20547e27fe897d70dac7bff15f1acedf6cca3ab0ea9ded07c2cdb8ac2ee5665eeb7a095c742c5614c73604 SHA512 e4de6367b47b016d9a0179b57cc06c9e232d0a736e20ff0cf8132d36512a5a232d8583d91b1453f7a122d63b85df96688053f02552b2717ff2f22bf30a0c0002 DIST zstd-1.4.4.tar.gz 1962617 BLAKE2B e21841a53b6c60703e5500cfc2a02923c4c3e57975aa57e1060310171e0d83d7c8eda1bd0510d5736db5c310d76847d2105ac5f614867fc3a9dc3086a035dfd7 SHA512 8209837e8eb14e474dfe21d5511085f46cef93b03ab77613fd41e7b8be652418231c38852669c8e0b55b78ad41ea2cb8008d0da122a83f8f27e32b5c86f045cf DIST zstd-1.4.5.tar.gz 1987927 BLAKE2B 1497d4e87040e5c71466468ebf1a57f4073666f2b005229925bc1d95a4b4fcb2a51d88bb79be20f21860e5750da42f8aac21d2997421d07ba37bd6bb12a28b55 SHA512 b03c497c3e0590c3d384cb856e3024f144b2bfac0d805d80e68deafa612c68237f12a2d657416d476a28059e80936c79f099fc42331464b417593895ea214387 -EBUILD zstd-1.4.4-r4.ebuild 1785 BLAKE2B 3ecdc81d9ca6905ab87308aba86488f03b723d98062120bc8049a2a4cc16958dfda368a57f15c93e16d720816b3dde9c11e6662eb5131c828eeb87591d901141 SHA512 d80f766db89d7ad70847557e49d13c597170207045a76506212b78fccf5a8e205477db57c7f5c8eb28f10b25fd5b0a36745a889ee467af50d633e003a21c7bb1 -EBUILD zstd-1.4.5.ebuild 1689 BLAKE2B 680856e65b1bef3e3aa162397fb604bab1a57aa0359173278698f440ea3ac31645f06cfcd9a26c8e09eaa27a9573993b058cde0a43ddf8f8e159806791f5c28b SHA512 b97f3cc098c47c7f5aec09bc5c96ef5e2a7133cd64c301827fbb0573169cb7e085010f5e9f784a44a96160409977de763a7123d1e5e535af73d5c0fb0be3818a +EBUILD zstd-1.4.4-r4.ebuild 1840 BLAKE2B 09aa07c4d2a068cb60e83d9796c7fe636d9e97c72e1efe731a2a2dc1f559874e9fa68dd06684135d18fe9f6dc67dcbddb69e34dd6ef0a510dc9355221acdf2a8 SHA512 7c55534e5feffae25bc9d1cfc9475404fa2387dbc44b788084df219d3cd26dfde0e47ccc015d89ab13bef1c5d261d2942d5745862221685fe5b80eb6613a73f3 +EBUILD zstd-1.4.5.ebuild 1750 BLAKE2B 3718289304a862bc8a5cd78159409ea00847af3d11e8906a45061ad76ee3cda3cdbcc072da6f2a8e20e6594aed841533bedf1195d4d01b0e43530ddb176160bf SHA512 b745133038280fcd31de024704934bf72d619087ed7d48efedf64d47758ca4987c26b0b9bd0ffbaf31b0321dd08796ec8e2d6a70c1a5a9b136ccf33f08960fd0 MISC metadata.xml 335 BLAKE2B b5522206853292786178f23747d3f8145cd21a9e1d9d545aea8ff424910d9f9ab6d35c66c098edac809baa4e87239d36d4d987308481b265fe30460d54f415b9 SHA512 9269829ff4dcad03a604ea00c7f9a3bcd937195b711ab52f813d39b8ebb921585293cb3cb97fbea75921df9a673d49c8a8b39dc13b54f9b171c08d6ac0c31bc6 diff --git a/app-arch/zstd/files/zstd-1.4.5-fix-uclibc-ng.patch b/app-arch/zstd/files/zstd-1.4.5-fix-uclibc-ng.patch new file mode 100644 index 000000000000..e4c2335d199f --- /dev/null +++ b/app-arch/zstd/files/zstd-1.4.5-fix-uclibc-ng.patch @@ -0,0 +1,28 @@ +From 1dcc4787965aa8f4af48ed5a2154185750bbaff5 Mon Sep 17 00:00:00 2001 +From: Yann Collet <cyan@fb.com> +Date: Mon, 13 Jul 2020 14:16:33 -0700 +Subject: [PATCH] fix uclibc's st_mtim + +reported and suggested by @ewildgoose (#1872) +--- + programs/platform.h | 6 ++++++ + 1 file changed, 6 insertions(+) + +diff --git a/programs/platform.h b/programs/platform.h +index 2b4b9f2d8..68be70bb3 100644 +--- a/programs/platform.h ++++ b/programs/platform.h +@@ -102,6 +102,12 @@ extern "C" { + # define PLATFORM_POSIX_VERSION 1 + # endif + ++# ifdef __UCLIBC__ ++# ifndef __USE_MISC ++# define __USE_MISC /* enable st_mtim on uclibc */ ++# endif ++# endif ++ + # else /* non-unix target platform (like Windows) */ + # define PLATFORM_POSIX_VERSION 0 + # endif + diff --git a/app-arch/zstd/zstd-1.4.4-r4.ebuild b/app-arch/zstd/zstd-1.4.4-r4.ebuild index 8c6ab8a0fd56..ebb7e04a9cc1 100644 --- a/app-arch/zstd/zstd-1.4.4-r4.ebuild +++ b/app-arch/zstd/zstd-1.4.4-r4.ebuild @@ -21,6 +21,7 @@ DEPEND="${RDEPEND}" PATCHES=( "${FILESDIR}/${P}-pkgconfig_libdir.patch" #700780 "${FILESDIR}/${P}-make43.patch" #708110 + "${FILESDIR}/${PN}-1.4.5-fix-uclibc-ng.patch" #741972 ) src_prepare() { diff --git a/app-arch/zstd/zstd-1.4.5.ebuild b/app-arch/zstd/zstd-1.4.5.ebuild index 414788bac8f4..110b0378b776 100644 --- a/app-arch/zstd/zstd-1.4.5.ebuild +++ b/app-arch/zstd/zstd-1.4.5.ebuild @@ -18,6 +18,10 @@ RDEPEND="app-arch/xz-utils lz4? ( app-arch/lz4 )" DEPEND="${RDEPEND}" +PATCHES=( + "${FILESDIR}/${P}-fix-uclibc-ng.patch" #741972 +) + src_prepare() { default multilib_copy_sources |