diff options
author | Diego Elio Pettenò <flameeyes@gentoo.org> | 2008-12-14 00:13:31 +0000 |
---|---|---|
committer | Diego Elio Pettenò <flameeyes@gentoo.org> | 2008-12-14 00:13:31 +0000 |
commit | 40ad87919811e97cc72c7ea3352e4cff0def90a2 (patch) | |
tree | 1107a60dbed4370a0b069b035d9419a91667c264 /app-crypt | |
parent | Add patch to build with GCC 4.3, thanks to Bert Karwatzki in bug #250623. (diff) | |
download | gentoo-2-40ad87919811e97cc72c7ea3352e4cff0def90a2.tar.gz gentoo-2-40ad87919811e97cc72c7ea3352e4cff0def90a2.tar.bz2 gentoo-2-40ad87919811e97cc72c7ea3352e4cff0def90a2.zip |
Add patch to build with GCC 4.3, thanks to Martin Väth in bug #250620.
(Portage version: 2.2_rc17/cvs/Linux 2.6.27-gentoo-r5 x86_64)
Diffstat (limited to 'app-crypt')
-rw-r--r-- | app-crypt/calcchecksum/ChangeLog | 8 | ||||
-rw-r--r-- | app-crypt/calcchecksum/calcchecksum-1.6_pre1.ebuild | 6 | ||||
-rw-r--r-- | app-crypt/calcchecksum/files/calcchecksum-1.6_pre1+gcc-4.3.patch | 23 |
3 files changed, 33 insertions, 4 deletions
diff --git a/app-crypt/calcchecksum/ChangeLog b/app-crypt/calcchecksum/ChangeLog index c338fd4e9eaa..e63eb5a9a7bc 100644 --- a/app-crypt/calcchecksum/ChangeLog +++ b/app-crypt/calcchecksum/ChangeLog @@ -1,6 +1,10 @@ # ChangeLog for app-crypt/calcchecksum -# Copyright 2000-2007 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/app-crypt/calcchecksum/ChangeLog,v 1.8 2007/02/03 23:52:14 flameeyes Exp $ +# Copyright 2000-2008 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/app-crypt/calcchecksum/ChangeLog,v 1.9 2008/12/14 00:13:31 flameeyes Exp $ + + 14 Dec 2008; Diego E. Pettenò <flameeyes@gentoo.org> + +files/calcchecksum-1.6_pre1+gcc-4.3.patch, calcchecksum-1.6_pre1.ebuild: + Add patch to build with GCC 4.3, thanks to Martin Väth in bug #250620. 03 Feb 2007; Diego Pettenò <flameeyes@gentoo.org> ChangeLog: Regenerate digest in Manifest2 format. diff --git a/app-crypt/calcchecksum/calcchecksum-1.6_pre1.ebuild b/app-crypt/calcchecksum/calcchecksum-1.6_pre1.ebuild index f5fce103cf2c..96f8daef9838 100644 --- a/app-crypt/calcchecksum/calcchecksum-1.6_pre1.ebuild +++ b/app-crypt/calcchecksum/calcchecksum-1.6_pre1.ebuild @@ -1,6 +1,6 @@ -# Copyright 1999-2005 Gentoo Foundation +# Copyright 1999-2008 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/app-crypt/calcchecksum/calcchecksum-1.6_pre1.ebuild,v 1.8 2005/04/21 18:00:26 blubb Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-crypt/calcchecksum/calcchecksum-1.6_pre1.ebuild,v 1.9 2008/12/14 00:13:31 flameeyes Exp $ inherit kde @@ -17,3 +17,5 @@ KEYWORDS="x86 amd64" IUSE="" need-kde 3.1 + +PATCHES=( "${FILESDIR}/${P}+gcc-4.3.patch" ) diff --git a/app-crypt/calcchecksum/files/calcchecksum-1.6_pre1+gcc-4.3.patch b/app-crypt/calcchecksum/files/calcchecksum-1.6_pre1+gcc-4.3.patch new file mode 100644 index 000000000000..d963d4412305 --- /dev/null +++ b/app-crypt/calcchecksum/files/calcchecksum-1.6_pre1+gcc-4.3.patch @@ -0,0 +1,23 @@ +--- calcchecksum-1.6-pre1/calcchecksum/calcchecksum.cpp ++++ calcchecksum-1.6-pre1/calcchecksum/calcchecksum.cpp +@@ -34,6 +34,8 @@ + #include <kurldrag.h> + #include <kiconloader.h> + ++#include <cstdlib> ++ + #include "calcchecksum.h" + #include "comparewndimpl.h" + #include "err.h" +--- calcchecksum-1.6-pre1/calcchecksum/globalstuff.cpp ++++ calcchecksum-1.6-pre1/calcchecksum/globalstuff.cpp +@@ -11,7 +11,8 @@ + + #include "globalstuff.h" + +-#include <stdio.h> ++#include <cstring> ++#include <cstdio> + #include <sys/stat.h> + + using std::string; |