summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter Volkov <pva@gentoo.org>2008-05-12 21:40:22 +0000
committerPeter Volkov <pva@gentoo.org>2008-05-12 21:40:22 +0000
commit2fb861e2395b3069fcf017ecdca5ade6a5c5e8e2 (patch)
tree87ff7008fa97b3b959a1a2f2ec104ffa45c0473b /app-misc/fdupes
parentStable for HPPA (bug #221063). (diff)
downloadhistorical-2fb861e2395b3069fcf017ecdca5ade6a5c5e8e2.tar.gz
historical-2fb861e2395b3069fcf017ecdca5ade6a5c5e8e2.tar.bz2
historical-2fb861e2395b3069fcf017ecdca5ade6a5c5e8e2.zip
Fix implicit declaration of memcpy, bug #184925, thank Daniel Santos for report/fix. Don't use generic gcc command, bug #197226, thank Chris Slycord for report/fix.
Package-Manager: portage-2.1.4.4
Diffstat (limited to 'app-misc/fdupes')
-rw-r--r--app-misc/fdupes/ChangeLog12
-rw-r--r--app-misc/fdupes/Manifest4
-rw-r--r--app-misc/fdupes/fdupes-1.40-r1.ebuild34
-rw-r--r--app-misc/fdupes/files/fdupes-1.40-memcpy.patch20
4 files changed, 67 insertions, 3 deletions
diff --git a/app-misc/fdupes/ChangeLog b/app-misc/fdupes/ChangeLog
index 88b0a8701af5..cbab4c8aea4b 100644
--- a/app-misc/fdupes/ChangeLog
+++ b/app-misc/fdupes/ChangeLog
@@ -1,6 +1,14 @@
# ChangeLog for app-misc/fdupes
-# Copyright 2000-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-misc/fdupes/ChangeLog,v 1.11 2007/02/08 22:32:33 flameeyes Exp $
+# Copyright 2000-2008 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/app-misc/fdupes/ChangeLog,v 1.12 2008/05/12 21:40:21 pva Exp $
+
+*fdupes-1.40-r1 (12 May 2008)
+
+ 12 May 2008; Peter Volkov <pva@gentoo.org>
+ +files/fdupes-1.40-memcpy.patch, +fdupes-1.40-r1.ebuild:
+ Fix implicit declaration of memcpy, bug #184925, thank Daniel Santos for
+ report/fix. Don't use generic gcc command, bug #197226, thank Chris
+ Slycord for report/fix.
08 Feb 2007; Diego Pettenò <flameeyes@gentoo.org> ChangeLog:
Regenerate digest in Manifest2 format.
diff --git a/app-misc/fdupes/Manifest b/app-misc/fdupes/Manifest
index 9e88f25f9c11..657c1501d47b 100644
--- a/app-misc/fdupes/Manifest
+++ b/app-misc/fdupes/Manifest
@@ -1,4 +1,6 @@
+AUX fdupes-1.40-memcpy.patch 404 RMD160 3eb921066e968f8616b2425d0c327b4da1b2a22e SHA1 0f253ff9995edd7afb06a835ac3c1e8823202761 SHA256 fab0d75c156101524e105902a488de4bcebdec415c2dfa6cec596b757cb576d4
DIST fdupes-1.40.tar.gz 16026 RMD160 0abd2f0dfee38cb333c1069363a65f8ab37e18dd SHA1 e1bce9bdf50d7bf700dda3eb8a3d218b181b3931 SHA256 e1ed91c44bf4a08de9a92cb019c20420874fdeed49a56e8f270ad7fc26bbdde7
+EBUILD fdupes-1.40-r1.ebuild 832 RMD160 624b31cfc97109751efaad52df2fddf0de9f07d1 SHA1 c14ff24161d914f4f02bdb7a8b5a5b1bdb51ed50 SHA256 a59f53957473c4b93ab10ae4ebb00f3fd0728a9a415ed6e477eab295956ec883
EBUILD fdupes-1.40.ebuild 667 RMD160 3d51c2cada79331ddbf53e86edd38e8fcfec2866 SHA1 42aa0c59e09c28b048cfcf9f549fd8344c3e28c4 SHA256 d7444eae71d07bf752f34e35aab9770da0ac8de04eda0593b51d7142517857f5
-MISC ChangeLog 1191 RMD160 e439a060b4a50f8a371ed799c436be549f89ec88 SHA1 4a04292a1d6618c284d5d79ca4f5a40037878d42 SHA256 bfa550c318036688a6bfc8c82fa96bf57edfe77776b9b6b26df5aba2a57a8d14
+MISC ChangeLog 1492 RMD160 95cf3d77d8dc881311f2d47d5ebe0a4faa66b968 SHA1 b613927339c2a9eb076c93bf3319fa66229e27bc SHA256 91acb215d14e6edce05fa176798d49791ccec7bf9426fd1c3be87d769f677630
MISC metadata.xml 165 RMD160 c4557a3518a065b077539be5a0f20e4735fc2141 SHA1 1831705b1eb97b63968fc9eef31aa904a69a854a SHA256 75ca85c472d4181ae0de529c83826baaebe75d9e750ee6621758b5096bceffcd
diff --git a/app-misc/fdupes/fdupes-1.40-r1.ebuild b/app-misc/fdupes/fdupes-1.40-r1.ebuild
new file mode 100644
index 000000000000..ebd1e926bc8d
--- /dev/null
+++ b/app-misc/fdupes/fdupes-1.40-r1.ebuild
@@ -0,0 +1,34 @@
+# Copyright 1999-2008 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/app-misc/fdupes/fdupes-1.40-r1.ebuild,v 1.1 2008/05/12 21:40:21 pva Exp $
+
+inherit eutils toolchain-funcs
+
+DESCRIPTION="identify/delete duplicate files residing within specified directories"
+HOMEPAGE="http://netdial.caribe.net/~adrian2/fdupes.html"
+SRC_URI="http://netdial.caribe.net/~adrian2/programs/${P}.tar.gz"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sparc ~x86"
+IUSE=""
+
+DEPEND=""
+
+src_unpack() {
+ unpack ${A}
+ cd "${S}"
+
+ epatch "${FILESDIR}"/${P}-memcpy.patch
+}
+
+src_compile() {
+ sed -i -e "s:gcc:$(tc-getCC):" Makefile
+ emake || die
+}
+
+src_install() {
+ dobin fdupes || die
+ doman fdupes.1
+ dodoc CHANGES CONTRIBUTORS INSTALL README TODO
+}
diff --git a/app-misc/fdupes/files/fdupes-1.40-memcpy.patch b/app-misc/fdupes/files/fdupes-1.40-memcpy.patch
new file mode 100644
index 000000000000..03ec0ce2ca8c
--- /dev/null
+++ b/app-misc/fdupes/files/fdupes-1.40-memcpy.patch
@@ -0,0 +1,20 @@
+=== modified file 'md5/md5.c'
+--- md5/md5.c 2008-05-12 21:06:07 +0000
++++ md5/md5.c 2008-05-12 21:06:23 +0000
+@@ -39,6 +39,7 @@
+ */
+
+ #include "md5.h"
++#include <string.h>
+
+ #ifdef TEST
+ /*
+@@ -46,7 +47,6 @@
+ * The test program should print out the same values as given in section
+ * A.5 of RFC 1321, reproduced below.
+ */
+-#include <string.h>
+ main()
+ {
+ static const char *const test[7] = {
+