summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSamuli Suominen <ssuominen@gentoo.org>2010-08-31 15:38:33 +0000
committerSamuli Suominen <ssuominen@gentoo.org>2010-08-31 15:38:33 +0000
commit42b8fb37d73f28b52759b8bf90483280255adef6 (patch)
tree35e2a13a82af2d1da88babd7c21486aca5b5fd17 /www-plugins
parentHonour Gentoo LDFLAGS. Closes bug #333653. (diff)
downloadgentoo-2-42b8fb37d73f28b52759b8bf90483280255adef6.tar.gz
gentoo-2-42b8fb37d73f28b52759b8bf90483280255adef6.tar.bz2
gentoo-2-42b8fb37d73f28b52759b8bf90483280255adef6.zip
Fix building with recent glibc wrt #333943 by Diego E. Pettenò.
(Portage version: 2.2_rc69/cvs/Linux x86_64)
Diffstat (limited to 'www-plugins')
-rw-r--r--www-plugins/moonlight/ChangeLog8
-rw-r--r--www-plugins/moonlight/files/moonlight-1.0.1-glibc-212.patch12
-rw-r--r--www-plugins/moonlight/moonlight-1.0.1.ebuild8
3 files changed, 23 insertions, 5 deletions
diff --git a/www-plugins/moonlight/ChangeLog b/www-plugins/moonlight/ChangeLog
index f883bc5ae4ee..f5c8351cd766 100644
--- a/www-plugins/moonlight/ChangeLog
+++ b/www-plugins/moonlight/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for www-plugins/moonlight
-# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/www-plugins/moonlight/ChangeLog,v 1.4 2009/10/25 10:22:37 loki_val Exp $
+# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/www-plugins/moonlight/ChangeLog,v 1.5 2010/08/31 15:38:33 ssuominen Exp $
+
+ 31 Aug 2010; Samuli Suominen <ssuominen@gentoo.org>
+ moonlight-1.0.1.ebuild, +files/moonlight-1.0.1-glibc-212.patch:
+ Fix building with recent glibc wrt #333943 by Diego E. Pettenò.
25 Oct 2009; Peter Alfredsen <loki_val@gentoo.org> moonlight-1.0.1.ebuild:
Update SRC_URI per bug 290420. Thanks to Ewoud Kohl van Wijngaarden
diff --git a/www-plugins/moonlight/files/moonlight-1.0.1-glibc-212.patch b/www-plugins/moonlight/files/moonlight-1.0.1-glibc-212.patch
new file mode 100644
index 000000000000..542bafb2ca90
--- /dev/null
+++ b/www-plugins/moonlight/files/moonlight-1.0.1-glibc-212.patch
@@ -0,0 +1,12 @@
+http://bugs.gentoo.org/333943
+
+--- src/pipeline.cpp
++++ src/pipeline.cpp
+@@ -15,6 +15,7 @@
+ #include <config.h>
+ #include <stdio.h>
+ #include <sys/types.h>
++#include <sys/stat.h>
+ #include <unistd.h>
+ #include <fcntl.h>
+ #include <errno.h>
diff --git a/www-plugins/moonlight/moonlight-1.0.1.ebuild b/www-plugins/moonlight/moonlight-1.0.1.ebuild
index 9be31f9d49ac..fdb029af8247 100644
--- a/www-plugins/moonlight/moonlight-1.0.1.ebuild
+++ b/www-plugins/moonlight/moonlight-1.0.1.ebuild
@@ -1,10 +1,10 @@
-# Copyright 1999-2009 Gentoo Foundation
+# Copyright 1999-2010 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/www-plugins/moonlight/moonlight-1.0.1.ebuild,v 1.3 2009/10/25 10:22:37 loki_val Exp $
+# $Header: /var/cvsroot/gentoo-x86/www-plugins/moonlight/moonlight-1.0.1.ebuild,v 1.4 2010/08/31 15:38:33 ssuominen Exp $
EAPI=2
-inherit mono multilib nsplugins
+inherit eutils mono multilib nsplugins
MY_P=moon-${PV}
DESCRIPTION="Moonlight is an open source implementation of Silverlight"
@@ -47,6 +47,8 @@ src_prepare() {
-e "s:TEST_SUBDIR = test::" \
-e "s:TOOLS_SUBDIR = tools::" \
Makefile.in
+
+ epatch "${FILESDIR}"/${P}-glibc-212.patch
}
src_configure() {