From nobody Wed Sep 14 08:44:10 2022 X-Original-To: dev-commits-ports-main@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4MSDQf3Q8Mz4ckQt; Wed, 14 Sep 2022 08:44:10 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4MSDQf2wWMz3WVF; Wed, 14 Sep 2022 08:44:10 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1663145050; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=t82K1TzgGCG9W5ew43yUqXxmY/juoRNhX7m9szxJv2U=; b=hnycNKfHGkOZxjtAm21OUOB1GjB7P/tkJrJ11Vzn0iT5DX1R5yH6U6WwvjUvv6YYDsdR7Q LzG3bNGjq81VInUCFqqcPbY0jXAJLo49o5I62n43zbd25htqK2wVDUurPqKqz8DQf2k4+T NZK1xyApdhqY3SdrrU0eRAETcCSZ4tzIq5JfI/sdgad5vo5rtRMUdiVS6q//1K00b2vJf5 5owucQsBTQX1NPYxdW7X0kD2A2wwDVhIAxUbcylmCPkuXPVFjVQCQP5MtZ9g5rmtkjDsbd FfyRIMQuF200zeR5F+HM6Wz3bvAQsRsSwyGmJ/zCG3PzpnBbrDvsHRIKIYyI3g== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4MSDQf1z0mzcdZ; Wed, 14 Sep 2022 08:44:10 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 28E8iAwj078204; Wed, 14 Sep 2022 08:44:10 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 28E8iAbh078203; Wed, 14 Sep 2022 08:44:10 GMT (envelope-from git) Date: Wed, 14 Sep 2022 08:44:10 GMT Message-Id: <202209140844.28E8iAbh078203@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Yuri Victorovich Subject: git: 561d1faa6155 - main - math/clfft: Unbreak by fixing C++ error List-Id: Commits to the main branch of the FreeBSD ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-main List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-ports-main@freebsd.org X-BeenThere: dev-commits-ports-main@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: yuri X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 561d1faa6155aea59e9acd196f9171e5dcdd5e64 Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1663145050; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=t82K1TzgGCG9W5ew43yUqXxmY/juoRNhX7m9szxJv2U=; b=vdERrUecOHWN3QJHy51uxf/YMtvLtkoRH/S7GUHkPthTdgj7RBf3SPijZm9qMedQmsxz82 EqWxxfixZhshTOpt6adPIJt38tTl01oUTP2C4Mf7yvt3ljjTDm1Lrg3JW0dCZ3mFR/imnn GfANZ6uAHhlOI1ObQvuLVXEl202IXI86C28IcYkIVVqlqREY+WNu63gKlSvq0pgHyDallH h9Uh+re9GTN1Hb3S3OCV20yRaZnQB74BWfwnzAYi750qxoKsk54djTJ29RFCNVn7N8f3c7 voNtorQPUfc852W3s5yI3HjuJUbHXPG0YfVsIkmn8IVLE2EI2qCLmYwUOv9Urw== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1663145050; a=rsa-sha256; cv=none; b=QDCZMPCUVmQRuAM6oQNkPTZb9HB5LFl+1smXjQL2S6gN7JZZ9M98kWEKzYSfbj7y7Icm6N MkrakgQzWhCTkourWpTPlU+roNZLnjjvmGOH9eexKVdSseqpPXI1BkOTo5AwY7UzGJYGJz srlQHSW8ReNC9DpfC60jMEfsOy3eh5zhBS02onhnahIjuySef9vErIHaI5Log09HhldMYK cWpRPyCIvQovYAc1JWyN759RX7aE4Qt6vvJDfImZTEh+Fi4Ez24I7qLx8QPHg/Ggm/0O4q D62hKfZszTdtLZN9p2/1Ay9+3KZkOJAmwpp0Mhjzc3ITgC5KZUP2RSRom07trw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by yuri: URL: https://cgit.FreeBSD.org/ports/commit/?id=561d1faa6155aea59e9acd196f9171e5dcdd5e64 commit 561d1faa6155aea59e9acd196f9171e5dcdd5e64 Author: Yuri Victorovich AuthorDate: 2022-09-14 08:43:08 +0000 Commit: Yuri Victorovich CommitDate: 2022-09-14 08:44:07 +0000 math/clfft: Unbreak by fixing C++ error Approved by: portmgr (unbreak) --- .../files/patch-src_library_generator.transpose.cpp | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/math/clfft/files/patch-src_library_generator.transpose.cpp b/math/clfft/files/patch-src_library_generator.transpose.cpp new file mode 100644 index 000000000000..e17a58968168 --- /dev/null +++ b/math/clfft/files/patch-src_library_generator.transpose.cpp @@ -0,0 +1,16 @@ +- fix C++ error + +--- src/library/generator.transpose.cpp.orig 2016-08-31 21:46:51 UTC ++++ src/library/generator.transpose.cpp +@@ -1089,8 +1089,9 @@ clfftStatus genSwapKernelGeneral(const FFTGeneratedTra + + //std::string funcName = "swap_nonsquare_" + std::to_string(smaller_dim) + "_" + std::to_string(dim_ratio); + std::string funcName = "swap_nonsquare_"; +- std::string smaller_dim_str = static_cast(&(std::ostringstream() << smaller_dim))->str(); +- std::string dim_ratio_str = static_cast(&(std::ostringstream() << dim_ratio))->str(); ++ std::ostringstream ss1, ss2; ++ std::string smaller_dim_str = (ss1 << smaller_dim, ss1.str()); ++ std::string dim_ratio_str = (ss2 << dim_ratio, ss2.str()); + if(params.fft_N[0] > params.fft_N[1]) + funcName = funcName + smaller_dim_str + "_" + dim_ratio_str; + else