From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id A2079139694 for ; Thu, 27 Jul 2017 13:27:01 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id E94D61FC042; Thu, 27 Jul 2017 13:27:00 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id B979F1FC042 for ; Thu, 27 Jul 2017 13:27:00 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 943C734186F for ; Thu, 27 Jul 2017 13:26:59 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 0BEC374C4 for ; Thu, 27 Jul 2017 13:26:58 +0000 (UTC) From: "Jeroen Roovers" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Jeroen Roovers" Message-ID: <1501161956.5a27b2e7330527a3b1020be3a43ad021197226dc.jer@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: net-libs/wvstreams/files/, net-libs/wvstreams/ X-VCS-Repository: repo/gentoo X-VCS-Files: net-libs/wvstreams/files/wvstreams-4.6.1-2048-bytes-should-be-enough-right-question-mark.patch net-libs/wvstreams/wvstreams-4.6.1-r5.ebuild X-VCS-Directories: net-libs/wvstreams/files/ net-libs/wvstreams/ X-VCS-Committer: jer X-VCS-Committer-Name: Jeroen Roovers X-VCS-Revision: 5a27b2e7330527a3b1020be3a43ad021197226dc X-VCS-Branch: master Date: Thu, 27 Jul 2017 13:26:58 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: c4536338-a632-48a9-9041-d3ef08bf9cef X-Archives-Hash: 1520f676ba33691758bf972a682b9903 commit: 5a27b2e7330527a3b1020be3a43ad021197226dc Author: Jeroen Roovers gentoo org> AuthorDate: Thu Jul 27 13:25:56 2017 +0000 Commit: Jeroen Roovers gentoo org> CommitDate: Thu Jul 27 13:25:56 2017 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5a27b2e7 net-libs/wvstreams: Add patch for bug #614810. Package-Manager: Portage-2.3.6, Repoman-2.3.3 ...ytes-should-be-enough-right-question-mark.patch | 11 +++ net-libs/wvstreams/wvstreams-4.6.1-r5.ebuild | 96 ++++++++++++++++++++++ 2 files changed, 107 insertions(+) diff --git a/net-libs/wvstreams/files/wvstreams-4.6.1-2048-bytes-should-be-enough-right-question-mark.patch b/net-libs/wvstreams/files/wvstreams-4.6.1-2048-bytes-should-be-enough-right-question-mark.patch new file mode 100644 index 00000000000..15fb13ca633 --- /dev/null +++ b/net-libs/wvstreams/files/wvstreams-4.6.1-2048-bytes-should-be-enough-right-question-mark.patch @@ -0,0 +1,11 @@ +--- a/utils/wvtask.cc ++++ b/utils/wvtask.cc +@@ -429,7 +429,7 @@ + total = (val+1) * (size_t)1024; + + if (!use_shared_stack()) +- total = 1024; // enough to save the do_task stack frame ++ total = 2048; // enough to save the do_task stack frame + + // set up a stack frame for the new task. This runs once + // per get_stack. diff --git a/net-libs/wvstreams/wvstreams-4.6.1-r5.ebuild b/net-libs/wvstreams/wvstreams-4.6.1-r5.ebuild new file mode 100644 index 00000000000..8d33d4bb718 --- /dev/null +++ b/net-libs/wvstreams/wvstreams-4.6.1-r5.ebuild @@ -0,0 +1,96 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +inherit autotools eutils flag-o-matic toolchain-funcs versionator + +DESCRIPTION="A network programming library in C++" +HOMEPAGE="http://alumnit.ca/wiki/?WvStreams" +SRC_URI="https://wvstreams.googlecode.com/files/${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~hppa ~ppc ~sparc ~x86" +IUSE="pam doc +ssl +dbus debug boost" + +#Tests fail if openssl is not compiled with -DPURIFY. Gentoo's isn't. FAIL! +RESTRICT="test" + +#QA Fail: xplc is compiled as a part of wvstreams. +#It'll take a larger patching effort to get it extracted, since upstream integrated it +#more tightly this time. Probably for the better since upstream xplc seems dead. + +RDEPEND=" + =sys-apps/dbus-1.4.20 ) + pam? ( virtual/pam ) +" +DEPEND=" + ${RDEPEND} + virtual/pkgconfig + doc? ( app-doc/doxygen ) + boost? ( >=dev-libs/boost-1.34.1:= ) +" +DOCS="ChangeLog README*" +PATCHES=( + "${FILESDIR}"/${P}-autoconf.patch + "${FILESDIR}"/${P}-fix-c++14.patch + "${FILESDIR}"/${P}-gcc47.patch + "${FILESDIR}"/${P}-glibc212.patch + "${FILESDIR}"/${P}-openssl-1.0.0.patch + "${FILESDIR}"/${P}-parallel-make.patch + "${FILESDIR}"/${P}-_DEFAULT_SOURCE.patch + "${FILESDIR}"/${P}-2048-bytes-should-be-enough-right-question-mark.patch +) + +src_prepare() { + default + + eautoreconf +} + +src_configure() { + append-flags -fno-strict-aliasing + append-flags -fno-tree-dce -fno-optimize-sibling-calls #421375 + + tc-export AR CXX + + use boost && export ac_cv_header_tr1_functional=no + + econf \ + $(use_enable debug) \ + $(use_with dbus) \ + $(use_with pam) \ + --cache-file=${T}/config.cache \ + --disable-optimization \ + --localstatedir=/var \ + --with-openssl \ + --with-zlib \ + --without-qt \ + --without-tcl \ + --without-valgrind +} + +src_compile() { + default + + if use doc; then + doxygen || die + fi +} + +src_test() { + emake test +} + +src_install() { + default + + if use doc; then + #the list of files is too big for dohtml -r Docs/doxy-html/* + docinto html + dodoc -r Docs/doxy-html/* + fi +}