summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRyan Hill <dirtyepic@gentoo.org>2009-03-26 05:21:41 +0000
committerRyan Hill <dirtyepic@gentoo.org>2009-03-26 05:21:41 +0000
commit28135af5180e0f586156c86a3d6bc93f1285e77d (patch)
tree1d7fe78270939a5151a162014372753262721f6f /dev-cpp
parentIn src_test, redirect stdin from /dev/tty as a workaround for bug #248081. (diff)
downloadgentoo-2-28135af5180e0f586156c86a3d6bc93f1285e77d.tar.gz
gentoo-2-28135af5180e0f586156c86a3d6bc93f1285e77d.tar.bz2
gentoo-2-28135af5180e0f586156c86a3d6bc93f1285e77d.zip
Fix missing include in headers for GCC 4.4 (bug #254254).
(Portage version: 2.2_rc27/cvs/Linux x86_64)
Diffstat (limited to 'dev-cpp')
-rw-r--r--dev-cpp/clucene/ChangeLog6
-rw-r--r--dev-cpp/clucene/clucene-0.9.21b.ebuild10
-rw-r--r--dev-cpp/clucene/files/clucene-0.9.21b-gcc44.patch10
3 files changed, 24 insertions, 2 deletions
diff --git a/dev-cpp/clucene/ChangeLog b/dev-cpp/clucene/ChangeLog
index 4885725284ba..688588da4561 100644
--- a/dev-cpp/clucene/ChangeLog
+++ b/dev-cpp/clucene/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for dev-cpp/clucene
# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-cpp/clucene/ChangeLog,v 1.21 2009/03/06 23:01:38 jer Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-cpp/clucene/ChangeLog,v 1.22 2009/03/26 05:21:41 dirtyepic Exp $
+
+ 26 Mar 2009; Ryan Hill <dirtyepic@gentoo.org>
+ +files/clucene-0.9.21b-gcc44.patch, clucene-0.9.21b.ebuild:
+ Fix missing include in headers for GCC 4.4 (bug #254254).
06 Mar 2009; Jeroen Roovers <jer@gentoo.org> clucene-0.9.21b.ebuild:
Marked ~hppa (bug #260777).
diff --git a/dev-cpp/clucene/clucene-0.9.21b.ebuild b/dev-cpp/clucene/clucene-0.9.21b.ebuild
index 943d4f4250c2..aaa557b0c3a6 100644
--- a/dev-cpp/clucene/clucene-0.9.21b.ebuild
+++ b/dev-cpp/clucene/clucene-0.9.21b.ebuild
@@ -1,6 +1,8 @@
# Copyright 1999-2009 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-cpp/clucene/clucene-0.9.21b.ebuild,v 1.8 2009/03/06 23:01:38 jer Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-cpp/clucene/clucene-0.9.21b.ebuild,v 1.9 2009/03/26 05:21:41 dirtyepic Exp $
+
+inherit eutils
MY_P=${PN}-core-${PV}
@@ -18,6 +20,12 @@ RDEPEND=""
S="${WORKDIR}/${MY_P}"
+src_unpack() {
+ unpack ${A}
+ cd "${S}"
+ epatch "${FILESDIR}"/${P}-gcc44.patch #254254
+}
+
src_compile() {
econf $(use_enable debug) \
$(use_enable debug cnddebug) \
diff --git a/dev-cpp/clucene/files/clucene-0.9.21b-gcc44.patch b/dev-cpp/clucene/files/clucene-0.9.21b-gcc44.patch
new file mode 100644
index 000000000000..8c7fe44d0562
--- /dev/null
+++ b/dev-cpp/clucene/files/clucene-0.9.21b-gcc44.patch
@@ -0,0 +1,10 @@
+--- src/CLucene/util/bufferedstream.h~
++++ src/CLucene/util/bufferedstream.h
+@@ -29,6 +29,7 @@
+ #include "streambase.h"
+ #include "inputstreambuffer.h"
+ #include <cassert>
++#include <stdio.h>
+
+ namespace jstreams {
+