diff options
author | Samuli Suominen <ssuominen@gentoo.org> | 2009-07-24 17:31:27 +0000 |
---|---|---|
committer | Samuli Suominen <ssuominen@gentoo.org> | 2009-07-24 17:31:27 +0000 |
commit | dccf8c7c1cf45dad4e5d83cb7e456c504c477252 (patch) | |
tree | 6e1f6df69c5fad1d60c36b9f5926ce6128cacfa5 /dev-db | |
parent | desmume gcc44 patch (diff) | |
download | historical-dccf8c7c1cf45dad4e5d83cb7e456c504c477252.tar.gz historical-dccf8c7c1cf45dad4e5d83cb7e456c504c477252.tar.bz2 historical-dccf8c7c1cf45dad4e5d83cb7e456c504c477252.zip |
Fix building with GCC 4.4 wrt #273832, thanks to Łukasz Michalik.
Package-Manager: portage-2.2_rc33/cvs/Linux x86_64
Diffstat (limited to 'dev-db')
-rw-r--r-- | dev-db/libodbc++/ChangeLog | 8 | ||||
-rw-r--r-- | dev-db/libodbc++/files/libodbc++-0.2.3-gcc44.patch | 11 | ||||
-rw-r--r-- | dev-db/libodbc++/libodbc++-0.2.3-r2.ebuild | 5 |
3 files changed, 20 insertions, 4 deletions
diff --git a/dev-db/libodbc++/ChangeLog b/dev-db/libodbc++/ChangeLog index d90968916f75..89c593e3cd15 100644 --- a/dev-db/libodbc++/ChangeLog +++ b/dev-db/libodbc++/ChangeLog @@ -1,6 +1,10 @@ # ChangeLog for dev-db/libodbc++ -# Copyright 2000-2008 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-db/libodbc++/ChangeLog,v 1.16 2008/11/16 20:44:59 halcy0n Exp $ +# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/dev-db/libodbc++/ChangeLog,v 1.17 2009/07/24 17:31:27 ssuominen Exp $ + + 24 Jul 2009; Samuli Suominen <ssuominen@gentoo.org> + libodbc++-0.2.3-r2.ebuild, +files/libodbc++-0.2.3-gcc44.patch: + Fix building with GCC 4.4 wrt #273832, thanks to Łukasz Michalik. 16 Nov 2008; Mark Loeser <halcy0n@gentoo.org> +files/libodbc++-0.2.3-gcc43.patch, libodbc++-0.2.3-r2.ebuild: diff --git a/dev-db/libodbc++/files/libodbc++-0.2.3-gcc44.patch b/dev-db/libodbc++/files/libodbc++-0.2.3-gcc44.patch new file mode 100644 index 000000000000..415ae0185e08 --- /dev/null +++ b/dev-db/libodbc++/files/libodbc++-0.2.3-gcc44.patch @@ -0,0 +1,11 @@ +--- libodbc++-0.2.3-orig/src/datastream.h 2009-06-12 13:31:54.000000000 +0200 ++++ libodbc++-0.2.3/src/datastream.h 2009-06-12 13:32:11.000000000 +0200 +@@ -25,6 +25,7 @@ + #include <odbc++/types.h> + + #if defined(ODBCXX_HAVE_ISO_CXXLIB) ++# include <cstdio> + # include <istream> + # include <streambuf> + #else + diff --git a/dev-db/libodbc++/libodbc++-0.2.3-r2.ebuild b/dev-db/libodbc++/libodbc++-0.2.3-r2.ebuild index f613afee6139..b3cf38c1c885 100644 --- a/dev-db/libodbc++/libodbc++-0.2.3-r2.ebuild +++ b/dev-db/libodbc++/libodbc++-0.2.3-r2.ebuild @@ -1,6 +1,6 @@ -# Copyright 1999-2008 Gentoo Foundation +# Copyright 1999-2009 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/dev-db/libodbc++/libodbc++-0.2.3-r2.ebuild,v 1.6 2008/11/16 20:44:59 halcy0n Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-db/libodbc++/libodbc++-0.2.3-r2.ebuild,v 1.7 2009/07/24 17:31:27 ssuominen Exp $ inherit eutils @@ -29,6 +29,7 @@ src_unpack() { epatch "${FILESDIR}"/${P}-gcc41.patch epatch "${FILESDIR}"/${P}-gcc43.patch epatch "${FILESDIR}"/${P}-typecast.patch + epatch "${FILESDIR}"/${P}-gcc44.patch # Fix configure to use ncurses instead of termcap (bug #103105) cd "${S}" |