diff options
author | Martin Schlemmer <azarah@gentoo.org> | 2005-04-29 13:25:50 +0000 |
---|---|---|
committer | Martin Schlemmer <azarah@gentoo.org> | 2005-04-29 13:25:50 +0000 |
commit | 404158ba984e7ca1a55454ff625cbcc516eb3808 (patch) | |
tree | 76147895779300415f35e221bf614cc6a5a88d78 | |
parent | cleaning (diff) | |
download | gentoo-2-404158ba984e7ca1a55454ff625cbcc516eb3808.tar.gz gentoo-2-404158ba984e7ca1a55454ff625cbcc516eb3808.tar.bz2 gentoo-2-404158ba984e7ca1a55454ff625cbcc516eb3808.zip |
Fix gcc4 patch's pointer arithmatic.
(Portage version: 2.0.51.20-r5)
-rw-r--r-- | net-nntp/pan/ChangeLog | 8 | ||||
-rw-r--r-- | net-nntp/pan/Manifest | 14 | ||||
-rw-r--r-- | net-nntp/pan/files/digest-pan-0.14.2.91-r1 | 1 | ||||
-rw-r--r-- | net-nntp/pan/files/pan-0.14.2.91-gcc4.patch | 12 | ||||
-rw-r--r-- | net-nntp/pan/pan-0.14.2.91-r1.ebuild | 58 |
5 files changed, 75 insertions, 18 deletions
diff --git a/net-nntp/pan/ChangeLog b/net-nntp/pan/ChangeLog index 49e14d2d7be6..fd5ed673b429 100644 --- a/net-nntp/pan/ChangeLog +++ b/net-nntp/pan/ChangeLog @@ -1,6 +1,12 @@ # 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.4 2005/04/25 16:29:30 azarah Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-nntp/pan/ChangeLog,v 1.5 2005/04/29 13:25:49 azarah Exp $ + +*pan-0.14.2.91-r1 (29 Apr 2005) + + 29 Apr 2005; Martin Schlemmer <azarah@gentoo.org> + files/pan-0.14.2.91-gcc4.patch, +pan-0.14.2.91-r1.ebuild: + Fix gcc4 patch's pointer arithmatic. 25 Apr 2005; Martin Schlemmer <azarah@gentoo.org> +files/pan-0.14.2.91-gcc4.patch, pan-0.14.2.91.ebuild: diff --git a/net-nntp/pan/Manifest b/net-nntp/pan/Manifest index 6f4c11232e39..ff55a0f687f3 100644 --- a/net-nntp/pan/Manifest +++ b/net-nntp/pan/Manifest @@ -1,17 +1,9 @@ ------BEGIN PGP SIGNED MESSAGE----- -Hash: SHA1 - MD5 f75bd0f103976176cbc911a7f468c259 ChangeLog 6985 MD5 b379ecb012e58dcb29c4feee0f5219f2 metadata.xml 180 MD5 174713b7a47ec08aa89ba36656948abe pan-0.14.2.91.ebuild 1498 MD5 6225c7c8a053c3b857b7b6ca504bd4f9 pan-0.14.2.ebuild 1388 +MD5 174713b7a47ec08aa89ba36656948abe pan-0.14.2.91-r1.ebuild 1498 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----- +MD5 daf4b06f3fce576fbf35e97bcffa9305 files/pan-0.14.2.91-gcc4.patch 698 +MD5 bc715242bd05043ca432fb54b03e2fdf files/digest-pan-0.14.2.91-r1 67 diff --git a/net-nntp/pan/files/digest-pan-0.14.2.91-r1 b/net-nntp/pan/files/digest-pan-0.14.2.91-r1 new file mode 100644 index 000000000000..8d1304772a69 --- /dev/null +++ b/net-nntp/pan/files/digest-pan-0.14.2.91-r1 @@ -0,0 +1 @@ +MD5 4770d899a1c1ba968ce96bc5aeb07b62 pan-0.14.2.91.tar.bz2 1919099 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 index 519019568442..931c9442f932 100644 --- a/net-nntp/pan/files/pan-0.14.2.91-gcc4.patch +++ b/net-nntp/pan/files/pan-0.14.2.91-gcc4.patch @@ -6,18 +6,18 @@ --n1; - *((unsigned long int *) tmp)++ = - *((unsigned long int *) b1)++; -+ *tmp = *b1; -+ tmp++; -+ b1++; ++ *((unsigned long int *) tmp) = *((unsigned long int *) b1); ++ tmp += sizeof(unsigned long int); ++ b1 += sizeof(unsigned long int); } else { --n2; - *((unsigned long int *) tmp)++ = - *((unsigned long int *) b2)++; -+ *tmp = *b2; -+ tmp++; -+ b1++; ++ *((unsigned long int *) tmp) = *((unsigned long int *) b2); ++ tmp += sizeof(unsigned long int); ++ b1 += sizeof(unsigned long int); } } else diff --git a/net-nntp/pan/pan-0.14.2.91-r1.ebuild b/net-nntp/pan/pan-0.14.2.91-r1.ebuild new file mode 100644 index 000000000000..970eb6894c74 --- /dev/null +++ b/net-nntp/pan/pan-0.14.2.91-r1.ebuild @@ -0,0 +1,58 @@ +# 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-r1.ebuild,v 1.1 2005/04/29 13:25:49 azarah Exp $ + +inherit eutils libtool + +IUSE="nls spell" + +DESCRIPTION="A newsreader for the Gnome2 desktop" +SRC_URI="http://pan.rebelbase.com/download/releases/${PV}/SOURCE/${P}.tar.bz2" +HOMEPAGE="http://pan.rebelbase.com/" + +LICENSE="GPL-2" +KEYWORDS="~x86 ~hppa ~ppc ~sparc ~amd64 ppc64" +SLOT="0" + +RDEPEND=">=dev-libs/glib-2.0.4 + >=x11-libs/gtk+-2.0.5 + >=dev-libs/libxml2-2.4.22 + >=net-libs/gnet-1.1.8 + >=dev-libs/libpcre-4.0 + spell? ( >=app-text/gtkspell-2.0.2 )" + +DEPEND="${RDEPEND} + >=dev-util/intltool-0.21 + sys-devel/gettext" + +export CONFIG_PROTECT_MASK="/etc/gconf" + +pkg_setup() { + # Likely that glibc might of been compiled with nls turned off. + # Warn people that Pan requires glibc to have nls support. + if ! use nls + then + ewarn "Pan requires glibc to be merged with 'nls' in your USE flags." + fi +} + +src_unpack() { + unpack ${A} + cd ${S} + + # Fix for building with gcc4 + epatch ${FILESDIR}/${P}-gcc4.patch + + elibtoolize || die "elibtoolize failed" +} + +src_compile() { + econf $(use_enable spell gtkspell) || die "Configure failure" + emake || die "Compilation failure" +} + +src_install() { + make install DESTDIR=${D} || die "Installation failed" + dodoc AUTHORS ChangeLog CREDITS NEWS README TODO || die "dodoc failed" + dohtml ANNOUNCE.html docs/{pan-shortcuts,faq}.html || die "dodoc failed" +} |