summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--dev-libs/libe/ChangeLog6
-rw-r--r--dev-libs/libe/Manifest5
-rw-r--r--dev-libs/libe/files/libe-getpid.patch23
-rw-r--r--dev-libs/libe/libe-0.2.7.ebuild8
4 files changed, 38 insertions, 4 deletions
diff --git a/dev-libs/libe/ChangeLog b/dev-libs/libe/ChangeLog
index eb9db537206a..8823b7c47cd6 100644
--- a/dev-libs/libe/ChangeLog
+++ b/dev-libs/libe/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for dev-libs/libe
# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-libs/libe/ChangeLog,v 1.1 2012/08/18 14:09:44 patrick Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-libs/libe/ChangeLog,v 1.2 2012/08/20 13:07:40 patrick Exp $
+
+ 20 Aug 2012; Patrick Lauer <patrick@gentoo.org> +files/libe-getpid.patch,
+ libe-0.2.7.ebuild:
+ Fix getpid / unistd.h issue
*libe-0.2.7 (18 Aug 2012)
diff --git a/dev-libs/libe/Manifest b/dev-libs/libe/Manifest
index 2a6b1df490cf..65af37e6e010 100644
--- a/dev-libs/libe/Manifest
+++ b/dev-libs/libe/Manifest
@@ -1,4 +1,5 @@
+AUX libe-getpid.patch 807 SHA256 8695351fdbfe76d573f7e0bff0d2b4c2e5b80bb7024f117cae5f4b2bb6928148 SHA512 e255295f660e3bc0d9f1436369186590c12edcf45e167230deb7a06adf30661a7a749166d53e191c51fbb2061f044f29626052dda8de5667fea6bec0772d8eb8 WHIRLPOOL 606b386b28d40adcddc8be75568844bd42a45707e3785614edff9f146319f944067c771025feedadd0e2de7a191cf32ad6466a1d50098982dbc4960f1ca4e656
DIST libe-0.2.7.tar.gz 369243 SHA256 8487d71da2ffca47f2cb96ff1b69e7ed3e7fe2591da0f79708129bf18a567307 SHA512 24c4e832cc070fd0e5d7b27ea21094e056516afe67b99b6492d427f0bb2977b169cec8c1d06b897d46db14005e3cffdb83e56e7fa0c2a078324e4b961a25e84e WHIRLPOOL 1751444bac4658ac80cc75e8c41028ec04dce5b55654512948e724b4450dc698da2253e2088b98bad06838321931b5240bdd1ba4a7f44711c0bb36e9cb68f2dc
-EBUILD libe-0.2.7.ebuild 440 SHA256 0f307dcbfd817a7cd7560c06fc4e73d53c8073b1b0a61a5dec8e43d414fefeaa SHA512 bf02089d61ab7ad89688b5fd2f73d46d813bed2f771748fd58420339918c93f0af159632620e438a388878c2ec36968cdea1da999ea311d3b717dbf653d3dc25 WHIRLPOOL cada2dea6a82c0a719901932e0626099e9d4c7efbcc8a31991b29a978dee903112fa9d015ecd78d10e0a2e5d1f4584e9765c2c0b3296b78248135039d000abf2
-MISC ChangeLog 355 SHA256 cebfdca42ab88cecb10fca51bd0b8505b6bd347595aa5c502c7a8068e3f72842 SHA512 85e2024c3b7f4e328f9dae999cf2e24eabfa3fab1a6d00b9908a54b4c99dd614b9e8a01f6129a1920364cb0e32a76da4651348b35d7bb28c88938907f52da349 WHIRLPOOL b0dacf50514ea97dbcc670dea8f243ea8104191266bd92a20444760c2262e68d39422ce9d32006f4329cfcce74e6281c3ad5d1fc0b719524db89a41e18f621fe
+EBUILD libe-0.2.7.ebuild 515 SHA256 3a060c274d09d5a5235e05206120a405e39e4727e72939426d87f64c755902ef SHA512 bb497f7a58ca545fa0db930efbff101eae85b36880a276930494a0491dba2a971d778c771b7e851568445a80985c454e015a749c50c2935f13924a28788702f7 WHIRLPOOL 9d330ecc51e59cb1a04b763bbdf184618492b8e782e641afb486787e4b049e9db158d35102db937531d9c95f4d863eb437a3a80163b00290036cf029973eaf76
+MISC ChangeLog 483 SHA256 bfeb3346b1a1763f683d665d93876b094db05aacdf5a0be68ab446e4f9a73995 SHA512 5ab353c3671695995491b30c2afeb589e772ff91860bb02d672c8eae0011cd3e03dd9a4a0f0d31410ca6316472f669a24da4ad71f6a1dda5737659fea68e53fe WHIRLPOOL e8a10358bf96d1735779ed8a3d4b8c00e672bbdd46e4ef6c918c52ffdd78e925d93100568f8fd81e6a8bf6e1ad2eda554ed6b8ebeabc92c12fc124276fd7e065
MISC metadata.xml 233 SHA256 65209e280ca6de32a92e1a57301ff69fb3472e55ba07848d6f80405d35e92d47 SHA512 0d30bfb39315a04767e07896409f5d3954f8e954e20fcbac7b92bb9a636c9f61c50b1b2cf55e6c1db9a199a0edc159b5c8cc8f541efb9c4adafa28e3652cff7b WHIRLPOOL 027c5101e1cbc665c9d2ef240f73a874c9f49a9b70175c5947e012df61de484585088a46b6ce9078816e548e6bcc326e7223539cc999159eee2757d0a2eb1480
diff --git a/dev-libs/libe/files/libe-getpid.patch b/dev-libs/libe/files/libe-getpid.patch
new file mode 100644
index 000000000000..4b4c9fdea82a
--- /dev/null
+++ b/dev-libs/libe/files/libe-getpid.patch
@@ -0,0 +1,23 @@
+diff -Naur libe-0.2.7/benchmarks/lockfree_hash_map.cc libe-0.2.7-new/benchmarks/lockfree_hash_map.cc
+--- libe-0.2.7/benchmarks/lockfree_hash_map.cc 2011-10-12 04:02:24.000000000 +0200
++++ libe-0.2.7-new/benchmarks/lockfree_hash_map.cc 2012-08-20 14:59:39.135789923 +0200
+@@ -30,6 +30,7 @@
+ // C includes
+ #include <cstdlib>
+ #include <stdint.h>
++#include <unistd.h>
+
+ // C++
+ #include <iostream>
+diff -Naur libe-0.2.7/benchmarks/lockfree_hash_set.cc libe-0.2.7-new/benchmarks/lockfree_hash_set.cc
+--- libe-0.2.7/benchmarks/lockfree_hash_set.cc 2011-08-26 16:24:54.000000000 +0200
++++ libe-0.2.7-new/benchmarks/lockfree_hash_set.cc 2012-08-20 15:00:37.877793998 +0200
+@@ -30,6 +30,7 @@
+ // C includes
+ #include <cstdlib>
+ #include <stdint.h>
++#include <unistd.h>
+
+ // C++
+ #include <iostream>
+
diff --git a/dev-libs/libe/libe-0.2.7.ebuild b/dev-libs/libe/libe-0.2.7.ebuild
index 1bdf40969d36..58d0423073d0 100644
--- a/dev-libs/libe/libe-0.2.7.ebuild
+++ b/dev-libs/libe/libe-0.2.7.ebuild
@@ -1,8 +1,10 @@
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-libs/libe/libe-0.2.7.ebuild,v 1.1 2012/08/18 14:09:44 patrick Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-libs/libe/libe-0.2.7.ebuild,v 1.2 2012/08/20 13:07:40 patrick Exp $
EAPI=4
+inherit eutils
+
DESCRIPTION="Hyperdex libe support library"
HOMEPAGE="http://hyperdex.org"
@@ -15,3 +17,7 @@ IUSE=""
DEPEND="dev-libs/libpo6"
RDEPEND="${DEPEND}"
+
+src_prepare() {
+ epatch "${FILESDIR}/libe-getpid.patch"
+}