diff options
author | Mark Loeser <halcy0n@gentoo.org> | 2008-11-15 20:07:11 +0000 |
---|---|---|
committer | Mark Loeser <halcy0n@gentoo.org> | 2008-11-15 20:07:11 +0000 |
commit | d303a06e20e4f0f0a63eb0a852bbe26b2c6f40af (patch) | |
tree | 680ce6eb885867487e2f2562d0177a39abcb7e9d | |
parent | Block dvibook for the 2008 version too, thanks Diego, bug #246957 (diff) | |
download | gentoo-2-d303a06e20e4f0f0a63eb0a852bbe26b2c6f40af.tar.gz gentoo-2-d303a06e20e4f0f0a63eb0a852bbe26b2c6f40af.tar.bz2 gentoo-2-d303a06e20e4f0f0a63eb0a852bbe26b2c6f40af.zip |
Fix compilation with gcc-4.3, thanks to J.M. Gottfried and Andreas Philipp; bug #224113
(Portage version: 2.2_rc14/cvs/Linux 2.6.27.1 x86_64)
-rw-r--r-- | net-misc/kvpnc/ChangeLog | 7 | ||||
-rw-r--r-- | net-misc/kvpnc/files/kvpnc-0.9.0-gcc43.patch | 21 | ||||
-rw-r--r-- | net-misc/kvpnc/kvpnc-0.9.0.ebuild | 10 |
3 files changed, 35 insertions, 3 deletions
diff --git a/net-misc/kvpnc/ChangeLog b/net-misc/kvpnc/ChangeLog index 50039299aad8..6d0aef9c7262 100644 --- a/net-misc/kvpnc/ChangeLog +++ b/net-misc/kvpnc/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for net-misc/kvpnc # Copyright 2002-2008 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/net-misc/kvpnc/ChangeLog,v 1.32 2008/02/07 22:09:03 philantrop Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-misc/kvpnc/ChangeLog,v 1.33 2008/11/15 20:07:07 halcy0n Exp $ + + 15 Nov 2008; Mark Loeser <halcy0n@gentoo.org> + +files/kvpnc-0.9.0-gcc43.patch, kvpnc-0.9.0.ebuild: + Fix compilation with gcc-4.3, thanks to J.M. Gottfried and Andreas + Philipp; bug #224113 *kvpnc-0.9.0 (07 Feb 2008) diff --git a/net-misc/kvpnc/files/kvpnc-0.9.0-gcc43.patch b/net-misc/kvpnc/files/kvpnc-0.9.0-gcc43.patch new file mode 100644 index 000000000000..a0bad6e749e4 --- /dev/null +++ b/net-misc/kvpnc/files/kvpnc-0.9.0-gcc43.patch @@ -0,0 +1,21 @@ +--- src/kvpnc.h 2008-05-29 09:58:45.000000000 +0200 ++++ src/kvpnc.h 2008-05-29 09:59:07.000000000 +0200 +@@ -77,7 +77,7 @@ + * @param parent Parent widget + * @param name Name of the Mainwindow + */ +- KVpnc( KApplication *parent, QWidget*parent = 0, const char *name = 0 ); ++ KVpnc( KApplication *parent, QWidget*qparent = 0, const char *name = 0 ); + + /** + * Destruktor +--- src/toolinfo.cpp 2008-05-29 09:59:19.000000000 +0200 ++++ src/toolinfo.cpp 2008-05-29 09:59:37.000000000 +0200 +@@ -21,6 +21,7 @@ + #include "toolinfo.h" + #include <qfile.h> + #include <iostream> ++#include <cstdlib> + #include <klocale.h> + #include <kstandarddirs.h> + #include <kmessagebox.h> diff --git a/net-misc/kvpnc/kvpnc-0.9.0.ebuild b/net-misc/kvpnc/kvpnc-0.9.0.ebuild index 5a05dc626052..e67b17166de4 100644 --- a/net-misc/kvpnc/kvpnc-0.9.0.ebuild +++ b/net-misc/kvpnc/kvpnc-0.9.0.ebuild @@ -1,8 +1,8 @@ # Copyright 1999-2008 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/net-misc/kvpnc/kvpnc-0.9.0.ebuild,v 1.1 2008/02/07 22:09:03 philantrop Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-misc/kvpnc/kvpnc-0.9.0.ebuild,v 1.2 2008/11/15 20:07:07 halcy0n Exp $ -inherit kde +inherit kde eutils DESCRIPTION="kvpnc - a KDE-VPN connection utility." SRC_URI="http://download.gna.org/${PN}/${P}.tar.bz2" @@ -17,3 +17,9 @@ RDEPEND="cisco? ( >=net-misc/vpnc-0.4 ) smartcard? ( >=dev-libs/openct-0.6.11-r1 )" need-kde 3.5 + +src_unpack() { + kde_src_unpack + + epatch "${FILESDIR}"/kvpnc-0.9.0-gcc43.patch +} |