summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRyan Hill <dirtyepic@gentoo.org>2008-04-20 22:35:38 +0000
committerRyan Hill <dirtyepic@gentoo.org>2008-04-20 22:35:38 +0000
commitf53151c9f0aa27101509087ceb756a510932be20 (patch)
tree2a7c1ded3d9f3a77b90e1d713fb7e03e54413353 /dev-libs/libcdio
parentversion bump (diff)
downloadgentoo-2-f53151c9f0aa27101509087ceb756a510932be20.tar.gz
gentoo-2-f53151c9f0aa27101509087ceb756a510932be20.tar.bz2
gentoo-2-f53151c9f0aa27101509087ceb756a510932be20.zip
Add patch for GCC 4.3, bug #204436.
(Portage version: 2.2_pre5)
Diffstat (limited to 'dev-libs/libcdio')
-rw-r--r--dev-libs/libcdio/ChangeLog6
-rw-r--r--dev-libs/libcdio/files/libcdio-0.79-gcc-4.3-include.patch11
-rw-r--r--dev-libs/libcdio/libcdio-0.79-r1.ebuild3
3 files changed, 18 insertions, 2 deletions
diff --git a/dev-libs/libcdio/ChangeLog b/dev-libs/libcdio/ChangeLog
index bb96601e33d9..3f400806bddc 100644
--- a/dev-libs/libcdio/ChangeLog
+++ b/dev-libs/libcdio/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for dev-libs/libcdio
# Copyright 2002-2008 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-libs/libcdio/ChangeLog,v 1.92 2008/01/15 17:42:39 rbu Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-libs/libcdio/ChangeLog,v 1.93 2008/04/20 22:35:37 dirtyepic Exp $
+
+ 20 Apr 2008; Ryan Hill <dirtyepic@gentoo.org>
+ +files/libcdio-0.79-gcc-4.3-include.patch, libcdio-0.79-r1.ebuild:
+ Add patch for GCC 4.3, bug #204436.
15 Jan 2008; Robert Buchholz <rbu@gentoo.org> libcdio-0.78.2-r4.ebuild:
amd64 stable (bug #203777)
diff --git a/dev-libs/libcdio/files/libcdio-0.79-gcc-4.3-include.patch b/dev-libs/libcdio/files/libcdio-0.79-gcc-4.3-include.patch
new file mode 100644
index 000000000000..d775a93d9634
--- /dev/null
+++ b/dev-libs/libcdio/files/libcdio-0.79-gcc-4.3-include.patch
@@ -0,0 +1,11 @@
+diff -Naur libcdio-0.79-orig/include/cdio++/iso9660.hpp libcdio-0.79/include/cdio++/iso9660.hpp
+--- libcdio-0.79-orig/include/cdio++/iso9660.hpp 2006-03-07 15:04:01.000000000 -0600
++++ libcdio-0.79/include/cdio++/iso9660.hpp 2008-01-05 09:32:02.000000000 -0600
+@@ -29,6 +29,7 @@
+
+ #include <cdio/iso9660.h>
+ #include <cdio++/cdio.hpp>
++#include <stdlib.h>
+ #include <string.h>
+ #include <vector> // vector class library
+ using namespace std;
diff --git a/dev-libs/libcdio/libcdio-0.79-r1.ebuild b/dev-libs/libcdio/libcdio-0.79-r1.ebuild
index 53403ffde948..0354a4a107ef 100644
--- a/dev-libs/libcdio/libcdio-0.79-r1.ebuild
+++ b/dev-libs/libcdio/libcdio-0.79-r1.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-libs/libcdio/libcdio-0.79-r1.ebuild,v 1.1 2008/01/13 16:17:58 flameeyes Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-libs/libcdio/libcdio-0.79-r1.ebuild,v 1.2 2008/04/20 22:35:37 dirtyepic Exp $
inherit eutils libtool multilib
@@ -26,6 +26,7 @@ src_unpack() {
cd "${S}"
epatch "${FILESDIR}/${PN}-0.78.2-bug203777-ter.patch"
+ epatch "${FILESDIR}"/${P}-gcc-4.3-include.patch
elibtoolize
}