diff options
author | V3n3RiX <venerix@koprulu.sector> | 2024-05-15 00:01:28 +0100 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2024-05-15 00:01:28 +0100 |
commit | 514c44bb9cc421df9c323acbad430cbb6ee5b89a (patch) | |
tree | 22621125c9bc9177d5339f093f57cb928531f33f /app-admin/testdisk | |
parent | 59c2499e0c9720169c9d5a02168c51c807a21467 (diff) |
gentoo auto-resync : 15:05:2024 - 00:01:27
Diffstat (limited to 'app-admin/testdisk')
-rw-r--r-- | app-admin/testdisk/Manifest | 3 | ||||
-rw-r--r-- | app-admin/testdisk/files/testdisk-7.2-musl.patch | 25 | ||||
-rw-r--r-- | app-admin/testdisk/testdisk-7.2.ebuild | 2 |
3 files changed, 29 insertions, 1 deletions
diff --git a/app-admin/testdisk/Manifest b/app-admin/testdisk/Manifest index 7e9c6149ae51..c6bd9faa39a6 100644 --- a/app-admin/testdisk/Manifest +++ b/app-admin/testdisk/Manifest @@ -1,3 +1,4 @@ +AUX testdisk-7.2-musl.patch 676 BLAKE2B 44fe9e0d72eec836f3d4bc3ee2f325134be9c8ba6ea69b561e045431ef40663ad862653e9d764a002c80bb52092cc91b861e951988f43e5169b7d21a1f69c195 SHA512 cd64ece1e629df879e06e311f4e2bb79e9bae10f228f230faf3b0302a5739e11327ab0b3132d9e325d27ac25ef5d9a933335a5731c141b1f83d05fff7dc363c1 DIST testdisk-7.2.tar.bz2 855781 BLAKE2B 224fae052fa9264ee83fdf6804159c77257b9db4c96ff36c7cb1dc184ec4a9f0955f0d817de24ef1e5fe69e7ef1a20c140e73fc130fb092e6df3b02df2845239 SHA512 f99dd1c8f547c3d06e5459ba072438192a49d76c569de7915994beb269645092522d8136a212999382f88ca1d29c50f6482306d47197dc0994d168bcd4141f26 -EBUILD testdisk-7.2.ebuild 2720 BLAKE2B 203daafeedbcd35c8e38083b1cc90df170a9e774b0400d47424d6ffed7f1151b3c443ffd0813911deef386863dfd38f12ef29e9cfef7a67e906be35988ec6ba0 SHA512 70e0bf4334da27251c5ad688f02b6100e35e418c74120429a645719cd78214f1c20b0bd6166e4c479ec43966b5f4f0e4664b6decd5ccf681650de838c6ed784f +EBUILD testdisk-7.2.ebuild 2841 BLAKE2B 0531a19f218c36d45932629b7c463ef29e9e6fb70c1c8cfd676e78545554bd02748c15f22ebef09bebeaa58390f4e6307dc4723b9b16d3dbf50a6d7d32797ccb SHA512 337bc518f35d9656d870447ae78aaf2a6c806d23a6ef403bbbe560f8897a29ba17713494c51c28981f2d2d1d29f5d1e4994f1bd5164c88ab2905d2fb419a2f27 MISC metadata.xml 698 BLAKE2B c594b2322501214086fc8505094d104b1cba10338e8e2d1831eaa6e13fa12406b0e7e374dc0c4b72c93b7c10fb4709d39d8790274b5b38ff326d7ea99d42ec70 SHA512 bbd13b1109ddbcbd8c676886c432b8fe5ed276a93de6e829ab8d708c84b8ea50e9846a717b3d9a9b6c5d400971f8d79b049285a1bf999c81e50fb4d820ebc7e4 diff --git a/app-admin/testdisk/files/testdisk-7.2-musl.patch b/app-admin/testdisk/files/testdisk-7.2-musl.patch new file mode 100644 index 000000000000..d01c2797bf28 --- /dev/null +++ b/app-admin/testdisk/files/testdisk-7.2-musl.patch @@ -0,0 +1,25 @@ +From 2c6780ca1edd0b0ba2e5e86b12634e3cc8475872 Mon Sep 17 00:00:00 2001 +From: Christophe Grenier <grenier@cgsecurity.org> +Date: Tue, 14 May 2024 17:34:56 +0200 +Subject: [PATCH] src/hdaccess.c: Fix build with musl-1.2.5 See + https://github.com/cgsecurity/testdisk/issues/154 + https://bugs.gentoo.org/931887 + +--- + src/hdaccess.c | 3 +++ + 1 file changed, 3 insertions(+) + +diff --git a/src/hdaccess.c b/src/hdaccess.c +index 91ec7915..9768c07c 100644 +--- a/src/hdaccess.c ++++ b/src/hdaccess.c +@@ -109,6 +109,9 @@ + #ifdef HAVE_GLOB_H + #include <glob.h> + #endif ++#ifdef HAVE_LIBGEN_H ++#include <libgen.h> ++#endif + + #if defined(__CYGWIN__) || defined(__MINGW32__) + #include "win32.h" diff --git a/app-admin/testdisk/testdisk-7.2.ebuild b/app-admin/testdisk/testdisk-7.2.ebuild index ea419d0652ee..cfc23c0f8bc4 100644 --- a/app-admin/testdisk/testdisk-7.2.ebuild +++ b/app-admin/testdisk/testdisk-7.2.ebuild @@ -60,6 +60,8 @@ BDEPEND="gui? ( dev-qt/linguist-tools:5 )" DOCS=() PATCHES=( + # https://github.com/cgsecurity/testdisk/commit/2c6780ca1edd0b0ba2e5e86b12634e3cc8475872 + "${FILESDIR}/${P}-musl.patch" ) src_configure() { |