summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Kahle <tomka@gentoo.org>2013-02-21 10:38:55 +0000
committerThomas Kahle <tomka@gentoo.org>2013-02-21 10:38:55 +0000
commit695f81255f01a2082780d474e1de9c2bfdf00ff5 (patch)
treee11551da04bded2e9e1cd6e6b0b22c179af6960d /dev-libs
parentremove myself from metadata, I have not been doing anything there since years (diff)
downloadgentoo-2-695f81255f01a2082780d474e1de9c2bfdf00ff5.tar.gz
gentoo-2-695f81255f01a2082780d474e1de9c2bfdf00ff5.tar.bz2
gentoo-2-695f81255f01a2082780d474e1de9c2bfdf00ff5.zip
Fix bug 429526 (proxy commit)
(Portage version: 2.1.11.52/cvs/Linux x86_64, signed Manifest commit with key 0x89DEB219565C32BC)
Diffstat (limited to 'dev-libs')
-rw-r--r--dev-libs/libev/ChangeLog8
-rw-r--r--dev-libs/libev/files/libev-4.11-gentoo.patch13
-rw-r--r--dev-libs/libev/libev-4.11-r1.ebuild54
3 files changed, 74 insertions, 1 deletions
diff --git a/dev-libs/libev/ChangeLog b/dev-libs/libev/ChangeLog
index 901aa7878809..70a529721e99 100644
--- a/dev-libs/libev/ChangeLog
+++ b/dev-libs/libev/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for dev-libs/libev
# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-libs/libev/ChangeLog,v 1.42 2013/02/19 13:52:31 tomka Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-libs/libev/ChangeLog,v 1.43 2013/02/21 10:38:55 tomka Exp $
+
+*libev-4.11-r1 (21 Feb 2013)
+
+ 21 Feb 2013; Thomas Kahle <tomka@gentoo.org> +files/libev-4.11-gentoo.patch,
+ +libev-4.11-r1.ebuild:
+ Fix bug 429526 (proxy commit)
19 Feb 2013; Thomas Kahle <tomka@gentoo.org> metadata.xml:
Pick up for proxy maintainership
diff --git a/dev-libs/libev/files/libev-4.11-gentoo.patch b/dev-libs/libev/files/libev-4.11-gentoo.patch
new file mode 100644
index 000000000000..d7872ab62ce2
--- /dev/null
+++ b/dev-libs/libev/files/libev-4.11-gentoo.patch
@@ -0,0 +1,13 @@
+diff --git a/configure.ac b/configure.ac
+index 31d0a25..60e5bda 100644
+--- a/configure.ac
++++ b/configure.ac
+@@ -1,6 +1,7 @@
++AC_INIT
++
+ orig_CFLAGS="$CFLAGS"
+
+-AC_INIT
+ AC_CONFIG_SRCDIR([ev_epoll.c])
+
+ AM_INIT_AUTOMAKE(libev,4.11) dnl also update ev.h!
diff --git a/dev-libs/libev/libev-4.11-r1.ebuild b/dev-libs/libev/libev-4.11-r1.ebuild
new file mode 100644
index 000000000000..c5fdd24b0b28
--- /dev/null
+++ b/dev-libs/libev/libev-4.11-r1.ebuild
@@ -0,0 +1,54 @@
+# Copyright 1999-2013 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-libs/libev/libev-4.11-r1.ebuild,v 1.1 2013/02/21 10:38:55 tomka Exp $
+
+EAPI=5
+
+inherit autotools eutils multilib
+
+MY_P="${P}"
+
+DESCRIPTION="A high-performance event loop/event model with lots of feature"
+HOMEPAGE="http://software.schmorp.de/pkg/libev.html"
+SRC_URI="http://dist.schmorp.de/libev/${MY_P}.tar.gz
+ http://dist.schmorp.de/libev/Attic/${MY_P}.tar.gz"
+
+LICENSE="|| ( BSD GPL-2 )"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~x86-freebsd ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos"
+IUSE="elibc_glibc static-libs"
+
+# Bug #283558
+DEPEND="elibc_glibc? ( >=sys-libs/glibc-2.9_p20081201 )"
+RDEPEND="${DEPEND}"
+
+S="${WORKDIR}/${MY_P}"
+
+DOCS=( Changes README )
+
+src_prepare() {
+ epatch "${FILESDIR}/4.01-gentoo.patch"
+ # bug #411847
+ epatch "${FILESDIR}/${PN}-pc.patch"
+ # bug 429526
+ epatch "${FILESDIR}/${P}-gentoo.patch"
+
+ eautoreconf
+}
+
+src_configure() {
+ econf $(use_enable static-libs static)
+}
+
+src_install() {
+ default
+ use static-libs || prune_libtool_files
+}
+
+pkg_preinst() {
+ preserve_old_lib /usr/$(get_libdir)/libev.so.3.0.0
+}
+
+pkg_postinst() {
+ preserve_old_lib_notify /usr/$(get_libdir)/libev.so.3.0.0
+}