commit:     dcede737cc58c399f6d479863d58cb8dcefaf2de
Author:     Ronny (tastytea) Gutbrod <gentoo <AT> tastytea <DOT> de>
AuthorDate: Fri Aug 13 21:16:17 2021 +0000
Commit:     Joonas Niilola <juippis <AT> gentoo <DOT> org>
CommitDate: Sun Aug 15 18:23:26 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=dcede737

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 <AT> tastytea.de>
Closes: https://github.com/gentoo/gentoo/pull/21983
Signed-off-by: Joonas Niilola <juippis <AT> gentoo.org>

 app-misc/rdfind/Manifest                           |  1 +
 .../files/rdfind-1.5.0_include-limits-header.patch | 25 ++++++++++++++++++++
 app-misc/rdfind/rdfind-1.5.0.ebuild                | 27 ++++++++++++++++++++++
 3 files changed, 53 insertions(+)

diff --git a/app-misc/rdfind/Manifest b/app-misc/rdfind/Manifest
index 6b722569fab..7351f40829f 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 00000000000..98eaa482d7d
--- /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 <tasty...@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 00000000000..c2159399232
--- /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
+}

Reply via email to