# ChangeLog for dev-libs/korelib
# Copyright 2002 Gentoo Technologies, Inc.; Distributed under the GPL
-# $Header: /var/cvsroot/gentoo-x86/dev-libs/korelib/ChangeLog,v 1.1 2002/08/20 01:36:25 george Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-libs/korelib/ChangeLog,v 1.2 2002/11/03 11:10:11 hannes Exp $
+
+ 02 Nov 2002; Hannes Mehnert <hannes@gentoo.org> korelib-1.0.ebuild:
+ added patch to compile with gcc-3.2, thanks to gentoo-bugzilla@lusis.org
+ (John E. Vincent) for submission.
*korelib-1.0.ebuild (19 Aug 2002)
--- /dev/null
+--- kore/metainfo.cpp.orig 2002-05-20 16:26:01.000000000 +0200
++++ kore/metainfo.cpp 2002-11-02 21:04:32.000000000 +0100
+@@ -1,7 +1,11 @@
+ #include <kore/metainfo.h>
+ #include <vector>
+ #include <iostream.h>
++#if (__GNUC__<3)
+ #include <hash_map>
++#else
++#include <backward/hash_map.h>
++#endif
+ using namespace kore;
+ using namespace std;
+
+--- kore/componenttrader.cpp.orig 2002-05-20 16:26:01.000000000 +0200
++++ kore/componenttrader.cpp 2002-11-02 21:04:56.000000000 +0100
+@@ -8,7 +8,11 @@
+ #include <strstream>
+
+ //#ifdef _WIN32
++#if (__GNUC__<3)
+ #include <hash_map>
++#else
++#include <backward/hash_map.h>
++#endif
+ #include <vector>
+ #include <set>
+ //#else
+--- include/kore/metainfo.h.orig 2002-05-20 16:26:01.000000000 +0200
++++ include/kore/metainfo.h 2002-11-02 21:05:19.000000000 +0100
+@@ -7,7 +7,11 @@
+ #include <map>
+ #include <iostream.h>
+ #else
++#if (__GNUC__<3)
+ #include <hash_map>
++#else
++#include <backward/hash_map.h>
++#endif
+ #endif
+ #include <set>
+
# Copyright 1999-2002 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-libs/korelib/korelib-1.0.ebuild,v 1.3 2002/10/20 18:41:50 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-libs/korelib/korelib-1.0.ebuild,v 1.4 2002/11/03 11:10:11 hannes Exp $
-#A="korelib-1.0.tar.gz"
-S=${WORKDIR}/${P}
+IUSE=""
DESCRIPTION="theKompany's cross-platform c++ library for developing modular applications"
SRC_URI="ftp://ftp.rygannon.com/pub/Korelib/${P}.tar.gz"
HOMEPAGE="http://www.thekompany.com/projects/korelib/"
DEPEND="virtual/glibc"
-LICENSE="GPL-2 | commercial"
+LICENSE="GPL-2 QPL-1.0"
SLOT="1"
KEYWORDS="x86"
src_compile() {
+ patch -p0 < ${FILESDIR}/${P}-gentoo.diff
#this is really weird - lib developers did not run automake themselves
#leaving this to the "end users"
automake
src_install() {
make DESTDIR=${D} install
- #the lib installs one binary with by the name "demo" - baad choice
+ #the lib installs one binary with by the name "demo" - bad choice
mv ${D}/usr/bin/demo ${D}/usr/bin/kore-demo
dodoc AUTHORS COPYING ChangeLog NEWS README THANKS TODO