summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMark Loeser <halcy0n@gentoo.org>2008-11-16 20:44:59 +0000
committerMark Loeser <halcy0n@gentoo.org>2008-11-16 20:44:59 +0000
commit93625b21be2243f827e091ee53984d2f17075d83 (patch)
tree25fc20d109c14133cf057fab821bae68044fddcd /dev-db/libodbc++
parentVersion bump. (diff)
downloadgentoo-2-93625b21be2243f827e091ee53984d2f17075d83.tar.gz
gentoo-2-93625b21be2243f827e091ee53984d2f17075d83.tar.bz2
gentoo-2-93625b21be2243f827e091ee53984d2f17075d83.zip
Add patch to fix compilation with gcc-4.3. Thanks to Marek Miller <mlm AT ngc17 DOT pl>; bug #226781
(Portage version: 2.2_rc14/cvs/Linux 2.6.27.1 x86_64)
Diffstat (limited to 'dev-db/libodbc++')
-rw-r--r--dev-db/libodbc++/ChangeLog9
-rw-r--r--dev-db/libodbc++/files/libodbc++-0.2.3-gcc43.patch11
-rw-r--r--dev-db/libodbc++/libodbc++-0.2.3-r2.ebuild5
3 files changed, 21 insertions, 4 deletions
diff --git a/dev-db/libodbc++/ChangeLog b/dev-db/libodbc++/ChangeLog
index 42fa811ab4dc..d90968916f75 100644
--- a/dev-db/libodbc++/ChangeLog
+++ b/dev-db/libodbc++/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for dev-db/libodbc++
-# Copyright 2000-2006 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-db/libodbc++/ChangeLog,v 1.15 2006/12/02 00:07:15 dev-zero Exp $
+# 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 $
+
+ 16 Nov 2008; Mark Loeser <halcy0n@gentoo.org>
+ +files/libodbc++-0.2.3-gcc43.patch, libodbc++-0.2.3-r2.ebuild:
+ Add patch to fix compilation with gcc-4.3. Thanks to Marek Miller <mlm AT
+ ngc17 DOT pl>; bug #226781
02 Dec 2006; Tiziano Müller <dev-zero@gentoo.org>
-libodbc++-0.2.3.ebuild, -libodbc++-0.2.3-r1.ebuild:
diff --git a/dev-db/libodbc++/files/libodbc++-0.2.3-gcc43.patch b/dev-db/libodbc++/files/libodbc++-0.2.3-gcc43.patch
new file mode 100644
index 000000000000..fe76162715d0
--- /dev/null
+++ b/dev-db/libodbc++/files/libodbc++-0.2.3-gcc43.patch
@@ -0,0 +1,11 @@
+--- libodbc++-0.2.3/include/odbc++/types.h.orig 2008-06-14 16:39:35.000000000 +0000
++++ libodbc++-0.2.3/include/odbc++/types.h 2008-06-14 16:39:58.000000000 +0000
+@@ -25,6 +25,7 @@
+ #include <odbc++/setup.h>
+
+ #include <exception>
++#include <cstring>
+
+ #if !defined(ODBCXX_QT)
+ # include <string>
+
diff --git a/dev-db/libodbc++/libodbc++-0.2.3-r2.ebuild b/dev-db/libodbc++/libodbc++-0.2.3-r2.ebuild
index 51f4de92748d..f613afee6139 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-2006 Gentoo Foundation
+# Copyright 1999-2008 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.5 2006/11/15 10:04:29 mabi Exp $
+# $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 $
inherit eutils
@@ -27,6 +27,7 @@ src_unpack() {
epatch "${FILESDIR}"/${P}-std-streamsize.patch
epatch "${FILESDIR}"/${P}-doxygen.patch
epatch "${FILESDIR}"/${P}-gcc41.patch
+ epatch "${FILESDIR}"/${P}-gcc43.patch
epatch "${FILESDIR}"/${P}-typecast.patch
# Fix configure to use ncurses instead of termcap (bug #103105)