summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDiego Elio Pettenò <flameeyes@gentoo.org>2008-12-14 00:13:31 +0000
committerDiego Elio Pettenò <flameeyes@gentoo.org>2008-12-14 00:13:31 +0000
commit920d75e33e16d602fdf92a562c008a4a299857a3 (patch)
tree33f9352aaf58e8aa251f217704805c8add520af4 /app-crypt/calcchecksum
parentAdd patch to build with GCC 4.3, thanks to Bert Karwatzki in bug #250623. (diff)
downloadhistorical-920d75e33e16d602fdf92a562c008a4a299857a3.tar.gz
historical-920d75e33e16d602fdf92a562c008a4a299857a3.tar.bz2
historical-920d75e33e16d602fdf92a562c008a4a299857a3.zip
Add patch to build with GCC 4.3, thanks to Martin Väth in bug #250620.
Package-Manager: portage-2.2_rc17/cvs/Linux 2.6.27-gentoo-r5 x86_64
Diffstat (limited to 'app-crypt/calcchecksum')
-rw-r--r--app-crypt/calcchecksum/ChangeLog8
-rw-r--r--app-crypt/calcchecksum/calcchecksum-1.6_pre1.ebuild6
-rw-r--r--app-crypt/calcchecksum/files/calcchecksum-1.6_pre1+gcc-4.3.patch23
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;