summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGilles Dartiguelongue <eva@gentoo.org>2009-12-08 00:04:54 +0000
committerGilles Dartiguelongue <eva@gentoo.org>2009-12-08 00:04:54 +0000
commitf1c05dbf64f804ff729cc0d0771538a9bbd5216a (patch)
tree35f5f3cd8c75e493e77545131fbbfa363111c499 /net-libs/gnet
parentMake sure to remove unneeded /usr/share/doc directory, bug #295762 (diff)
downloadgentoo-2-f1c05dbf64f804ff729cc0d0771538a9bbd5216a.tar.gz
gentoo-2-f1c05dbf64f804ff729cc0d0771538a9bbd5216a.tar.bz2
gentoo-2-f1c05dbf64f804ff729cc0d0771538a9bbd5216a.zip
Fix build issue with newer gcc, bug #294558
(Portage version: 2.2_rc55/cvs/Linux x86_64)
Diffstat (limited to 'net-libs/gnet')
-rw-r--r--net-libs/gnet/ChangeLog8
-rw-r--r--net-libs/gnet/files/gnet-2.0.8-define-location.patch20
-rw-r--r--net-libs/gnet/gnet-2.0.8-r1.ebuild33
3 files changed, 60 insertions, 1 deletions
diff --git a/net-libs/gnet/ChangeLog b/net-libs/gnet/ChangeLog
index ce91f6870a6e..dd61400d4706 100644
--- a/net-libs/gnet/ChangeLog
+++ b/net-libs/gnet/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for net-libs/gnet
# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-libs/gnet/ChangeLog,v 1.66 2009/06/27 11:49:57 aballier Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-libs/gnet/ChangeLog,v 1.67 2009/12/08 00:04:54 eva Exp $
+
+*gnet-2.0.8-r1 (08 Dec 2009)
+
+ 08 Dec 2009; Gilles Dartiguelongue <eva@gentoo.org> +gnet-2.0.8-r1.ebuild,
+ +files/gnet-2.0.8-define-location.patch:
+ Fix build issue with newer gcc, bug #294558
27 Jun 2009; Alexis Ballier <aballier@gentoo.org> gnet-2.0.8.ebuild:
keyword ~x86-fbsd thanks to Davide Italiano <dav_it@gentoo.org>, bug
diff --git a/net-libs/gnet/files/gnet-2.0.8-define-location.patch b/net-libs/gnet/files/gnet-2.0.8-define-location.patch
new file mode 100644
index 000000000000..1ce6bcac06af
--- /dev/null
+++ b/net-libs/gnet/files/gnet-2.0.8-define-location.patch
@@ -0,0 +1,20 @@
+--- a/tests/check/gnetcheck.h 2009-11-22 23:17:25.000000000 +0100
++++ b/tests/check/gnetcheck.h 2009-11-22 23:18:19.000000000 +0100
+@@ -310,6 +310,8 @@
+
+ gboolean _gnet_check_run_test_func (const gchar * func_name);
+
++#define _tcase_add_test __gnet_tcase_add_test
++
+ static inline void
+ __gnet_tcase_add_test (TCase * tc, TFun tf, const gchar * func_name,
+ int sig_, int start_, int end_)
+@@ -319,8 +321,6 @@
+ }
+ }
+
+-#define _tcase_add_test __gnet_tcase_add_test
+-
+ G_END_DECLS
+
+ #endif /* __GNET_CHECK_H__ */
diff --git a/net-libs/gnet/gnet-2.0.8-r1.ebuild b/net-libs/gnet/gnet-2.0.8-r1.ebuild
new file mode 100644
index 000000000000..acf4ba03bbcc
--- /dev/null
+++ b/net-libs/gnet/gnet-2.0.8-r1.ebuild
@@ -0,0 +1,33 @@
+# Copyright 1999-2009 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/net-libs/gnet/gnet-2.0.8-r1.ebuild,v 1.1 2009/12/08 00:04:54 eva Exp $
+
+EAPI="2"
+
+inherit gnome2 eutils
+
+DESCRIPTION="A simple network library."
+HOMEPAGE="http://www.gnetlibrary.org/"
+
+LICENSE="LGPL-2"
+SLOT="2"
+KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd"
+
+IUSE="doc test"
+
+# FIXME: network-tests & use of valgrind
+
+RDEPEND=">=dev-libs/glib-2.6"
+DEPEND="${RDEPEND}
+ dev-util/pkgconfig
+ doc? ( >=dev-util/gtk-doc-1.2 )
+ test? ( >=dev-libs/check-0.9.4 )"
+
+DOCS="AUTHORS BUGS ChangeLog HACKING NEWS README* TODO"
+
+src_prepare() {
+ gnome2_src_prepare
+
+ # Fix #define location
+ epatch "${FILESDIR}/${P}-define-location.patch"
+}