summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGilles Dartiguelongue <eva@gentoo.org>2014-09-26 18:05:18 +0000
committerGilles Dartiguelongue <eva@gentoo.org>2014-09-26 18:05:18 +0000
commit202d1549d1f55c9cba8e8ae83022460b8424d721 (patch)
treea8c2c827cc7edb3b2e4367e660afd4b1ef6feb4e /net-libs
parentVersion bump. (diff)
downloadgentoo-2-202d1549d1f55c9cba8e8ae83022460b8424d721.tar.gz
gentoo-2-202d1549d1f55c9cba8e8ae83022460b8424d721.tar.bz2
gentoo-2-202d1549d1f55c9cba8e8ae83022460b8424d721.zip
Fix build with newer glibc, bug #490722.
(Portage version: 2.2.12/cvs/Linux x86_64, signed Manifest commit with key C6085806)
Diffstat (limited to 'net-libs')
-rw-r--r--net-libs/libgrss/ChangeLog8
-rw-r--r--net-libs/libgrss/files/libgrss-0.5.0-headers.patch11
-rw-r--r--net-libs/libgrss/libgrss-0.5.0-r1.ebuild50
3 files changed, 68 insertions, 1 deletions
diff --git a/net-libs/libgrss/ChangeLog b/net-libs/libgrss/ChangeLog
index ef0bded49605..103bfaffb13f 100644
--- a/net-libs/libgrss/ChangeLog
+++ b/net-libs/libgrss/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for net-libs/libgrss
# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-libs/libgrss/ChangeLog,v 1.16 2014/01/15 13:04:09 ago Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-libs/libgrss/ChangeLog,v 1.17 2014/09/26 18:05:17 eva Exp $
+
+*libgrss-0.5.0-r1 (26 Sep 2014)
+
+ 26 Sep 2014; Gilles Dartiguelongue <eva@gentoo.org> +libgrss-0.5.0-r1.ebuild,
+ +files/libgrss-0.5.0-headers.patch:
+ Fix build with newer glibc, bug #490722.
15 Jan 2014; Agostino Sarubbo <ago@gentoo.org> libgrss-0.5.0.ebuild:
Stable for arm, wrt bug #488764
diff --git a/net-libs/libgrss/files/libgrss-0.5.0-headers.patch b/net-libs/libgrss/files/libgrss-0.5.0-headers.patch
new file mode 100644
index 000000000000..5e129d0eb9ab
--- /dev/null
+++ b/net-libs/libgrss/files/libgrss-0.5.0-headers.patch
@@ -0,0 +1,11 @@
+--- a/src/utils.h 2013-11-08 00:04:21.877945385 +0100
++++ b/src/utils.h 2013-11-08 00:05:45.397901242 +0100
+@@ -34,6 +34,8 @@
+ #include <errno.h>
+ #include <sys/types.h>
+ #include <sys/stat.h>
++#include <sys/socket.h>
++#include <arpa/inet.h>
+
+ #include "libgrss.h"
+
diff --git a/net-libs/libgrss/libgrss-0.5.0-r1.ebuild b/net-libs/libgrss/libgrss-0.5.0-r1.ebuild
new file mode 100644
index 000000000000..91a768f75552
--- /dev/null
+++ b/net-libs/libgrss/libgrss-0.5.0-r1.ebuild
@@ -0,0 +1,50 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/net-libs/libgrss/libgrss-0.5.0-r1.ebuild,v 1.1 2014/09/26 18:05:17 eva Exp $
+
+EAPI="5"
+GCONF_DEBUG="yes"
+
+inherit autotools eutils gnome2
+
+DESCRIPTION="LibGRSS is a library for easy management of RSS/Atom/Pie feeds"
+HOMEPAGE="http://live.gnome.org/Libgrss"
+SRC_URI="http://gtk.mplat.es/libgrss/tarballs/${P}.tar.gz"
+
+LICENSE="LGPL-3"
+SLOT="0.5"
+KEYWORDS="~alpha ~amd64 ~arm ~ia64 ~ppc ~ppc64 ~sparc ~x86"
+IUSE="examples"
+
+RDEPEND="
+ >=dev-libs/glib-2.30.2:2
+ >=dev-libs/libxml2-2.7.8:2
+ >=net-libs/libsoup-2.36.1:2.4
+"
+DEPEND="${RDEPEND}
+ app-text/gnome-doc-utils
+ >=dev-util/gtk-doc-am-1.10
+ dev-util/intltool
+ sys-devel/gettext
+ virtual/pkgconfig
+"
+
+src_prepare() {
+ # Fix soname/.pc
+ epatch "${FILESDIR}"/${P}-fix-slotting.patch
+
+ # Fix build with newer glibc
+ epatch "${FILESDIR}"/${P}-headers.patch
+
+ eautoreconf
+ gnome2_src_prepare
+}
+
+src_install() {
+ gnome2_src_install
+
+ if use examples ; then
+ insinto /usr/share/doc/${PF}
+ doins -r examples
+ fi
+}