diff options
author | Patrick Lauer <patrick@gentoo.org> | 2009-04-03 15:17:32 +0000 |
---|---|---|
committer | Patrick Lauer <patrick@gentoo.org> | 2009-04-03 15:17:32 +0000 |
commit | 8df8968f4c4ebf96c287d477bc3763483e620966 (patch) | |
tree | b35897a6a77708c2d82eec041869b9dcba13a0c0 /net-ftp | |
parent | Version bump for security bug #237476. Since this is basically 1.6.0.7 with o... (diff) | |
download | historical-8df8968f4c4ebf96c287d477bc3763483e620966.tar.gz historical-8df8968f4c4ebf96c287d477bc3763483e620966.tar.bz2 historical-8df8968f4c4ebf96c287d477bc3763483e620966.zip |
Fix gcc 4.3 compile failure. Thanks to Magnus Granberg, fixes #261299
Package-Manager: portage-2.2_rc28/cvs/Linux x86_64
Diffstat (limited to 'net-ftp')
-rw-r--r-- | net-ftp/pftpfxp/ChangeLog | 6 | ||||
-rw-r--r-- | net-ftp/pftpfxp/Manifest | 5 | ||||
-rw-r--r-- | net-ftp/pftpfxp/files/1.11-gcc43.patch | 11 | ||||
-rw-r--r-- | net-ftp/pftpfxp/pftpfxp-1.11.ebuild | 6 |
4 files changed, 24 insertions, 4 deletions
diff --git a/net-ftp/pftpfxp/ChangeLog b/net-ftp/pftpfxp/ChangeLog index fe8a992579ba..37d7e260c9d8 100644 --- a/net-ftp/pftpfxp/ChangeLog +++ b/net-ftp/pftpfxp/ChangeLog @@ -1,6 +1,10 @@ # ChangeLog for net-ftp/pftpfxp # Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/net-ftp/pftpfxp/ChangeLog,v 1.13 2009/03/08 03:00:36 dragonheart Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-ftp/pftpfxp/ChangeLog,v 1.14 2009/04/03 15:17:32 patrick Exp $ + + 03 Apr 2009; Patrick Lauer <patrick@gentoo.org> +files/1.11-gcc43.patch, + pftpfxp-1.11.ebuild: + Fix gcc 4.3 compile failure. Thanks to Magnus Granberg, fixes #261299 *pftpfxp-1.11 (08 Mar 2009) diff --git a/net-ftp/pftpfxp/Manifest b/net-ftp/pftpfxp/Manifest index e70f99fffd7f..b2696b57b807 100644 --- a/net-ftp/pftpfxp/Manifest +++ b/net-ftp/pftpfxp/Manifest @@ -1,10 +1,11 @@ AUX 0.11.4.6-correct_bookmark_path.patch 4188 RMD160 c80f2cfb3ccd497ff4eb5fb1dbff8c10f97b38c4 SHA1 82954335f0d0ed894110496f457583741ba16476 SHA256 3cf45197a50d68a2bbc0628f9f6c4413ec39ad5a0dedf3a5c7ba12c0bdd69a25 AUX 0.11.4.6-correct_config_fix.patch 3627 RMD160 abdc33a659ca21b73fdede3ceb5d851c2dc20617 SHA1 a6863c2e625ded0b7f79868752aa28e773dfde2a SHA256 1ff39aedb3b7bba0fb3e76b9786dde4b24dd7ae8d28d588206012abe9ec17fa9 AUX 0.11.4.6-gcc3.4.fix 505 RMD160 594f4126145c4ac2cdaeb0668e6ed038542b2654 SHA1 45797d787d09d10f428ec8bada32375d403d6d25 SHA256 e38b89ec2484a5dc3c39947b5daac9751f2ee1ab4b5bb84d56a1e34aeaebe4d9 +AUX 1.11-gcc43.patch 396 RMD160 58a875e66d4583aa8c33dce28ce4ec2cede2f030 SHA1 4eec4c144c22c6d70bc81b24c88b64c374729eec SHA256 730319ee6f2b011d8760878a99e314ef096a8cd3e6679b81d05fdda8d46f4255 AUX pftpfxp-v0.11.4mew6-pret.patch 3559 RMD160 b4321eadfb2f1283ee9b99a234fbb635829aea02 SHA1 85dd4918600438b155ea4c1dd264614ee46cb0fb SHA256 ba74c7a64c3904961a3ed47e711f1bd6960315b2b3b8ecf83a3480d500ed9309 DIST pftp-shit.v.1.11.zip 154917 RMD160 174f7851d3d6d9b407c49292ce2aae10e3d79c26 SHA1 7820a9f2f1fa51a6746ea170d21ac9abde558d99 SHA256 08e6d278ffe663b6428d57eb66ca25034ccbbe5dc5e1c7c7117f26f448ff7968 DIST pftpfxp-v0.11.4mew6.tgz 137093 RMD160 7d60f8cb2469d7bb95561631c05a5692dccde995 SHA1 b64483097be88218a9238a4050155e22342541d4 SHA256 c119435cd844eda76631dde77104e2d0daeef44923158776927d3b51dd5b1e9b EBUILD pftpfxp-0.11.4.6-r3.ebuild 1553 RMD160 13e5592f40002ca30762eb4248b144a3d4032e0b SHA1 1fd255af07517725e4d444c567a576e45354c42c SHA256 925b6f0081ed1720392db4933758f4f9edb15f38080dd08e7b414c64f2736ce9 -EBUILD pftpfxp-1.11.ebuild 1239 RMD160 700b6885f2fb3fe54410fab8ddfae59cd017b08c SHA1 3879f06178557e1be3587a481c004ce4bd1162f0 SHA256 3ecba17041f0452f322986d7a3fcf701316debb33abd49d8eee6d0dd2b630cd4 -MISC ChangeLog 2461 RMD160 263d0211eec7a1a1bde87ce8d02de62eb10ac86a SHA1 f1c286f3cde39d864086bea0a1b8c81a3185a259 SHA256 87205df6ac99d1f2d4bca2ecebe778845a4f4f88863d63f062848aac0772a910 +EBUILD pftpfxp-1.11.ebuild 1291 RMD160 505c34845f4dde2a7ee27b30fb9dd1a16ceca745 SHA1 866f0568486c46733f5fb1cf7a60489133eb595d SHA256 2a3bda650704eb7a00038ab9c79dc14d23d3844a61af3ba675b2506291b2a394 +MISC ChangeLog 2628 RMD160 dc0e44b306c4d4fb3b727e073d8347eeefc5f3ee SHA1 cd04834fb3812bdd9ed1a70e3eba1e3b6fd18ed5 SHA256 9a22a4147d89ce3b02269fdd786cc6fa8745e4305798ee31e866c92f8585a8d0 MISC metadata.xml 403 RMD160 48afb924f8ddebfd4ea31a43eca3b277a30b62b6 SHA1 ec604212b5eb7dde6256c827184a228eaa8161d5 SHA256 148b8bb5514a7787fab372ad8a71c93c67db9ce84ed2aa5953691c2104ca788a diff --git a/net-ftp/pftpfxp/files/1.11-gcc43.patch b/net-ftp/pftpfxp/files/1.11-gcc43.patch new file mode 100644 index 000000000000..d8a1c88cf419 --- /dev/null +++ b/net-ftp/pftpfxp/files/1.11-gcc43.patch @@ -0,0 +1,11 @@ +--- src/tcp.cc 2003-11-08 23:00:00.000000000 +0000 ++++ src/tcp.cc 2009-03-11 22:26:49.000000000 +0000 +@@ -1176,7 +1176,7 @@ + this->size = 0; + + if ((outfile_fd = +- open(name, O_CREAT | O_TRUNC | O_RDWR | O_BINARY)) == -1) { ++ open(name, O_CREAT | O_TRUNC | O_RDWR | O_BINARY, 0644)) == -1) { + this->error = E_BAD_LOCALFILE; + return (FALSE); + } diff --git a/net-ftp/pftpfxp/pftpfxp-1.11.ebuild b/net-ftp/pftpfxp/pftpfxp-1.11.ebuild index 774061f91be8..d96ea313e985 100644 --- a/net-ftp/pftpfxp/pftpfxp-1.11.ebuild +++ b/net-ftp/pftpfxp/pftpfxp-1.11.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2009 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/net-ftp/pftpfxp/pftpfxp-1.11.ebuild,v 1.1 2009/03/08 03:00:36 dragonheart Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-ftp/pftpfxp/pftpfxp-1.11.ebuild,v 1.2 2009/04/03 15:17:32 patrick Exp $ EAPI=2 inherit eutils toolchain-funcs @@ -16,6 +16,10 @@ IUSE="ssl" DEPEND="ssl? ( >=dev-libs/openssl-0.9.6c )" S=${WORKDIR}/${MY_P} +src_prepare() { + epatch "$FILESDIR/1.11-gcc43.patch" +} + src_configure() { #fix permissions of configure script chmod +x configure |