summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexis Ballier <aballier@gentoo.org>2007-11-19 07:31:49 +0000
committerAlexis Ballier <aballier@gentoo.org>2007-11-19 07:31:49 +0000
commit8cdfe7b01f67241344969aeb975ac3896d303035 (patch)
tree23e00ed551457e167780262b97b7afc6ca03d387 /dev-libs/libcdio
parentStable on mips, per #195173. (diff)
downloadgentoo-2-8cdfe7b01f67241344969aeb975ac3896d303035.tar.gz
gentoo-2-8cdfe7b01f67241344969aeb975ac3896d303035.tar.bz2
gentoo-2-8cdfe7b01f67241344969aeb975ac3896d303035.zip
add fix to build with gcc 4.3, thanks to Ryan Hill <dirtyepic@gentoo.org>, bug #199613
(Portage version: 2.1.3.19)
Diffstat (limited to 'dev-libs/libcdio')
-rw-r--r--dev-libs/libcdio/ChangeLog7
-rw-r--r--dev-libs/libcdio/files/libcdio-0.78.2-gcc-4.3-includes.patch11
-rw-r--r--dev-libs/libcdio/libcdio-0.78.2-r1.ebuild3
3 files changed, 19 insertions, 2 deletions
diff --git a/dev-libs/libcdio/ChangeLog b/dev-libs/libcdio/ChangeLog
index 5970e01700e7..e739e34879ab 100644
--- a/dev-libs/libcdio/ChangeLog
+++ b/dev-libs/libcdio/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for dev-libs/libcdio
# Copyright 2002-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-libs/libcdio/ChangeLog,v 1.73 2007/11/16 14:23:24 zzam Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-libs/libcdio/ChangeLog,v 1.74 2007/11/19 07:31:48 aballier Exp $
+
+ 19 Nov 2007; Alexis Ballier <aballier@gentoo.org>
+ +files/libcdio-0.78.2-gcc-4.3-includes.patch, libcdio-0.78.2-r1.ebuild:
+ add fix to build with gcc 4.3, thanks to Ryan Hill <dirtyepic@gentoo.org>,
+ bug #199613
*libcdio-0.78.2-r1 (16 Nov 2007)
diff --git a/dev-libs/libcdio/files/libcdio-0.78.2-gcc-4.3-includes.patch b/dev-libs/libcdio/files/libcdio-0.78.2-gcc-4.3-includes.patch
new file mode 100644
index 000000000000..f35b66d22b93
--- /dev/null
+++ b/dev-libs/libcdio/files/libcdio-0.78.2-gcc-4.3-includes.patch
@@ -0,0 +1,11 @@
+diff -Naur libcdio-0.78.2-orig/include/cdio++/iso9660.hpp libcdio-0.78.2/include/cdio++/iso9660.hpp
+--- libcdio-0.78.2-orig/include/cdio++/iso9660.hpp 2006-03-07 15:04:01.000000000 -0600
++++ libcdio-0.78.2/include/cdio++/iso9660.hpp 2007-11-18 19:41:03.000000000 -0600
+@@ -30,6 +30,7 @@
+ #include <cdio/iso9660.h>
+ #include <cdio++/cdio.hpp>
+ #include <string.h>
++#include <cstdlib>
+ #include <vector> // vector class library
+ using namespace std;
+
diff --git a/dev-libs/libcdio/libcdio-0.78.2-r1.ebuild b/dev-libs/libcdio/libcdio-0.78.2-r1.ebuild
index b6147f781288..4887b2afcf64 100644
--- a/dev-libs/libcdio/libcdio-0.78.2-r1.ebuild
+++ b/dev-libs/libcdio/libcdio-0.78.2-r1.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2007 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-libs/libcdio/libcdio-0.78.2-r1.ebuild,v 1.1 2007/11/16 14:23:24 zzam Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-libs/libcdio/libcdio-0.78.2-r1.ebuild,v 1.2 2007/11/19 07:31:48 aballier Exp $
inherit eutils libtool multilib
@@ -23,6 +23,7 @@ RESTRICT="test"
src_unpack() {
unpack ${A}
+ epatch "${FILESDIR}/${P}-gcc-4.3-includes.patch"
elibtoolize
}