diff options
-rw-r--r-- | dev-cpp/libgtksourceviewmm/ChangeLog | 6 | ||||
-rw-r--r-- | dev-cpp/libgtksourceviewmm/files/0.3.1-missing_includes.patch | 21 | ||||
-rw-r--r-- | dev-cpp/libgtksourceviewmm/libgtksourceviewmm-0.3.1.ebuild | 8 |
3 files changed, 31 insertions, 4 deletions
diff --git a/dev-cpp/libgtksourceviewmm/ChangeLog b/dev-cpp/libgtksourceviewmm/ChangeLog index ad8ee633bdfb..b1ce07522078 100644 --- a/dev-cpp/libgtksourceviewmm/ChangeLog +++ b/dev-cpp/libgtksourceviewmm/ChangeLog @@ -1,6 +1,10 @@ # ChangeLog for dev-cpp/libgtksourceviewmm # Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-cpp/libgtksourceviewmm/ChangeLog,v 1.10 2008/05/19 14:45:07 remi Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-cpp/libgtksourceviewmm/ChangeLog,v 1.11 2008/08/03 12:52:04 dev-zero Exp $ + + 03 Aug 2008; Tiziano Müller <dev-zero@gentoo.org> + +files/0.3.1-missing_includes.patch, libgtksourceviewmm-0.3.1.ebuild: + Added patch to fix compilation issues with gcc-4.3.x 19 May 2008; Rémi Cardona <remi@gentoo.org> -libgtksourceviewmm-1.9.4.ebuild: diff --git a/dev-cpp/libgtksourceviewmm/files/0.3.1-missing_includes.patch b/dev-cpp/libgtksourceviewmm/files/0.3.1-missing_includes.patch new file mode 100644 index 000000000000..e10a58237a02 --- /dev/null +++ b/dev-cpp/libgtksourceviewmm/files/0.3.1-missing_includes.patch @@ -0,0 +1,21 @@ +diff -Naur libgtksourceviewmm-0.3.1.orig/gtksourceview/gtksourceviewmm/sourcetagstyle.cc libgtksourceviewmm-0.3.1/gtksourceview/gtksourceviewmm/sourcetagstyle.cc +--- libgtksourceviewmm-0.3.1.orig/gtksourceview/gtksourceviewmm/sourcetagstyle.cc 2008-08-03 14:41:06.000000000 +0200 ++++ libgtksourceviewmm-0.3.1/gtksourceview/gtksourceviewmm/sourcetagstyle.cc 2008-08-03 14:42:26.000000000 +0200 +@@ -27,6 +27,8 @@ + * Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. + */ + ++#include <cstring> ++ + #include <gtksourceviewmm/sourcetagstyle.h> + + namespace gtksourceview +diff -Naur libgtksourceviewmm-0.3.1.orig/tests/test-search.cpp libgtksourceviewmm-0.3.1/tests/test-search.cpp +--- libgtksourceviewmm-0.3.1.orig/tests/test-search.cpp 2008-08-03 14:41:05.000000000 +0200 ++++ libgtksourceviewmm-0.3.1/tests/test-search.cpp 2008-08-03 14:44:44.000000000 +0200 +@@ -1,4 +1,5 @@ + #include <cassert> ++#include <cstring> + #include <iostream> + #include <fstream> + #include <stdexcept> diff --git a/dev-cpp/libgtksourceviewmm/libgtksourceviewmm-0.3.1.ebuild b/dev-cpp/libgtksourceviewmm/libgtksourceviewmm-0.3.1.ebuild index 3b11b5fad5e6..d7ada6278d22 100644 --- a/dev-cpp/libgtksourceviewmm/libgtksourceviewmm-0.3.1.ebuild +++ b/dev-cpp/libgtksourceviewmm/libgtksourceviewmm-0.3.1.ebuild @@ -1,8 +1,8 @@ -# Copyright 1999-2007 Gentoo Foundation +# Copyright 1999-2008 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/dev-cpp/libgtksourceviewmm/libgtksourceviewmm-0.3.1.ebuild,v 1.3 2007/10/10 16:05:21 remi Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-cpp/libgtksourceviewmm/libgtksourceviewmm-0.3.1.ebuild,v 1.4 2008/08/03 12:52:04 dev-zero Exp $ -inherit gnome2 +inherit eutils gnome2 DESCRIPTION="C++ bindings for gtksourceview" HOMEPAGE="http://home.gna.org/gtksourceviewmm/" @@ -30,6 +30,8 @@ src_unpack() { # we handle it in src_install. sed -i -e 's|^\(SUBDIRS =.*\)docs\(.*\)|\1\2|' Makefile.in || \ die "sed Makefile.in failed" + + epatch "${FILESDIR}/${PV}-missing_includes.patch" } src_install() { |