mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-16 14:29:05 -07:00
sys-fs/duperemove: Remove old
Signed-off-by: Michał Górny <mgorny@gentoo.org>
This commit is contained in:
@@ -1,2 +1 @@
|
||||
DIST duperemove-0.14.1.gh.new.tar.gz 167968 BLAKE2B 74d5ed6c452a24103d9ca0050ee1d1fdbb4eb4df5c2e86f84e6a1c70abf54d2caf27597d2088a5130d696bebaf07f93dd5f47e9c414af9ce3d19f096b872a02a SHA512 16af9fb002d6e51ce469869507d5d4b8f9576620746337252ad733e6f74ae275c1e83da6af1c203543b9d19890180952d87f9fad4a02d4c4e0a25577ce569191
|
||||
DIST duperemove-0.15.gh.tar.gz 119848 BLAKE2B 4b0455b34e3e5c1d002a39ade1b8abcd8a04b50ae7178b575218735e5529c0639f852dd433db1863c31fe14089e01bbc69fb202687d8a691c5a1f4de6f6b499a SHA512 e6d6e658c0175e74d706f9d4cbbeaa7bcad1b554eb60805415a948af63c78b6982cea6be6d48c15ddf14595a5b061d7794014eb1e8b71fab2041fc57e676c881
|
||||
|
||||
@@ -1,40 +0,0 @@
|
||||
# Copyright 1999-2024 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
inherit toolchain-funcs
|
||||
|
||||
DESCRIPTION="Btrfs and xfs deduplication utility"
|
||||
HOMEPAGE="https://github.com/markfasheh/duperemove/"
|
||||
# XXX: drop .new on bump after 0.14, added for respin
|
||||
SRC_URI="
|
||||
https://github.com/markfasheh/duperemove/archive/v${PV/_/.}.tar.gz
|
||||
-> ${P/_/.}.gh.new.tar.gz
|
||||
"
|
||||
S=${WORKDIR}/${P/_/.}
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64 ~ppc64 x86"
|
||||
|
||||
DEPEND="
|
||||
dev-db/sqlite:3
|
||||
dev-libs/glib:2
|
||||
"
|
||||
RDEPEND="
|
||||
${DEPEND}
|
||||
"
|
||||
|
||||
PATCHES=(
|
||||
# https://github.com/markfasheh/duperemove/issues/344
|
||||
"${FILESDIR}/${P}-32bit.patch"
|
||||
)
|
||||
|
||||
src_compile() {
|
||||
emake VERSION="${PV}" IS_RELEASE=1 CC="$(tc-getCC)" CFLAGS="${CFLAGS} -Wall"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake DESTDIR="${D}" PREFIX="${EPREFIX}/usr" install
|
||||
}
|
||||
@@ -1,37 +0,0 @@
|
||||
From 9e97c827707e9d709180a12ddfa16527e36fc676 Mon Sep 17 00:00:00 2001
|
||||
From: Alexandre Bruyelles <git@jack.fr.eu.org>
|
||||
Date: Sun, 12 May 2024 19:45:52 +0200
|
||||
Subject: [PATCH] fiemap: fiemap_count_shared: use coherent parameter size
|
||||
|
||||
Fixes https://github.com/markfasheh/duperemove/issues/344
|
||||
|
||||
Signed-off-by: Alexandre Bruyelles <git@jack.fr.eu.org>
|
||||
---
|
||||
fiemap.c | 2 +-
|
||||
fiemap.h | 2 +-
|
||||
2 files changed, 2 insertions(+), 2 deletions(-)
|
||||
|
||||
diff --git a/fiemap.c b/fiemap.c
|
||||
index aa61114431bd..655797dc4d91 100644
|
||||
--- a/fiemap.c
|
||||
+++ b/fiemap.c
|
||||
@@ -98,7 +98,7 @@ struct fiemap *do_fiemap(int fd)
|
||||
return fiemap;
|
||||
}
|
||||
|
||||
-int fiemap_count_shared(int fd, size_t start_off, size_t end_off, size_t *shared)
|
||||
+int fiemap_count_shared(int fd, size_t start_off, size_t end_off, uint64_t *shared)
|
||||
{
|
||||
_cleanup_(freep) struct fiemap *fiemap = NULL;
|
||||
struct fiemap_extent *extent;
|
||||
diff --git a/fiemap.h b/fiemap.h
|
||||
index f9eb17b9aa4a..1918c6e96322 100644
|
||||
--- a/fiemap.h
|
||||
+++ b/fiemap.h
|
||||
@@ -26,5 +26,5 @@ struct fiemap *do_fiemap(int fd);
|
||||
/*
|
||||
* Count how much of the area between start_off and end_off is shared.
|
||||
*/
|
||||
-int fiemap_count_shared(int fd, size_t start_off, size_t end_off, size_t *shared);
|
||||
+int fiemap_count_shared(int fd, size_t start_off, size_t end_off, uint64_t *shared);
|
||||
#endif /* __FIEMAP_H__ */
|
||||
Reference in New Issue
Block a user