summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2009-03-14 11:58:45 +0000
committerMike Frysinger <vapier@gentoo.org>2009-03-14 11:58:45 +0000
commit612f2edc7f4d84fe7ae22fe2419f17b7d4191651 (patch)
treecaf824998fc598787ce7576cef8b613d9e5d9a38 /app-arch
parentppc stable #261824 (diff)
downloadgentoo-2-612f2edc7f4d84fe7ae22fe2419f17b7d4191651.tar.gz
gentoo-2-612f2edc7f4d84fe7ae22fe2419f17b7d4191651.tar.bz2
gentoo-2-612f2edc7f4d84fe7ae22fe2419f17b7d4191651.zip
Add fix by Daniel J. for gcc-4.4 #262286.
(Portage version: 2.2_rc25/cvs/Linux x86_64)
Diffstat (limited to 'app-arch')
-rw-r--r--app-arch/lzip/ChangeLog6
-rw-r--r--app-arch/lzip/files/lzip-1.4-headers.patch22
-rw-r--r--app-arch/lzip/lzip-1.4.ebuild3
3 files changed, 29 insertions, 2 deletions
diff --git a/app-arch/lzip/ChangeLog b/app-arch/lzip/ChangeLog
index b0546d8e9e5c..15b8fac8bbab 100644
--- a/app-arch/lzip/ChangeLog
+++ b/app-arch/lzip/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for app-arch/lzip
# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-arch/lzip/ChangeLog,v 1.1 2009/02/02 19:28:05 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-arch/lzip/ChangeLog,v 1.2 2009/03/14 11:58:45 vapier Exp $
+
+ 14 Mar 2009; Mike Frysinger <vapier@gentoo.org>
+ +files/lzip-1.4-headers.patch, lzip-1.4.ebuild:
+ Add fix by Daniel J. for gcc-4.4 #262286.
*lzip-1.4 (02 Feb 2009)
diff --git a/app-arch/lzip/files/lzip-1.4-headers.patch b/app-arch/lzip/files/lzip-1.4-headers.patch
new file mode 100644
index 000000000000..b2c5f029d72b
--- /dev/null
+++ b/app-arch/lzip/files/lzip-1.4-headers.patch
@@ -0,0 +1,22 @@
+http://bugs.gentoo.org/262286
+
+--- lzip-1.4/decoder.cc
++++ lzip-1.4/decoder.cc
+@@ -22,6 +22,7 @@
+ #include <cstring>
+ #include <string>
+ #include <vector>
++#include <cstdio>
+ #include <stdint.h>
+
+ #include "lzip.h"
+--- lzip-1.4/lziprecover.cc
++++ lzip-1.4/lziprecover.cc
+@@ -28,6 +28,7 @@
+ #include <cstring>
+ #include <string>
+ #include <vector>
++#include <cstdio>
+ #include <fcntl.h>
+ #include <stdint.h>
+ #include <unistd.h>
diff --git a/app-arch/lzip/lzip-1.4.ebuild b/app-arch/lzip/lzip-1.4.ebuild
index c1c56adf99b4..115807d466dc 100644
--- a/app-arch/lzip/lzip-1.4.ebuild
+++ b/app-arch/lzip/lzip-1.4.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/app-arch/lzip/lzip-1.4.ebuild,v 1.1 2009/02/02 19:28:05 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-arch/lzip/lzip-1.4.ebuild,v 1.2 2009/03/14 11:58:45 vapier Exp $
inherit eutils toolchain-funcs
@@ -17,6 +17,7 @@ src_unpack() {
unpack ${A}
cd "${S}"
epatch "${FILESDIR}"/${P}-build.patch
+ epatch "${FILESDIR}"/${P}-headers.patch
tc-export CC CXX
}