summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKarol Wojtaszek <sekretarz@gentoo.org>2005-08-03 20:41:32 +0000
committerKarol Wojtaszek <sekretarz@gentoo.org>2005-08-03 20:41:32 +0000
commitfe6eef9b9b759430b38d8010940f9154e0d4c49e (patch)
treed8a1aff7ad99f7bac30afb16053d1583c2387466 /net-p2p/dclib
parentfastboot patch fix (diff)
downloadhistorical-fe6eef9b9b759430b38d8010940f9154e0d4c49e.tar.gz
historical-fe6eef9b9b759430b38d8010940f9154e0d4c49e.tar.bz2
historical-fe6eef9b9b759430b38d8010940f9154e0d4c49e.zip
Applied patch which makes dclib to hash files propertly, thanks Kevin Borgnis <soft.eng.ice@gmail.com> in bug #91451
Package-Manager: portage-2.0.51.22-r2
Diffstat (limited to 'net-p2p/dclib')
-rw-r--r--net-p2p/dclib/ChangeLog7
-rw-r--r--net-p2p/dclib/Manifest15
-rw-r--r--net-p2p/dclib/dclib-0.3.7.ebuild3
-rw-r--r--net-p2p/dclib/files/dclib-0.3.7-hashfix.patch17
4 files changed, 38 insertions, 4 deletions
diff --git a/net-p2p/dclib/ChangeLog b/net-p2p/dclib/ChangeLog
index 4d667c76e3c8..24c015a8ba1d 100644
--- a/net-p2p/dclib/ChangeLog
+++ b/net-p2p/dclib/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for net-p2p/dclib
# Copyright 2002-2005 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-p2p/dclib/ChangeLog,v 1.63 2005/06/27 07:23:06 corsair Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-p2p/dclib/ChangeLog,v 1.64 2005/08/03 20:41:32 sekretarz Exp $
+
+ 03 Aug 2005; <sekretarz@gentoo.org> +files/dclib-0.3.7-hashfix.patch,
+ dclib-0.3.7.ebuild:
+ Applied patch which makes dclib to hash files propertly, thanks Kevin
+ Borgnis <soft.eng.ice@gmail.com> in bug #91451
27 Jun 2005; Markus Rothe <corsair@gentoo.org> dclib-0.3.7.ebuild:
Stable on ppc64
diff --git a/net-p2p/dclib/Manifest b/net-p2p/dclib/Manifest
index 281f1770271e..ab88bb6202f9 100644
--- a/net-p2p/dclib/Manifest
+++ b/net-p2p/dclib/Manifest
@@ -1,11 +1,14 @@
-MD5 58b94386f7e364e69561ba29fa861f3e ChangeLog 8335
+-----BEGIN PGP SIGNED MESSAGE-----
+Hash: SHA1
+
+MD5 6447cb0e79e83a0be998774a022db44a ChangeLog 8553
MD5 b390c9a4e24bbfe4837ed24d2787688d dclib-0.2.20.ebuild 731
MD5 12ec04ee5bbd4621828404befa747084 dclib-0.2.21.ebuild 732
MD5 2e4116cf22e4e0836ff6265e80a5e1b6 dclib-0.3.0.ebuild 731
MD5 635c31ef84b953e7d868313ee4c7fe24 dclib-0.3.3-r1.ebuild 768
MD5 5cd723905bd6899e384cfeb0ef797649 dclib-0.3.3.ebuild 731
MD5 c9a0a5ff25981842ca005d2acea4ca59 dclib-0.3.5.ebuild 731
-MD5 308808fe359fcef02351b0f64be61f3e dclib-0.3.7.ebuild 739
+MD5 aa63b03a3f2784c6fb749f1db7f3c802 dclib-0.3.7.ebuild 780
MD5 8aefbc0e49db723ca1ad02d0c409cd49 metadata.xml 160
MD5 257441a8793e2c0b6849fca25911edcc files/dclib-0.2.20-gcc2.patch 318
MD5 257441a8793e2c0b6849fca25911edcc files/dclib-0.2.21-gcc2.patch 318
@@ -20,3 +23,11 @@ MD5 c973c56c5bf413e3d4421444ae796b01 files/digest-dclib-0.3.3 64
MD5 c973c56c5bf413e3d4421444ae796b01 files/digest-dclib-0.3.3-r1 64
MD5 0528caf4ae1a9e3a4621da6b7bf73fcc files/digest-dclib-0.3.5 64
MD5 dd92353d174ee829629b6e1d6830883c files/digest-dclib-0.3.7 64
+MD5 675b5acc6767bbfd17fd947bf33ca78c files/dclib-0.3.7-hashfix.patch 552
+-----BEGIN PGP SIGNATURE-----
+Version: GnuPG v1.4.1 (GNU/Linux)
+
+iD8DBQFC8SwpZ/iYVBmujdURAmhhAKCbGK8hbC3NEfrLP7B3k2AxXY+1MACg3C57
+mNjTvvAb9H/TtBXIPIApUuY=
+=+lwS
+-----END PGP SIGNATURE-----
diff --git a/net-p2p/dclib/dclib-0.3.7.ebuild b/net-p2p/dclib/dclib-0.3.7.ebuild
index 02365f295fbd..80eacb86b7ba 100644
--- a/net-p2p/dclib/dclib-0.3.7.ebuild
+++ b/net-p2p/dclib/dclib-0.3.7.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2005 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-p2p/dclib/dclib-0.3.7.ebuild,v 1.4 2005/06/27 07:23:06 corsair Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-p2p/dclib/dclib-0.3.7.ebuild,v 1.5 2005/08/03 20:41:32 sekretarz Exp $
inherit toolchain-funcs eutils
@@ -19,6 +19,7 @@ src_unpack() {
unpack ${A}
cd ${S}
[ `gcc-major-version` == 2 ] && epatch ${FILESDIR}/${P}-gcc2.patch
+ epatch ${FILESDIR}/${P}-hashfix.patch
}
src_install() {
diff --git a/net-p2p/dclib/files/dclib-0.3.7-hashfix.patch b/net-p2p/dclib/files/dclib-0.3.7-hashfix.patch
new file mode 100644
index 000000000000..464ec21e9780
--- /dev/null
+++ b/net-p2p/dclib/files/dclib-0.3.7-hashfix.patch
@@ -0,0 +1,17 @@
+--- dclib/csearchindex.cpp.orig 2005-05-04 12:11:37.000000000 -0400
++++ dclib/csearchindex.cpp 2005-05-04 12:13:38.000000000 -0400
+@@ -420,9 +420,12 @@
+ CBase32 base32;
+ CByteArray dst,src;
+
+- if ( hbi < m_pHashIndex->Size() )
++ struct hashbaseobject * hbo;
++
++ if ( hbi < m_pHashBaseArray->Size() )
+ {
+- src.Append(m_pHashIndex->Data()+hbi,TIGERSIZE);
++ hbo = (struct hashbaseobject *)(m_pHashBaseArray->Data()+hbi);
++ src.Append(m_pHashIndex->Data()+hbo->m_nHashIndex,TIGERSIZE);
+ base32.Encode( &dst, &src );
+ if ( dst.Size() > 0 )
+ {