From bd3729bb3341fe9cd9e7d2ed4f5f8765f114b925 Mon Sep 17 00:00:00 2001 From: Sven Wegener Date: Mon, 9 Oct 2006 22:44:04 +0000 Subject: [PATCH] Add patch to fix bug #149865. Package-Manager: portage-2.1.2_pre2-r7 --- net-nntp/pan/ChangeLog | 6 +++++- net-nntp/pan/Manifest | 26 +++++++++++++++----------- net-nntp/pan/files/0.115-size_t.patch | 22 ++++++++++++++++++++++ net-nntp/pan/pan-0.115.ebuild | 11 ++++++++++- 4 files changed, 52 insertions(+), 13 deletions(-) create mode 100644 net-nntp/pan/files/0.115-size_t.patch diff --git a/net-nntp/pan/ChangeLog b/net-nntp/pan/ChangeLog index f7f693704028..bd07bf137840 100644 --- a/net-nntp/pan/ChangeLog +++ b/net-nntp/pan/ChangeLog @@ -1,6 +1,10 @@ # ChangeLog for net-nntp/pan # Copyright 2002-2006 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/net-nntp/pan/ChangeLog,v 1.24 2006/10/06 17:14:16 swegener Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-nntp/pan/ChangeLog,v 1.25 2006/10/09 22:44:04 swegener Exp $ + + 09 Oct 2006; Sven Wegener +files/0.115-size_t.patch, + pan-0.115.ebuild: + Add patch to fix bug #149865. 06 Oct 2006; Sven Wegener -pan-0.107.ebuild, -pan-0.109.ebuild, -pan-0.111.ebuild, -pan-0.112.ebuild, diff --git a/net-nntp/pan/Manifest b/net-nntp/pan/Manifest index 5f1fd0e96fbc..a08d0f99c24a 100644 --- a/net-nntp/pan/Manifest +++ b/net-nntp/pan/Manifest @@ -1,6 +1,10 @@ -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 +AUX 0.115-size_t.patch 844 RMD160 bde80b3ba93ca5f4c73712af0b6dbcc1d05c26ec SHA1 4e2368f422790c898f871748663c5d6bdcdc4021 SHA256 4bfcf8f6d5d7bcb9c5c4eec2441f3afcbe6931369a04440db41d80548ccd3d4e +MD5 aaf37d1c6ae7716d8da8373c120e0f75 files/0.115-size_t.patch 844 +RMD160 bde80b3ba93ca5f4c73712af0b6dbcc1d05c26ec files/0.115-size_t.patch 844 +SHA256 4bfcf8f6d5d7bcb9c5c4eec2441f3afcbe6931369a04440db41d80548ccd3d4e files/0.115-size_t.patch 844 AUX pan-0.14.2-update-desktop-file.patch 1028 RMD160 12a05a7a1050b9d10d0ece9a117ecec930e4f6c2 SHA1 c2f41ecbccf27f440d61414b535b8112b13aff7b SHA256 ee4b8d882baf52c19ac5b2897fbaa05dfd6efd6b066fc65eea7b4d53d7d99606 MD5 daf054bb0ce6c974d349b379460e882b files/pan-0.14.2-update-desktop-file.patch 1028 RMD160 12a05a7a1050b9d10d0ece9a117ecec930e4f6c2 files/pan-0.14.2-update-desktop-file.patch 1028 @@ -12,10 +16,10 @@ SHA256 fd2ecb4b72c8046d30ef9dec43c088d5d346690c332a7b7dd9b66076b3ff7538 files/pa DIST pan-0.115.tar.bz2 1426927 RMD160 8241656070b547ccb3c4d30f1f706c07f6f7def7 SHA1 4df0b9560c32960579ed7cdcbdba1a466ff6fcd1 SHA256 341d541300f7bfbae116be7562232dda64af8d947b2e584b2ecf39ec64ca1112 DIST pan-0.14.2.91.tar.bz2 1919099 RMD160 372012f9f23ef1654125977ff4dee193021fb733 SHA1 1a321bd7425350a1991e6802b05bcea8b744f923 SHA256 1658c22fbe29ac0b88d2ae8e487247bad40618809719819297ecf0b7ae69a9ab DIST pan-0.14.2.tar.bz2 1834784 RMD160 0dff24b1d83b6fabfb9cc38a7dea5f9e99513009 SHA1 39c0128906d389524e24d55691e017cf509516a0 SHA256 d864907d3179cde5bdd7afa02c8a2bd00f1d23ce6053f704f64e7814c7f6aba4 -EBUILD pan-0.115.ebuild 920 RMD160 a1287da2f2b10364740f5023d5511171963163b7 SHA1 ad2e63eeb70e098862e7805543d9a674a1713488 SHA256 3e191258ed6379e49544c596b61f6f1343d7aa0695567c37b763734587b61c9a -MD5 96540eb1dc1ffe5bd7a0f94c760cf160 pan-0.115.ebuild 920 -RMD160 a1287da2f2b10364740f5023d5511171963163b7 pan-0.115.ebuild 920 -SHA256 3e191258ed6379e49544c596b61f6f1343d7aa0695567c37b763734587b61c9a pan-0.115.ebuild 920 +EBUILD pan-0.115.ebuild 1020 RMD160 7d9dc724a9de0ff7f88275ddaf9fa4169542862a SHA1 76753fac3539616ad0cbc2c8af1d2c34067efe9f SHA256 a7daf05021f9944729bc4f6e6d9151b01209998e6b7be432f168812b0d5ca40c +MD5 e02c5b1d9176dc430c08bf2446c123b2 pan-0.115.ebuild 1020 +RMD160 7d9dc724a9de0ff7f88275ddaf9fa4169542862a pan-0.115.ebuild 1020 +SHA256 a7daf05021f9944729bc4f6e6d9151b01209998e6b7be432f168812b0d5ca40c pan-0.115.ebuild 1020 EBUILD pan-0.14.2-r1.ebuild 1464 RMD160 2ebf773763b8ecdf5990983c37ad4b3632109b46 SHA1 2374d4c3998814c6e816890d74c60cc96c550662 SHA256 b58be4ddc80e685bfa5a74c1154c606b46a6cca03a0b514c682762ab8d4fb14f MD5 c187e5454875f125aae15c7d484cf599 pan-0.14.2-r1.ebuild 1464 RMD160 2ebf773763b8ecdf5990983c37ad4b3632109b46 pan-0.14.2-r1.ebuild 1464 @@ -32,10 +36,10 @@ EBUILD pan-0.14.2.ebuild 1408 RMD160 86e3777b3a8823ca270b1ea4bb0a95f5d29da368 SH MD5 e3716af855784ec0d031f94d1fabbadb pan-0.14.2.ebuild 1408 RMD160 86e3777b3a8823ca270b1ea4bb0a95f5d29da368 pan-0.14.2.ebuild 1408 SHA256 89df6ca136c22f69f4dcd24aaf2fb646db8b55f9fc58a031089bb7d83282ee59 pan-0.14.2.ebuild 1408 -MISC ChangeLog 9826 RMD160 92e042937dc4cb737748f1f165fbb6471ab12e1b SHA1 0a40f958bbbd9884e7df08322f155768c7b436f3 SHA256 5866246fea257f3971baae5fae40806933eb57332d8b6665b2fc368120e4abc8 -MD5 1430a9a821e3a2b238338fc4ebaa191e ChangeLog 9826 -RMD160 92e042937dc4cb737748f1f165fbb6471ab12e1b ChangeLog 9826 -SHA256 5866246fea257f3971baae5fae40806933eb57332d8b6665b2fc368120e4abc8 ChangeLog 9826 +MISC ChangeLog 9956 RMD160 6d8ad08091fd55e74a0503636e340884f5712247 SHA1 ac0c40f3e2d037ca21eff33c2795df87fada823c SHA256 ff572581176db282b60ff529010e6ff3df02c23f6e4afaa21961ca2ed80e45aa +MD5 dba71281794b7a8df1bcecdb6b528cd1 ChangeLog 9956 +RMD160 6d8ad08091fd55e74a0503636e340884f5712247 ChangeLog 9956 +SHA256 ff572581176db282b60ff529010e6ff3df02c23f6e4afaa21961ca2ed80e45aa ChangeLog 9956 MISC metadata.xml 180 RMD160 797b69d3fd6f36d441bda500c1310c91837720a4 SHA1 e2e177f18436d4250aadeadfd6ec27639861290e SHA256 1bb112215f4f710d26b79a43b61ec93003963663cfdec7b3b7173cfdbf85f52c MD5 b379ecb012e58dcb29c4feee0f5219f2 metadata.xml 180 RMD160 797b69d3fd6f36d441bda500c1310c91837720a4 metadata.xml 180 @@ -58,7 +62,7 @@ SHA256 fe8c623cf540b747754d6a036dcc2676907148e285b791833c73a891c3a52677 files/di -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.5 (GNU/Linux) -iD8DBQFFJo7uI1lqEGTUzyQRAoS2AJ9tWIgLvqrsdlHJZfuB3vvnB0AtGwCdF0ff -/GARjSQlA4AAb2GD6n0E79k= -=2b55 +iD8DBQFFKtC/I1lqEGTUzyQRAvQ7AJ97Pna121ToRVJJoYjXP/vYjtLsOgCfUORM +Dd1Pz6337DtHakLsOWeauAo= +=wbOC -----END PGP SIGNATURE----- diff --git a/net-nntp/pan/files/0.115-size_t.patch b/net-nntp/pan/files/0.115-size_t.patch new file mode 100644 index 000000000000..8fdf4d92e53d --- /dev/null +++ b/net-nntp/pan/files/0.115-size_t.patch @@ -0,0 +1,22 @@ +--- pan/data/article.h.orig 2006-09-30 20:36:03.584071112 -0400 ++++ pan/data/article.h 2006-09-30 20:37:09.154102952 -0400 +@@ -77,7 +77,7 @@ + typedef std::vector parts_t; + + Part& get_part (size_t part_number); +- const Part& get_part (unsigned int part_number) const; ++ const Part& get_part (size_t part_number) const; + void set_part_count (unsigned int); + typedef std::vector mid_sequence_t; + mid_sequence_t get_part_mids () const; +--- pan/tasks/nzb.cc 2006-09-29 18:24:02.000000000 -0700 ++++ pan/tasks/nzb.cc 2006-10-01 07:49:21.055682843 -0700 +@@ -37,7 +37,7 @@ using namespace pan; + namespace + { + typedef std::vector tasks_t; +- typedef std::map number_to_part_t; ++ typedef std::map number_to_part_t; + + struct MyContext + { diff --git a/net-nntp/pan/pan-0.115.ebuild b/net-nntp/pan/pan-0.115.ebuild index f77b73991396..595132d6c20e 100644 --- a/net-nntp/pan/pan-0.115.ebuild +++ b/net-nntp/pan/pan-0.115.ebuild @@ -1,6 +1,8 @@ # Copyright 1999-2006 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/net-nntp/pan/pan-0.115.ebuild,v 1.1 2006/10/01 09:42:55 swegener Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-nntp/pan/pan-0.115.ebuild,v 1.2 2006/10/09 22:44:04 swegener Exp $ + +inherit eutils DESCRIPTION="A newsreader for the Gnome2 desktop" HOMEPAGE="http://pan.rebelbase.com/" @@ -21,6 +23,13 @@ DEPEND="${RDEPEND} >=dev-util/intltool-0.21 sys-devel/gettext" +src_unpack() { + unpack ${A} + cd "${S}" + + epatch "${FILESDIR}"/0.115-size_t.patch +} + src_compile() { econf $(use_with spell gtkspell) || die "econf failed" emake || die "emake failed" -- 2.26.2