From nobody Fri Jun 21 09:47:29 2024 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 4W5CFY6R32z5Pqhq; Fri, 21 Jun 2024 09:47:29 +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 4W5CFY5lJtz4Nwr; Fri, 21 Jun 2024 09:47:29 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1718963249; 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=C+jQ1moW9AKBKU/RqB8QCowue/ufA7uEXo000ErinQU=; b=RnnAdsEGb8rZ5CUuM4Bxsstd56i/RUR3hig6bFRKIYBc+6S++8xosq0rbsSU2axYCdsVCO mU2E+/twjr5cVkRulEv9+WrGzrEejpuuJQ1KhdDLKLcpXEiE7dOD1b+emndQjh0wvuW+Cr cE4B5TVaWCM8qjed8fWPlxDP2vGSTQVeu5zR8Z74j51XzV4RklsRFxUGoTfTQzYb+fZY7p +ZatiHSX0ly0CPhqSEcz4o3pj5Lsh651ehuXFjA4ToEULEKU3DIFQknpJv+s2Almtf8/dk 3zVmLxyotR8icFDgAjZVLMHAoPQOxmN4aJAo37RL/bESaqNbY4HPnrAiXMNyYw== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1718963249; a=rsa-sha256; cv=none; b=RtiBFEHOn076dgRMPjuPt2b0OAiPvIBV/ze0DL439V7WNVryz13SleWvANjVuKZ3lFuO+G pXK2RX5MOr20i6BCvgHgv7btU7p3f9zMJ6au1Ka4eq6M9h8HyNHZyY/6icB1wZQOPeQwZe UXc23qJ4fR3yrv2kMeGlBl/E6fAHLYG4+cfs0qWn6wPsZUJHBCyETpTRPRAr19bxdicvSm qeSB4v54m8yXYXynuqVO6JIw/SREvXumjZgu9gNRYihYvQthEC/estLr2mw9DrdQUVbGtO V4eo5T3vv2IFw4u+/OZ+qNJKTuir3verp4pKLtcOwhZ45pVzbZ/3D0qGD+nzZA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1718963249; 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=C+jQ1moW9AKBKU/RqB8QCowue/ufA7uEXo000ErinQU=; b=kPjZXqk2QmV3z1y4mjX7iaOiM6gNsOaqx2KF/07JZ78v+Gpd2qwA0g/Y94kxzYwOVRatkX bOjSmlmEQuDDC1aRaXMaLKGE4Sz2KVIP9VrZo8WJiZBzhgLMWx4yLUEqf/jEPiFjDfcj77 q5mwHzQ9oopjcklFXUUgZcSdNOendLH7+Yrdb/kKfuXv87Io8agWrhQ6DHgnGqfCstXQPl hq1/HEuw9rkrN4iDTzReRPg6k1/sAonUaQzYobzaFQO54JUHebL860OneqbnRGeIp0BNQe wEmfqYJ5vA5VU134mIP/mLBjW+ZD5d1XvGGsV9eQ/cgaLtzIsq2mtdxebnvu0w== 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 4W5CFY4v1Qz13LF; Fri, 21 Jun 2024 09:47:29 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.17.1/8.17.1) with ESMTP id 45L9lTvX074202; Fri, 21 Jun 2024 09:47:29 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.17.1/8.17.1/Submit) id 45L9lTRf074199; Fri, 21 Jun 2024 09:47:29 GMT (envelope-from git) Date: Fri, 21 Jun 2024 09:47:29 GMT Message-Id: <202406210947.45L9lTRf074199@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: 6bf397880890 - main - misc/py-xgboost: Add forgotten patch 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: X-BeenThere: dev-commits-ports-main@freebsd.org Sender: owner-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: 6bf3978808900f1b5f82037353e7cc09379b1c27 Auto-Submitted: auto-generated The branch main has been updated by yuri: URL: https://cgit.FreeBSD.org/ports/commit/?id=6bf3978808900f1b5f82037353e7cc09379b1c27 commit 6bf3978808900f1b5f82037353e7cc09379b1c27 Author: Yuri Victorovich AuthorDate: 2024-06-21 09:47:11 +0000 Commit: Yuri Victorovich CommitDate: 2024-06-21 09:47:11 +0000 misc/py-xgboost: Add forgotten patch --- misc/py-xgboost/files/patch-src_c__api_coll__c__api.cc | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/misc/py-xgboost/files/patch-src_c__api_coll__c__api.cc b/misc/py-xgboost/files/patch-src_c__api_coll__c__api.cc new file mode 100644 index 000000000000..7a6961734687 --- /dev/null +++ b/misc/py-xgboost/files/patch-src_c__api_coll__c__api.cc @@ -0,0 +1,13 @@ +- workaround for https://github.com/dmlc/xgboost/issues/10466 + +--- ../src/c_api/coll_c_api.cc.orig 2024-06-21 07:43:36 UTC ++++ ../src/c_api/coll_c_api.cc +@@ -75,7 +75,7 @@ void WaitImpl(TrackerHandleT *ptr, std::chrono::second + + void WaitImpl(TrackerHandleT *ptr, std::chrono::seconds timeout) { + constexpr std::int64_t kDft{collective::DefaultTimeoutSec()}; +- std::chrono::seconds wait_for{collective::HasTimeout(timeout) ? std::min(kDft, timeout.count()) ++ std::chrono::seconds wait_for{collective::HasTimeout(timeout) ? std::min(long(kDft), long(timeout.count())) + : kDft}; + + common::Timer timer;