summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRonny (tastytea) Gutbrod <gentoo@tastytea.de>2021-08-13 23:16:17 +0200
committerJoonas Niilola <juippis@gentoo.org>2021-08-15 21:23:26 +0300
commitdcede737cc58c399f6d479863d58cb8dcefaf2de (patch)
treef9fdafea4f55b98df8b4b361efff0834d7623141 /app-misc
parentdev-libs/leveldb: update HOMEPAGE (diff)
downloadgentoo-dcede737cc58c399f6d479863d58cb8dcefaf2de.tar.gz
gentoo-dcede737cc58c399f6d479863d58cb8dcefaf2de.tar.bz2
gentoo-dcede737cc58c399f6d479863d58cb8dcefaf2de.zip
app-misc/rdfind: Version bump 1.5.0.
Patch suggested upstream: <https://github.com/pauldreik/rdfind/pull/84>. Signed-off-by: Ronny (tastytea) Gutbrod <gentoo@tastytea.de> Closes: https://github.com/gentoo/gentoo/pull/21983 Signed-off-by: Joonas Niilola <juippis@gentoo.org>
Diffstat (limited to 'app-misc')
-rw-r--r--app-misc/rdfind/Manifest1
-rw-r--r--app-misc/rdfind/files/rdfind-1.5.0_include-limits-header.patch25
-rw-r--r--app-misc/rdfind/rdfind-1.5.0.ebuild27
3 files changed, 53 insertions, 0 deletions
diff --git a/app-misc/rdfind/Manifest b/app-misc/rdfind/Manifest
index 6b722569fab1..7351f40829fa 100644
--- a/app-misc/rdfind/Manifest
+++ b/app-misc/rdfind/Manifest
@@ -1 +1,2 @@
DIST rdfind-1.4.1.tar.gz 53708 BLAKE2B 18778fa65f9c5fda18a59e4021b6346bc5722c19a3796f2b4a85e5c8d919c5f8beeeb8fed572fcce0016e2939568f5e3dc3d3e567178a54ad9ac4e89a1ea77ff SHA512 00d34f46e8534074577a0cd32f71dd8da0b9a7c9a175a612a4a858693ca679de3b77fca1796b543ead796c806a693e97611c0a9fdc743229d317136b32ce89dc
+DIST rdfind-1.5.0.tar.gz 55200 BLAKE2B ad031acba85b6dead8ec3cfb2dfeb13bce424ee3b70dabc2b1ecaf0bcab8ae64c33ce1df22a54b430876d95ff59a58a2c3dc86d93f551ca8dc069488d3319e6d SHA512 007e54c90a74a20913ce8af6e6ecc90414c503260d88afa5a98525d43a7b6445762210c6a957beacdc99ff3dab95adb4100a2553454d177c0cfa3cbbc937f495
diff --git a/app-misc/rdfind/files/rdfind-1.5.0_include-limits-header.patch b/app-misc/rdfind/files/rdfind-1.5.0_include-limits-header.patch
new file mode 100644
index 000000000000..98eaa482d7df
--- /dev/null
+++ b/app-misc/rdfind/files/rdfind-1.5.0_include-limits-header.patch
@@ -0,0 +1,25 @@
+From 054eda51711cb2623bad022db613381fa8c183d0 Mon Sep 17 00:00:00 2001
+From: tastytea <tastytea@tastytea.de>
+Date: Sun, 15 Aug 2021 16:50:44 +0200
+Subject: [PATCH] Include limits header.
+
+Needed for std::numeric_limits.
+---
+ rdfind.cc | 1 +
+ 1 file changed, 1 insertion(+)
+
+diff --git a/rdfind.cc b/rdfind.cc
+index fbd6cb8..64dd8f6 100644
+--- a/rdfind.cc
++++ b/rdfind.cc
+@@ -9,6 +9,7 @@
+ // std
+ #include <algorithm>
+ #include <iostream>
++#include <limits>
+ #include <string>
+ #include <vector>
+
+--
+2.31.1
+
diff --git a/app-misc/rdfind/rdfind-1.5.0.ebuild b/app-misc/rdfind/rdfind-1.5.0.ebuild
new file mode 100644
index 000000000000..c21593992326
--- /dev/null
+++ b/app-misc/rdfind/rdfind-1.5.0.ebuild
@@ -0,0 +1,27 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+WANT_AUTOMAKE=1.15
+inherit autotools
+
+DESCRIPTION="Find duplicate files based on their content"
+HOMEPAGE="https://github.com/pauldreik/rdfind"
+SRC_URI="https://github.com/pauldreik/rdfind/archive/releases/${PV}.tar.gz -> ${P}.tar.gz"
+S="${WORKDIR}/${PN}-releases-${PV}"
+
+LICENSE="GPL-2+"
+SLOT="0"
+KEYWORDS="~amd64"
+
+RDEPEND="dev-libs/nettle"
+DEPEND="${RDEPEND}"
+BDEPEND="sys-devel/autoconf-archive"
+
+PATCHES=( "${FILESDIR}/${PN}-1.5.0_include-limits-header.patch" )
+
+src_prepare() {
+ default
+ eautoreconf
+}