summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTiziano Müller <dev-zero@gentoo.org>2008-07-31 19:25:55 +0000
committerTiziano Müller <dev-zero@gentoo.org>2008-07-31 19:25:55 +0000
commit57de7f031a9ac23041d228b6b1d16c40165193cc (patch)
tree180ac75b573c6e6d1c7ca14cd641bda778674bbf /net-misc/aria2
parentUh, fix homepage url, bug #233514. (diff)
downloadhistorical-57de7f031a9ac23041d228b6b1d16c40165193cc.tar.gz
historical-57de7f031a9ac23041d228b6b1d16c40165193cc.tar.bz2
historical-57de7f031a9ac23041d228b6b1d16c40165193cc.zip
Version bump. Dropped buggy version. Upstream included our patch.
Package-Manager: portage-2.2_rc5/cvs/Linux 2.6.26-gentoo x86_64
Diffstat (limited to 'net-misc/aria2')
-rw-r--r--net-misc/aria2/ChangeLog8
-rw-r--r--net-misc/aria2/Manifest7
-rw-r--r--net-misc/aria2/aria2-0.15.1.ebuild (renamed from net-misc/aria2/aria2-0.15.0.ebuild)6
-rw-r--r--net-misc/aria2/files/0.15.0-tests.patch305
4 files changed, 11 insertions, 315 deletions
diff --git a/net-misc/aria2/ChangeLog b/net-misc/aria2/ChangeLog
index bcfec6ccacc7..d78688ec8dee 100644
--- a/net-misc/aria2/ChangeLog
+++ b/net-misc/aria2/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for net-misc/aria2
# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-misc/aria2/ChangeLog,v 1.26 2008/07/26 15:30:56 dev-zero Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-misc/aria2/ChangeLog,v 1.27 2008/07/31 19:25:54 dev-zero Exp $
+
+*aria2-0.15.1 (31 Jul 2008)
+
+ 31 Jul 2008; Tiziano Müller <dev-zero@gentoo.org>
+ -files/0.15.0-tests.patch, -aria2-0.15.0.ebuild, +aria2-0.15.1.ebuild:
+ Version bump. Dropped buggy version. Upstream included our patch.
*aria2-0.15.0 (26 Jul 2008)
diff --git a/net-misc/aria2/Manifest b/net-misc/aria2/Manifest
index e41f478e790f..f05edffd33ac 100644
--- a/net-misc/aria2/Manifest
+++ b/net-misc/aria2/Manifest
@@ -1,11 +1,10 @@
AUX 0.13.1-broken_tests.patch 694 RMD160 5e361e70f0f48297692193cc060b112c9b520a6c SHA1 bb2e44622bef34289d580b0f10b012aacf690bcb SHA256 2df247f512d786b0edcb7b63e8b1361f8a57884ba99749833cb336df1d3e0fb1
AUX 0.13.1_p2-missing_includes.patch 858 RMD160 c6cc0473583e5a7d841a2467442ca4b75ba91480 SHA1 e23dad2f23ec5d9150401ea9334eed9de3e04a2b SHA256 c45999624221dd72b341a9112975666a3017d887580e8d39726fa503675dc38e
-AUX 0.15.0-tests.patch 12577 RMD160 9c095ad00cc64cca4fe3de4f234c46e9bbacb727 SHA1 eca90fc0bc212c4eb5a279b87eb7e8729d119fa8 SHA256 c00df6ce2c6c512d33466f24ec4611bedc96824fb2fe5feb537893efdeed3dcc
DIST aria2c-0.13.1+2.tar.bz2 841811 RMD160 5dbfba62f2b226574002839f545375efa6df65b7 SHA1 b3fc62b842a54fb3e0d8d7e923fc069d55c1fec0 SHA256 5f5cc74e006e1ead5413d2c9e464700f375fe0b2c7b1c39411979e073f363c10
DIST aria2c-0.13.2+1.tar.bz2 876561 RMD160 0e807f36ffcf9ee9f88060c044babb06a1210ef3 SHA1 58bf19d6c9948e143bf4916d69c78f9086b6b934 SHA256 62c97c47e1e65b6ee38f2e403f562315905acb1beec5d432d604c2455055db4c
-DIST aria2c-0.15.0.tar.bz2 986994 RMD160 8338ce8ab9dbbf8626b7c7a0605815a0394d8cf6 SHA1 3774de73d98d8e4a0dac4e345bfa27ecc0794b1d SHA256 a9619792dd1e37fb2d4cb6fc8e2eb7abae7d382f417db3933d69dab1f06531f1
+DIST aria2c-0.15.1.tar.bz2 990172 RMD160 fb3de7b96bac52030a23f4c3bc0e203b817394a8 SHA1 2a2b6a6c3abe16d38f44a9050ee80c12e0fea0c5 SHA256 0f032b59a18e3873b6c51986c55a371c037e81de61237188b80c89d1bc09e669
EBUILD aria2-0.13.1_p2.ebuild 1811 RMD160 3df11e33b5902c559f1e73b274ed3aa9417a584a SHA1 3830aa48638140b918672a7c028dd5b4810625f7 SHA256 5ba4c5f109d66c91b23e04df06dc66b100a04eddda4172141445a528cd27d80c
EBUILD aria2-0.13.2_p1.ebuild 1695 RMD160 8e6be9b4b4ab09b822bf63b3142211af87cae51a SHA1 ab155e3c3391e0c5eebe895b725f57e710aff89b SHA256 56c03af55bf70e47add7a8a2d13baac3c7b8e86d848f048a40d21b4f74636e43
-EBUILD aria2-0.15.0.ebuild 2010 RMD160 197030d1a0581b7ffd64806f4c6aeb8611b5162f SHA1 b7cc6312e96436084d3355a58444516f6deda002 SHA256 6c9b2cbc54e379ae381374fe4415f43efe8793e428165744b20a4b449e3876d0
-MISC ChangeLog 6618 RMD160 4ebb89b39a0c8c8fdfd7804ad72f65b2d9a9b287 SHA1 59c65d2fb0898d49b1d579b536723b13323cc431 SHA256 4c0605e33f028a6c6a457488b15df2afc9d9818571ca7b2ff8827e20cca132c4
+EBUILD aria2-0.15.1.ebuild 1953 RMD160 bf8df60a0fe474b6f052eae9afb9cbcbd6553908 SHA1 0e40e7361653b79b05eb1eccaf0f1d6f75a6a95a SHA256 1151da7d72c89185460998c2568c222a4e1d1273f4d79fe6b7b777a73cec0599
+MISC ChangeLog 6842 RMD160 2039997bf96da9dda4721dccb0f9dfdf79dc6b69 SHA1 b4dce609c9895af72622567bbd42edd1e44664f5 SHA256 b219e07f5226d375fc11117f3b1528edb9264d2aef60d82531d791187c3ec393
MISC metadata.xml 265 RMD160 c85123965668b23f1811316632fbfb72fd63a999 SHA1 8ad7e73978d73e5186d894119c85a29968801ebb SHA256 cd689fe179b5312728a09b08357517439bcfb056b7ca2a8056ad12fbd2a8ec39
diff --git a/net-misc/aria2/aria2-0.15.0.ebuild b/net-misc/aria2/aria2-0.15.1.ebuild
index 22cf784d6e10..4119ff6156ca 100644
--- a/net-misc/aria2/aria2-0.15.0.ebuild
+++ b/net-misc/aria2/aria2-0.15.1.ebuild
@@ -1,8 +1,6 @@
# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-misc/aria2/aria2-0.15.0.ebuild,v 1.1 2008/07/26 15:30:56 dev-zero Exp $
-
-inherit eutils
+# $Header: /var/cvsroot/gentoo-x86/net-misc/aria2/aria2-0.15.1.ebuild,v 1.1 2008/07/31 19:25:54 dev-zero Exp $
MY_P="aria2c-${PV/_p/+}"
@@ -36,8 +34,6 @@ src_unpack() {
unpack ${A}
cd "${S}"
- epatch "${FILESDIR}/${PV}-tests.patch"
-
sed -i -e "s|/tmp|${T}|" test/*.cc || die "sed failed"
}
diff --git a/net-misc/aria2/files/0.15.0-tests.patch b/net-misc/aria2/files/0.15.0-tests.patch
deleted file mode 100644
index f18dbe1d581f..000000000000
--- a/net-misc/aria2/files/0.15.0-tests.patch
+++ /dev/null
@@ -1,305 +0,0 @@
---- test/UtilTest.cc.orig 2008-07-26 14:24:56.000000000 +0200
-+++ test/UtilTest.cc 2008-07-26 14:27:58.000000000 +0200
-@@ -565,8 +565,8 @@
-
- void UtilTest::testParseLLInt()
- {
-- CPPUNIT_ASSERT_EQUAL(-1LL, Util::parseLLInt(" -1 "));
-- CPPUNIT_ASSERT_EQUAL(9223372036854775807LL,
-+ CPPUNIT_ASSERT_EQUAL((int64_t)-1LL, Util::parseLLInt(" -1 "));
-+ CPPUNIT_ASSERT_EQUAL((int64_t)9223372036854775807LL,
- Util::parseLLInt("9223372036854775807"));
- try {
- Util::parseLLInt("9223372036854775808");
-@@ -596,7 +596,7 @@
-
- void UtilTest::testParseULLInt()
- {
-- CPPUNIT_ASSERT_EQUAL(18446744073709551615ULL,
-+ CPPUNIT_ASSERT_EQUAL((uint64_t)18446744073709551615ULL,
- Util::parseULLInt("18446744073709551615"));
- try {
- Util::parseUInt("-1");
---- test/HttpHeaderProcessorTest.cc.orig 2008-07-26 14:29:03.000000000 +0200
-+++ test/HttpHeaderProcessorTest.cc 2008-07-26 14:29:35.000000000 +0200
-@@ -112,7 +112,7 @@
- header->getFirst("Date"));
- CPPUNIT_ASSERT_EQUAL(std::string("Apache/2.2.3 (Debian)"),
- header->getFirst("Server"));
-- CPPUNIT_ASSERT_EQUAL(9187ULL, header->getFirstAsULLInt("Content-Length"));
-+ CPPUNIT_ASSERT_EQUAL((uint64_t)9187ULL, header->getFirstAsULLInt("Content-Length"));
- CPPUNIT_ASSERT_EQUAL(std::string("text/html; charset=UTF-8"),
- header->getFirst("Content-Type"));
- }
---- test/BitfieldManTest.cc.orig 2008-07-26 15:37:07.000000000 +0200
-+++ test/BitfieldManTest.cc 2008-07-26 15:35:57.000000000 +0200
-@@ -342,7 +342,7 @@
- btman.setUseBit(index);
- CPPUNIT_ASSERT_EQUAL((size_t)7, index);
- CPPUNIT_ASSERT(!btman.getMissingUnusedIndex(index, peerBt, sizeof(peerBt)));
-- CPPUNIT_ASSERT_EQUAL(12ULL, btman.getFilteredTotalLength());
-+ CPPUNIT_ASSERT_EQUAL((uint64_t)12ULL, btman.getFilteredTotalLength());
-
- // test offset=5, length=2
- btman.clearAllBit();
-@@ -359,13 +359,13 @@
- btman.setBit(index);
- CPPUNIT_ASSERT_EQUAL((size_t)3, index);
- CPPUNIT_ASSERT(!btman.getMissingUnusedIndex(index, peerBt, sizeof(peerBt)));
-- CPPUNIT_ASSERT_EQUAL(4ULL, btman.getFilteredTotalLength());
-+ CPPUNIT_ASSERT_EQUAL((uint64_t)4ULL, btman.getFilteredTotalLength());
- CPPUNIT_ASSERT(btman.isFilteredAllBitSet());
-
- BitfieldMan btman2(2, 31);
- btman2.addFilter(0, 31);
- btman2.enableFilter();
-- CPPUNIT_ASSERT_EQUAL(31ULL, btman2.getFilteredTotalLength());
-+ CPPUNIT_ASSERT_EQUAL((uint64_t)31ULL, btman2.getFilteredTotalLength());
-
- }
-
-@@ -551,27 +551,27 @@
- CPPUNIT_ASSERT_EQUAL(totalLength, bf.getMissingUnusedLength(0));
-
- // from index 10 and all blocks are unused and not acquired.
-- CPPUNIT_ASSERT_EQUAL(10ULL, bf.getMissingUnusedLength(10));
-+ CPPUNIT_ASSERT_EQUAL((uint64_t)10ULL, bf.getMissingUnusedLength(10));
-
- // from index -1
-- CPPUNIT_ASSERT_EQUAL(0ULL, bf.getMissingUnusedLength(-1));
-+ CPPUNIT_ASSERT_EQUAL((uint64_t)0ULL, bf.getMissingUnusedLength(-1));
-
- // from index 11
-- CPPUNIT_ASSERT_EQUAL(0ULL, bf.getMissingUnusedLength(11));
-+ CPPUNIT_ASSERT_EQUAL((uint64_t)0ULL, bf.getMissingUnusedLength(11));
-
- // from index 12
-- CPPUNIT_ASSERT_EQUAL(0ULL, bf.getMissingUnusedLength(12));
-+ CPPUNIT_ASSERT_EQUAL((uint64_t)0ULL, bf.getMissingUnusedLength(12));
-
- // from index 0 and 5th block is used.
- bf.setUseBit(5);
-- CPPUNIT_ASSERT_EQUAL(5ULL*blockLength, bf.getMissingUnusedLength(0));
-+ CPPUNIT_ASSERT_EQUAL((uint64_t)5ULL*blockLength, bf.getMissingUnusedLength(0));
-
- // from index 0 and 4th block is acquired.
- bf.setBit(4);
-- CPPUNIT_ASSERT_EQUAL(4ULL*blockLength, bf.getMissingUnusedLength(0));
-+ CPPUNIT_ASSERT_EQUAL((uint64_t)4ULL*blockLength, bf.getMissingUnusedLength(0));
-
- // from index 1
-- CPPUNIT_ASSERT_EQUAL(3ULL*blockLength, bf.getMissingUnusedLength(1));
-+ CPPUNIT_ASSERT_EQUAL((uint64_t)3ULL*blockLength, bf.getMissingUnusedLength(1));
- }
-
- void BitfieldManTest::testSetBitRange()
-@@ -589,7 +589,7 @@
- for(size_t i = 5; i < 10; ++i) {
- CPPUNIT_ASSERT(!bf.isBitSet(i));
- }
-- CPPUNIT_ASSERT_EQUAL(5ULL*blockLength, bf.getCompletedLength());
-+ CPPUNIT_ASSERT_EQUAL((uint64_t)5ULL*blockLength, bf.getCompletedLength());
- }
-
- void BitfieldManTest::testGetAllMissingIndexes_noarg()
---- test/HttpResponseTest.cc.orig 2008-07-26 15:37:36.000000000 +0200
-+++ test/HttpResponseTest.cc 2008-07-26 15:39:05.000000000 +0200
-@@ -78,7 +78,7 @@
- {
- HttpResponse httpResponse;
-
-- CPPUNIT_ASSERT_EQUAL(0ULL, httpResponse.getContentLength());
-+ CPPUNIT_ASSERT_EQUAL((uint64_t)0ULL, httpResponse.getContentLength());
- }
-
- void HttpResponseTest::testGetContentLength_contentLength()
-@@ -90,7 +90,7 @@
-
- httpResponse.setHttpHeader(httpHeader);
-
-- CPPUNIT_ASSERT_EQUAL(4294967296ULL, httpResponse.getContentLength());
-+ CPPUNIT_ASSERT_EQUAL((uint64_t)4294967296ULL, httpResponse.getContentLength());
- }
-
- void HttpResponseTest::testGetEntityLength()
-@@ -102,11 +102,11 @@
-
- httpResponse.setHttpHeader(httpHeader);
-
-- CPPUNIT_ASSERT_EQUAL(4294967296ULL, httpResponse.getEntityLength());
-+ CPPUNIT_ASSERT_EQUAL((uint64_t)4294967296ULL, httpResponse.getEntityLength());
-
- httpHeader->put("Content-Range", "bytes 1-4294967296/4294967297");
-
-- CPPUNIT_ASSERT_EQUAL(4294967297ULL, httpResponse.getEntityLength());
-+ CPPUNIT_ASSERT_EQUAL((uint64_t)4294967297ULL, httpResponse.getEntityLength());
-
- }
-
---- test/DefaultDiskWriterTest.cc.orig 2008-07-26 15:39:33.000000000 +0200
-+++ test/DefaultDiskWriterTest.cc 2008-07-26 15:39:54.000000000 +0200
-@@ -24,7 +24,7 @@
- {
- DefaultDiskWriter dw;
- dw.openExistingFile("4096chunk.txt");
-- CPPUNIT_ASSERT_EQUAL(4096ULL, dw.size());
-+ CPPUNIT_ASSERT_EQUAL((uint64_t)4096ULL, dw.size());
- }
-
- } // namespace aria2
---- test/BtRequestMessageTest.cc.orig 2008-07-26 15:40:57.000000000 +0200
-+++ test/BtRequestMessageTest.cc 2008-07-26 15:41:32.000000000 +0200
-@@ -145,7 +145,7 @@
- CPPUNIT_ASSERT_EQUAL((uint8_t)6, pm->getId());
- CPPUNIT_ASSERT_EQUAL((size_t)12345, pm->getIndex());
- CPPUNIT_ASSERT_EQUAL((uint32_t)256, pm->getBegin());
-- CPPUNIT_ASSERT_EQUAL((size_t)1024, pm->getLength());
-+ CPPUNIT_ASSERT_EQUAL((uint32_t)1024, pm->getLength());
-
- // case: payload size is wrong
- try {
---- test/DefaultPieceStorageTest.cc.orig 2008-07-26 15:42:13.000000000 +0200
-+++ test/DefaultPieceStorageTest.cc 2008-07-26 15:43:06.000000000 +0200
-@@ -72,7 +72,7 @@
- void DefaultPieceStorageTest::testGetTotalLength() {
- DefaultPieceStorage pss(btContext, option);
-
-- CPPUNIT_ASSERT_EQUAL(384ULL, pss.getTotalLength());
-+ CPPUNIT_ASSERT_EQUAL((uint64_t)384ULL, pss.getTotalLength());
- }
-
- void DefaultPieceStorageTest::testGetMissingPiece() {
-@@ -132,15 +132,15 @@
- piece->toString());
- #endif // !__MINGW32__
-
-- CPPUNIT_ASSERT_EQUAL(0ULL, pss.getCompletedLength());
-+ CPPUNIT_ASSERT_EQUAL((uint64_t)0ULL, pss.getCompletedLength());
-
- pss.completePiece(piece);
-
-- CPPUNIT_ASSERT_EQUAL(128ULL, pss.getCompletedLength());
-+ CPPUNIT_ASSERT_EQUAL((uint64_t)128ULL, pss.getCompletedLength());
-
- SharedHandle<Piece> incompletePiece = pss.getMissingPiece(peer);
- incompletePiece->completeBlock(0);
-- CPPUNIT_ASSERT_EQUAL(256ULL, pss.getCompletedLength());
-+ CPPUNIT_ASSERT_EQUAL((uint64_t)256ULL, pss.getCompletedLength());
- }
-
- void DefaultPieceStorageTest::testGetPiece() {
---- test/DefaultBtContextTest.cc.orig 2008-07-26 15:43:36.000000000 +0200
-+++ test/DefaultBtContextTest.cc 2008-07-26 15:44:01.000000000 +0200
-@@ -129,14 +129,14 @@
- DefaultBtContext btContext;
- btContext.load("test.torrent");
-
-- CPPUNIT_ASSERT_EQUAL(384ULL, btContext.getTotalLength());
-+ CPPUNIT_ASSERT_EQUAL((uint64_t)384ULL, btContext.getTotalLength());
- }
-
- void DefaultBtContextTest::testGetTotalLengthSingle() {
- DefaultBtContext btContext;
- btContext.load("single.torrent");
-
-- CPPUNIT_ASSERT_EQUAL(384ULL, btContext.getTotalLength());
-+ CPPUNIT_ASSERT_EQUAL((uint64_t)384ULL, btContext.getTotalLength());
- }
-
- void DefaultBtContextTest::testGetFileModeMulti() {
---- test/PeerSessionResourceTest.cc.orig 2008-07-26 15:44:44.000000000 +0200
-+++ test/PeerSessionResourceTest.cc 2008-07-26 15:45:26.000000000 +0200
-@@ -103,20 +103,20 @@
- {
- PeerSessionResource res(1024, 1024*1024);
-
-- CPPUNIT_ASSERT_EQUAL(0ULL, res.uploadLength());
-+ CPPUNIT_ASSERT_EQUAL((uint64_t)0ULL, res.uploadLength());
- res.updateUploadLength(100);
- res.updateUploadLength(200);
-- CPPUNIT_ASSERT_EQUAL(300ULL, res.uploadLength());
-+ CPPUNIT_ASSERT_EQUAL((uint64_t)300ULL, res.uploadLength());
- }
-
- void PeerSessionResourceTest::testUpdateDownloadLength()
- {
- PeerSessionResource res(1024, 1024*1024);
-
-- CPPUNIT_ASSERT_EQUAL(0ULL, res.downloadLength());
-+ CPPUNIT_ASSERT_EQUAL((uint64_t)0ULL, res.downloadLength());
- res.updateDownloadLength(100);
- res.updateDownloadLength(200);
-- CPPUNIT_ASSERT_EQUAL(300ULL, res.downloadLength());
-+ CPPUNIT_ASSERT_EQUAL((uint64_t)300ULL, res.downloadLength());
- }
-
- void PeerSessionResourceTest::testUpdateLatency()
---- test/Metalink2RequestGroupTest.cc.orig 2008-07-26 15:47:04.000000000 +0200
-+++ test/Metalink2RequestGroupTest.cc 2008-07-26 15:47:22.000000000 +0200
-@@ -46,7 +46,7 @@
- SharedHandle<SingleFileDownloadContext> dctx
- (dynamic_pointer_cast<SingleFileDownloadContext>(rg->getDownloadContext()));
- CPPUNIT_ASSERT(!dctx.isNull());
-- CPPUNIT_ASSERT_EQUAL(0ULL, dctx->getTotalLength());
-+ CPPUNIT_ASSERT_EQUAL((uint64_t)0ULL, dctx->getTotalLength());
- #ifdef ENABLE_MESSAGE_DIGEST
- CPPUNIT_ASSERT_EQUAL(std::string("sha1"), dctx->getChecksumHashAlgo());
- CPPUNIT_ASSERT_EQUAL(std::string("a96cf3f0266b91d87d5124cf94326422800b627d"),
---- test/MetalinkParserControllerTest.cc.orig 2008-07-26 15:47:44.000000000 +0200
-+++ test/MetalinkParserControllerTest.cc 2008-07-26 15:48:02.000000000 +0200
-@@ -59,7 +59,7 @@
- CPPUNIT_ASSERT_EQUAL((size_t)1, m->entries.size());
- SharedHandle<MetalinkEntry> e = m->entries.front();
- CPPUNIT_ASSERT_EQUAL(std::string("aria2.tar.bz2"), e->file->getPath());
-- CPPUNIT_ASSERT_EQUAL(1024*1024ULL, e->file->getLength());
-+ CPPUNIT_ASSERT_EQUAL((uint64_t)(1024*1024ULL), e->file->getLength());
- CPPUNIT_ASSERT_EQUAL((off_t)0, e->file->getOffset());
- CPPUNIT_ASSERT_EQUAL(std::string("1.0"), e->version);
- CPPUNIT_ASSERT_EQUAL(std::string("ja_JP"), e->language);
---- test/MetalinkProcessorTest.cc.orig 2008-07-26 15:49:34.000000000 +0200
-+++ test/MetalinkProcessorTest.cc 2008-07-26 15:50:13.000000000 +0200
-@@ -73,7 +73,7 @@
-
- SharedHandle<MetalinkEntry> entry1 = *entryItr;
- CPPUNIT_ASSERT_EQUAL(std::string("aria2-0.5.2.tar.bz2"), entry1->getPath());
-- CPPUNIT_ASSERT_EQUAL(0ULL, entry1->getLength());
-+ CPPUNIT_ASSERT_EQUAL((uint64_t)0ULL, entry1->getLength());
- CPPUNIT_ASSERT_EQUAL(std::string("0.5.2"), entry1->version);
- CPPUNIT_ASSERT_EQUAL(std::string("en-US"), entry1->language);
- CPPUNIT_ASSERT_EQUAL(std::string("Linux-x86"), entry1->os);
-@@ -121,7 +121,7 @@
-
- SharedHandle<MetalinkEntry> entry2 = *entryItr;
- CPPUNIT_ASSERT_EQUAL(std::string("aria2-0.5.1.tar.bz2"), entry2->getPath());
-- CPPUNIT_ASSERT_EQUAL(345689ULL, entry2->getLength());
-+ CPPUNIT_ASSERT_EQUAL((uint64_t)345689ULL, entry2->getLength());
- CPPUNIT_ASSERT_EQUAL(std::string("0.5.1"), entry2->version);
- CPPUNIT_ASSERT_EQUAL(std::string("ja-JP"), entry2->language);
- CPPUNIT_ASSERT_EQUAL(std::string("Linux-m68k"), entry2->os);
-@@ -236,7 +236,7 @@
- std::deque<SharedHandle<MetalinkEntry> >::iterator entryItr = m->entries.begin();
- SharedHandle<MetalinkEntry> e = *entryItr;
- CPPUNIT_ASSERT_EQUAL(std::string("aria2-0.5.2.tar.bz2"), e->getPath());
-- CPPUNIT_ASSERT_EQUAL(0ULL, e->getLength());
-+ CPPUNIT_ASSERT_EQUAL((uint64_t)0ULL, e->getLength());
- CPPUNIT_ASSERT_EQUAL(std::string("0.5.2"), e->version);
- CPPUNIT_ASSERT_EQUAL(std::string("en-US"), e->language);
- CPPUNIT_ASSERT_EQUAL(std::string("Linux-x86"), e->os);
-@@ -267,7 +267,7 @@
-
- std::deque<SharedHandle<MetalinkEntry> >::iterator entryItr = m->entries.begin();
- SharedHandle<MetalinkEntry> e = *entryItr;
-- CPPUNIT_ASSERT_EQUAL(43743838ULL, e->getLength());
-+ CPPUNIT_ASSERT_EQUAL((uint64_t)43743838ULL, e->getLength());
- } catch(Exception& e) {
- CPPUNIT_FAIL(e.stackTrace());
- }
-@@ -545,7 +545,7 @@
- try {
- SharedHandle<Metalinker> m = proc->parseFromBinaryStream(dw);
- SharedHandle<MetalinkEntry> e = m->entries[0];
-- CPPUNIT_ASSERT_EQUAL(9223372036854775807ULL, e->getLength());
-+ CPPUNIT_ASSERT_EQUAL((uint64_t)9223372036854775807ULL, e->getLength());
- } catch(Exception& e) {
- CPPUNIT_FAIL(e.stackTrace());
- }