summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTiziano Müller <dev-zero@gentoo.org>2008-08-03 12:52:04 +0000
committerTiziano Müller <dev-zero@gentoo.org>2008-08-03 12:52:04 +0000
commit25750dbcc5b27f9508fcac199a27dbe4d76f47af (patch)
tree2014fac5317f4cecca494f34025c6b53c7a93348 /dev-cpp/libgtksourceviewmm
parentAdd app-office as converted category, GLEP 56. (diff)
downloadgentoo-2-25750dbcc5b27f9508fcac199a27dbe4d76f47af.tar.gz
gentoo-2-25750dbcc5b27f9508fcac199a27dbe4d76f47af.tar.bz2
gentoo-2-25750dbcc5b27f9508fcac199a27dbe4d76f47af.zip
Added patch to fix compilation issues with gcc-4.3.x
(Portage version: 2.2_rc5/cvs/Linux 2.6.26-gentoo x86_64)
Diffstat (limited to 'dev-cpp/libgtksourceviewmm')
-rw-r--r--dev-cpp/libgtksourceviewmm/ChangeLog6
-rw-r--r--dev-cpp/libgtksourceviewmm/files/0.3.1-missing_includes.patch21
-rw-r--r--dev-cpp/libgtksourceviewmm/libgtksourceviewmm-0.3.1.ebuild8
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() {