summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPiotr Szymaniak <lazy_bum@o2.pl>2011-07-02 08:23:49 +0000
committerPiotr Szymaniak <lazy_bum@o2.pl>2011-07-02 08:23:49 +0000
commitfd6f532c6e3800398996e7e018bf6bad2f1ce81b (patch)
tree75ade277b7b92916ff72387206daa0b4bb413a5b /dev-cpp
parentmedia-sound/mixxx: Added Linux 3.0 support patch from upstream. (diff)
downloadsunrise-reviewed-fd6f532c6e3800398996e7e018bf6bad2f1ce81b.tar.gz
sunrise-reviewed-fd6f532c6e3800398996e7e018bf6bad2f1ce81b.tar.bz2
sunrise-reviewed-fd6f532c6e3800398996e7e018bf6bad2f1ce81b.zip
dev-cpp/hiberlite: EAPI bump, added missing unzip depend, added gcc46 patch.
svn path=/sunrise/; revision=12183
Diffstat (limited to 'dev-cpp')
-rw-r--r--dev-cpp/hiberlite/ChangeLog6
-rw-r--r--dev-cpp/hiberlite/Manifest5
-rw-r--r--dev-cpp/hiberlite/files/hiberlite-0.6-gcc46.patch23
-rw-r--r--dev-cpp/hiberlite/hiberlite-0.6.ebuild19
4 files changed, 46 insertions, 7 deletions
diff --git a/dev-cpp/hiberlite/ChangeLog b/dev-cpp/hiberlite/ChangeLog
index affaf85e3..12025e075 100644
--- a/dev-cpp/hiberlite/ChangeLog
+++ b/dev-cpp/hiberlite/ChangeLog
@@ -1,7 +1,11 @@
# ChangeLog for dev-cpp/hiberlite
-# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
+# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
# $Header: $
+ 02 Jul 2011; Piotr Szymaniak <szarpaj@grubelek.pl> hiberlite-0.6.ebuild,
+ +files/hiberlite-0.6-gcc46.patch:
+ EAPI bump, added missing unzip depend, added gcc46 patch.
+
01 Apr 2009; Kyle Cavin (sonar) <kyle.cavin@ieee.org>
+hiberlite-0.6.ebuild, +metadata.xml:
New Ebuild for bug 264502
diff --git a/dev-cpp/hiberlite/Manifest b/dev-cpp/hiberlite/Manifest
index 7180b6ef5..2dc66764b 100644
--- a/dev-cpp/hiberlite/Manifest
+++ b/dev-cpp/hiberlite/Manifest
@@ -1,4 +1,5 @@
+AUX hiberlite-0.6-gcc46.patch 490 RMD160 75066b075fca8d0ee94b237cd97893f4a09de612 SHA1 4abbd1e6892f0606d35b0d13b0eaba832202dd42 SHA256 e71c453b720ae10276f0410f585d25bf3c86b442d48a152d559a45092a65908b
DIST hiberlite-0.6.zip 28859 RMD160 c5cf355f580eda5928f5428a301f5efba0156738 SHA1 be040a64cdd09d14d0673fb0802a31597524949a SHA256 247b2528821825e5b0ad29c63d97ae9aa0a9520daa35c5619718d9c381139294
-EBUILD hiberlite-0.6.ebuild 484 RMD160 f07c74ac1fd57b153ea52e7d1cc7fcca6ddf8fee SHA1 6dc2a4023f6328368d0b7eb3b60281db52cc393d SHA256 8148b8a0fec5fe12bc95626562e3ec923530d37743438c346b93385b57ff6c6b
-MISC ChangeLog 243 RMD160 3cf12a4344d57dd6c663bbb7e679ae1e24884f84 SHA1 2059df8b5f9524b30b791633c4849c894c712964 SHA256 b46fb845929d621cdc4b31681d6b7780d7821fe9f071e28969bd774262e73d56
+EBUILD hiberlite-0.6.ebuild 557 RMD160 f489adf1a3f3a42992e6a81e12da4e06b68656da SHA1 d07c55139d653d93135ae016f908efd4c5fb51d9 SHA256 91695382ca9afb889ead4b71840ae497e27324bce9b60fdb43bdd4c26b0a2a68
+MISC ChangeLog 415 RMD160 3af72c6913b7f26afec0d170a983218a10257cf9 SHA1 a0affeaee4a17526d439443472c9e02ca8adee3d SHA256 37516711cf646b793cce183546a103bc75257f064d877424939b9651a40ae6bb
MISC metadata.xml 229 RMD160 f0f6417bec31ce8baba6d476664f7210c8c84c98 SHA1 e5f94f5caadc6f843fc90bb7959570cd503676fd SHA256 3b08fca3c878bdfc4e7639f477dd542d55a4ab5dce39a475e82633071d13eb3f
diff --git a/dev-cpp/hiberlite/files/hiberlite-0.6-gcc46.patch b/dev-cpp/hiberlite/files/hiberlite-0.6-gcc46.patch
new file mode 100644
index 000000000..70aaa687d
--- /dev/null
+++ b/dev-cpp/hiberlite/files/hiberlite-0.6-gcc46.patch
@@ -0,0 +1,23 @@
+diff --git a/include/BeanUpdater.h b/include/BeanUpdater.h
+index 7827bd7..a721d9d 100644
+--- a/include/BeanUpdater.h
++++ b/include/BeanUpdater.h
+@@ -1,3 +1,6 @@
++#include <stdio.h>
++#include <cstring>
++
+ #ifndef BEANUPDATER_H
+ #define BEANUPDATER_H
+
+diff --git a/tests.cpp b/tests.cpp
+index 0f2c3cd..8fad4e7 100644
+--- a/tests.cpp
++++ b/tests.cpp
+@@ -6,6 +6,7 @@ using namespace hiberlite;
+ #include <cmath>
+ #include <vector>
+ #include <map>
++#include <cstdlib>
+ using namespace std;
+
+
diff --git a/dev-cpp/hiberlite/hiberlite-0.6.ebuild b/dev-cpp/hiberlite/hiberlite-0.6.ebuild
index f6d706b50..d91e9ae5d 100644
--- a/dev-cpp/hiberlite/hiberlite-0.6.ebuild
+++ b/dev-cpp/hiberlite/hiberlite-0.6.ebuild
@@ -1,17 +1,28 @@
-# Copyright 1999-2010 Gentoo Foundation
+# Copyright 1999-2011 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $
+EAPI=4
+
+inherit eutils
+
DESCRIPTION="C++ object-relational mapping API inspired by Boost.Serialization"
HOMEPAGE="http://code.google.com/p/hiberlite"
SRC_URI="http://${PN}.googlecode.com/files/${P}.zip"
+
LICENSE="GPL-3"
SLOT="0"
KEYWORDS="~amd64"
IUSE=""
-DEPEND=">=dev-db/sqlite-3.6"
-RDEPEND="${DEPEND}"
+
+RDEPEND="dev-db/sqlite:3"
+DEPEND="${RDEPEND}
+ app-arch/unzip"
+
+src_prepare() {
+ epatch "${FILESDIR}"/${P}-gcc46.patch
+}
src_install() {
- emake INSTALL_PREFIX="${D}/usr" install || die "install failed"
+ emake INSTALL_PREFIX="${D}/usr" install
}