summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMartin Schlemmer <azarah@gentoo.org>2005-04-25 16:29:30 +0000
committerMartin Schlemmer <azarah@gentoo.org>2005-04-25 16:29:30 +0000
commit59b2a088a4e999dd67eb162c374e3b8a04f08b64 (patch)
tree8ad34fe3ff6a4514fba174753cb1bcc0caa264f8 /net-nntp/pan
parentKeyworded ~amd64 (diff)
downloadhistorical-59b2a088a4e999dd67eb162c374e3b8a04f08b64.tar.gz
historical-59b2a088a4e999dd67eb162c374e3b8a04f08b64.tar.bz2
historical-59b2a088a4e999dd67eb162c374e3b8a04f08b64.zip
Fix for building with gcc4.
Package-Manager: portage-2.0.51.20-r4
Diffstat (limited to 'net-nntp/pan')
-rw-r--r--net-nntp/pan/ChangeLog6
-rw-r--r--net-nntp/pan/Manifest15
-rw-r--r--net-nntp/pan/files/pan-0.14.2.91-gcc4.patch23
-rw-r--r--net-nntp/pan/pan-0.14.2.91.ebuild7
4 files changed, 46 insertions, 5 deletions
diff --git a/net-nntp/pan/ChangeLog b/net-nntp/pan/ChangeLog
index 1755bb709b9a..49e14d2d7be6 100644
--- a/net-nntp/pan/ChangeLog
+++ b/net-nntp/pan/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for net-nntp/pan
# Copyright 2002-2005 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-nntp/pan/ChangeLog,v 1.3 2005/02/06 17:40:23 corsair Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-nntp/pan/ChangeLog,v 1.4 2005/04/25 16:29:30 azarah Exp $
+
+ 25 Apr 2005; Martin Schlemmer <azarah@gentoo.org>
+ +files/pan-0.14.2.91-gcc4.patch, pan-0.14.2.91.ebuild:
+ Fix for building with gcc4.
06 Feb 2005; Markus Rothe <corsair@gentoo.org> pan-0.14.2.91.ebuild:
Stable on ppc64
diff --git a/net-nntp/pan/Manifest b/net-nntp/pan/Manifest
index 2eca0b4e9747..6f4c11232e39 100644
--- a/net-nntp/pan/Manifest
+++ b/net-nntp/pan/Manifest
@@ -1,6 +1,17 @@
-MD5 e744f7fae56e82694bbe9fdb6f052224 ChangeLog 6846
+-----BEGIN PGP SIGNED MESSAGE-----
+Hash: SHA1
+
+MD5 f75bd0f103976176cbc911a7f468c259 ChangeLog 6985
MD5 b379ecb012e58dcb29c4feee0f5219f2 metadata.xml 180
-MD5 c6adc22fcf3c7c1604ec9fc2294d80ab pan-0.14.2.91.ebuild 1425
+MD5 174713b7a47ec08aa89ba36656948abe pan-0.14.2.91.ebuild 1498
MD5 6225c7c8a053c3b857b7b6ca504bd4f9 pan-0.14.2.ebuild 1388
MD5 179a6776627498e226a1cc2d6bdc33d2 files/digest-pan-0.14.2 64
MD5 bc715242bd05043ca432fb54b03e2fdf files/digest-pan-0.14.2.91 67
+MD5 30ecc2fad79b171cb54e441dfd8d41f8 files/pan-0.14.2.91-gcc4.patch 494
+-----BEGIN PGP SIGNATURE-----
+Version: GnuPG v1.4.1 (GNU/Linux)
+
+iD8DBQFCbRv51ZcsMnZjRyIRAhoWAJ90JjlxI+zi305GzGYwVmn0CFGPVgCfeZXT
+UgfvV+HGbmdZXQd/YdeYZPo=
+=RLcy
+-----END PGP SIGNATURE-----
diff --git a/net-nntp/pan/files/pan-0.14.2.91-gcc4.patch b/net-nntp/pan/files/pan-0.14.2.91-gcc4.patch
new file mode 100644
index 000000000000..519019568442
--- /dev/null
+++ b/net-nntp/pan/files/pan-0.14.2.91-gcc4.patch
@@ -0,0 +1,23 @@
+--- pan-0.14.2.91/pan/base/msort.c.orig 2005-04-25 15:54:31.000000000 +0000
++++ pan-0.14.2.91/pan/base/msort.c 2005-04-25 15:59:21.000000000 +0000
+@@ -65,14 +65,16 @@
+ if ((*cmp) (b1, b2) <= 0)
+ {
+ --n1;
+- *((unsigned long int *) tmp)++ =
+- *((unsigned long int *) b1)++;
++ *tmp = *b1;
++ tmp++;
++ b1++;
+ }
+ else
+ {
+ --n2;
+- *((unsigned long int *) tmp)++ =
+- *((unsigned long int *) b2)++;
++ *tmp = *b2;
++ tmp++;
++ b1++;
+ }
+ }
+ else
diff --git a/net-nntp/pan/pan-0.14.2.91.ebuild b/net-nntp/pan/pan-0.14.2.91.ebuild
index a76306ed0a82..a2437fb821ee 100644
--- a/net-nntp/pan/pan-0.14.2.91.ebuild
+++ b/net-nntp/pan/pan-0.14.2.91.ebuild
@@ -1,8 +1,8 @@
# Copyright 1999-2005 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-nntp/pan/pan-0.14.2.91.ebuild,v 1.2 2005/02/06 17:40:23 corsair Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-nntp/pan/pan-0.14.2.91.ebuild,v 1.3 2005/04/25 16:29:30 azarah Exp $
-inherit libtool
+inherit eutils libtool
IUSE="nls spell"
@@ -40,6 +40,9 @@ src_unpack() {
unpack ${A}
cd ${S}
+ # Fix for building with gcc4
+ epatch ${FILESDIR}/${P}-gcc4.patch
+
elibtoolize || die "elibtoolize failed"
}