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.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 3680A158041 for ; Wed, 27 Mar 2024 06:00:56 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 5D839E2A65; Wed, 27 Mar 2024 06:00:55 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (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) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 3BCFAE2A65 for ; Wed, 27 Mar 2024 06:00:55 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (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) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 330DE335DC5 for ; Wed, 27 Mar 2024 06:00:54 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 9CDC1B29 for ; Wed, 27 Mar 2024 06:00:52 +0000 (UTC) From: "Sam James" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Sam James" Message-ID: <1711519225.5e3461b7fc187146997a8acfabd68b25574cc839.sam@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: net-libs/srt/ X-VCS-Repository: repo/gentoo X-VCS-Files: net-libs/srt/srt-1.5.1.ebuild net-libs/srt/srt-1.5.3.ebuild X-VCS-Directories: net-libs/srt/ X-VCS-Committer: sam X-VCS-Committer-Name: Sam James X-VCS-Revision: 5e3461b7fc187146997a8acfabd68b25574cc839 X-VCS-Branch: master Date: Wed, 27 Mar 2024 06:00:52 +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-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 20fb227e-203b-43ac-ad13-29ae92e99ec8 X-Archives-Hash: 27ed5b541efe1e034c0b46c06f98add6 commit: 5e3461b7fc187146997a8acfabd68b25574cc839 Author: Sam James gentoo org> AuthorDate: Wed Mar 27 06:00:25 2024 +0000 Commit: Sam James gentoo org> CommitDate: Wed Mar 27 06:00:25 2024 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5e3461b7 net-libs/srt: filter LTO ODR violations. Already reported upstream 3 years ago (by someone else). Closes: https://bugs.gentoo.org/861584 Signed-off-by: Sam James gentoo.org> net-libs/srt/srt-1.5.1.ebuild | 8 ++++++-- net-libs/srt/srt-1.5.3.ebuild | 8 ++++++-- 2 files changed, 12 insertions(+), 4 deletions(-) diff --git a/net-libs/srt/srt-1.5.1.ebuild b/net-libs/srt/srt-1.5.1.ebuild index 9a90f0d612da..b23cb847814e 100644 --- a/net-libs/srt/srt-1.5.1.ebuild +++ b/net-libs/srt/srt-1.5.1.ebuild @@ -1,9 +1,9 @@ -# Copyright 2018-2023 Gentoo Authors +# Copyright 2018-2024 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 -inherit cmake-multilib +inherit cmake-multilib flag-o-matic DESCRIPTION="Secure Reliable Transport (SRT) library and tools" HOMEPAGE="https://github.com/Haivision/srt" @@ -35,6 +35,10 @@ BDEPEND="virtual/pkgconfig test? ( >=dev-cpp/gtest-1.8[${MULTILIB_USEDEP}] )" src_configure() { + # ODR violations + # https://github.com/Haivision/srt/issues/2145 (bug #861584) + filter-lto + local mycmakeargs=( -DENABLE_STATIC=OFF -DENABLE_UNITTESTS=$(usex test) diff --git a/net-libs/srt/srt-1.5.3.ebuild b/net-libs/srt/srt-1.5.3.ebuild index b4dc27c9ac23..de20957ff470 100644 --- a/net-libs/srt/srt-1.5.3.ebuild +++ b/net-libs/srt/srt-1.5.3.ebuild @@ -1,9 +1,9 @@ -# Copyright 2018-2023 Gentoo Authors +# Copyright 2018-2024 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 -inherit cmake-multilib +inherit cmake-multilib flag-o-matic DESCRIPTION="Secure Reliable Transport (SRT) library and tools" HOMEPAGE="https://github.com/Haivision/srt" @@ -35,6 +35,10 @@ BDEPEND="virtual/pkgconfig test? ( >=dev-cpp/gtest-1.10[${MULTILIB_USEDEP}] )" src_configure() { + # ODR violations + # https://github.com/Haivision/srt/issues/2145 (bug #861584) + filter-lto + local mycmakeargs=( -DUSE_CXX_STD=c++14 # Required for gtest -DENABLE_STATIC=OFF