summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSven Wegener <swegener@gentoo.org>2006-10-09 22:44:04 +0000
committerSven Wegener <swegener@gentoo.org>2006-10-09 22:44:04 +0000
commit20cc75aade5d114e43b88e2d803ea1916127b429 (patch)
treea3bb456d0cc33b0641fa63ca5621066d5ccfe89d /net-nntp/pan
parentRestore old ChangeLog entries (diff)
downloadgentoo-2-20cc75aade5d114e43b88e2d803ea1916127b429.tar.gz
gentoo-2-20cc75aade5d114e43b88e2d803ea1916127b429.tar.bz2
gentoo-2-20cc75aade5d114e43b88e2d803ea1916127b429.zip
Add patch to fix bug #149865.
(Portage version: 2.1.2_pre2-r7)
Diffstat (limited to 'net-nntp/pan')
-rw-r--r--net-nntp/pan/ChangeLog6
-rw-r--r--net-nntp/pan/files/0.115-size_t.patch22
-rw-r--r--net-nntp/pan/pan-0.115.ebuild11
3 files changed, 37 insertions, 2 deletions
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 <swegener@gentoo.org> +files/0.115-size_t.patch,
+ pan-0.115.ebuild:
+ Add patch to fix bug #149865.
06 Oct 2006; Sven Wegener <swegener@gentoo.org> -pan-0.107.ebuild,
-pan-0.109.ebuild, -pan-0.111.ebuild, -pan-0.112.ebuild,
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<Part> 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<Quark> 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<Task*> tasks_t;
+- typedef std::map<int,Article::Part> number_to_part_t;
++ typedef std::map<size_t,Article::Part> 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"