diff options
author | Daniel Gryniewicz <dang@gentoo.org> | 2007-01-26 22:52:12 +0000 |
---|---|---|
committer | Daniel Gryniewicz <dang@gentoo.org> | 2007-01-26 22:52:12 +0000 |
commit | 5e9b9b13b171357c6d12d5426ed8028351da0ef2 (patch) | |
tree | 62cb27e086c690c2c4a3aed00e276c3fbfaeba8a /net-libs/libsoup | |
parent | Stable on MIPS; bug #161640 (diff) | |
download | gentoo-2-5e9b9b13b171357c6d12d5426ed8028351da0ef2.tar.gz gentoo-2-5e9b9b13b171357c6d12d5426ed8028351da0ef2.tar.bz2 gentoo-2-5e9b9b13b171357c6d12d5426ed8028351da0ef2.zip |
Fix broken tests. Bug #162044
(Portage version: 2.1.2-r4)
Diffstat (limited to 'net-libs/libsoup')
-rw-r--r-- | net-libs/libsoup/ChangeLog | 6 | ||||
-rw-r--r-- | net-libs/libsoup/files/libsoup-2.2.99-fix-tests.patch | 21 | ||||
-rw-r--r-- | net-libs/libsoup/libsoup-2.2.99.ebuild | 11 |
3 files changed, 34 insertions, 4 deletions
diff --git a/net-libs/libsoup/ChangeLog b/net-libs/libsoup/ChangeLog index f22568be3fa0..deafd1f27518 100644 --- a/net-libs/libsoup/ChangeLog +++ b/net-libs/libsoup/ChangeLog @@ -1,6 +1,10 @@ # ChangeLog for net-libs/libsoup # Copyright 2000-2007 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/net-libs/libsoup/ChangeLog,v 1.114 2007/01/23 21:37:58 kloeri Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-libs/libsoup/ChangeLog,v 1.115 2007/01/26 22:52:12 dang Exp $ + + 26 Jan 2007; Daniel Gryniewicz <dang@gentoo.org> + +files/libsoup-2.2.99-fix-tests.patch, libsoup-2.2.99.ebuild: + Fix broken tests. Bug #162044 23 Jan 2007; Bryan Østergaard <kloeri@gentoo.org> libsoup-2.2.99.ebuild: Stable on Alpha + IA64. diff --git a/net-libs/libsoup/files/libsoup-2.2.99-fix-tests.patch b/net-libs/libsoup/files/libsoup-2.2.99-fix-tests.patch new file mode 100644 index 000000000000..a873dca56581 --- /dev/null +++ b/net-libs/libsoup/files/libsoup-2.2.99-fix-tests.patch @@ -0,0 +1,21 @@ +diff --exclude-from=/home/dang/.diffrc -up -ruN libsoup-2.2.99.orig/tests/header-parsing.c libsoup-2.2.99/tests/header-parsing.c +--- libsoup-2.2.99.orig/tests/header-parsing.c 2007-01-06 13:11:03.000000000 -0500 ++++ libsoup-2.2.99/tests/header-parsing.c 2007-01-26 17:47:03.000000000 -0500 +@@ -456,6 +456,8 @@ do_request_tests (void) + SoupHttpVersion version; + GHashTable *headers; + ++ errors = 0; ++ + printf ("Request tests\n"); + for (i = 0; i < num_reqtests; i++) { + gboolean ok = TRUE; +@@ -537,6 +539,8 @@ do_response_tests (void) + SoupHttpVersion version; + GHashTable *headers; + ++ errors = 0; ++ + printf ("Response tests\n"); + for (i = 0; i < num_resptests; i++) { + gboolean ok = TRUE; diff --git a/net-libs/libsoup/libsoup-2.2.99.ebuild b/net-libs/libsoup/libsoup-2.2.99.ebuild index 36a245dc46f4..6a78a61330e3 100644 --- a/net-libs/libsoup/libsoup-2.2.99.ebuild +++ b/net-libs/libsoup/libsoup-2.2.99.ebuild @@ -1,8 +1,8 @@ # Copyright 1999-2007 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/net-libs/libsoup/libsoup-2.2.99.ebuild,v 1.8 2007/01/23 21:37:58 kloeri Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-libs/libsoup/libsoup-2.2.99.ebuild,v 1.9 2007/01/26 22:52:12 dang Exp $ -inherit gnome2 +inherit gnome2 eutils DESCRIPTION="An HTTP library implementation in C" HOMEPAGE="http://www.gnome.org/" @@ -11,7 +11,6 @@ LICENSE="LGPL-2" SLOT="2.2" KEYWORDS="alpha amd64 ~arm hppa ia64 ppc ppc64 ~sh sparc x86" IUSE="doc ssl" -RESTRICT="test" RDEPEND=">=dev-libs/glib-2.6 >=dev-libs/libxml2-2 @@ -27,3 +26,9 @@ DOCS="AUTHORS ChangeLog NEWS README" pkg_setup() { G2CONF="$(use_enable ssl)" } + +src_unpack() { + gnome2_src_unpack + + epatch "${FILESDIR}"/${P}-fix-tests.patch +} |