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 (4096 bits) server-digest SHA256) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 9CCC615812D for ; Sun, 05 Jan 2025 12:54:45 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id C5A86E077C; Sun, 05 Jan 2025 12:54:44 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (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 AF8B2E077C for ; Sun, 05 Jan 2025 12:54:44 +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 97DDF340CC9 for ; Sun, 05 Jan 2025 12:54:43 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 02647D81 for ; Sun, 05 Jan 2025 12:54:42 +0000 (UTC) From: "Miroslav Šulc" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Miroslav Šulc" Message-ID: <1736081678.3427a8e29fa37c461866d293f31f662276c8d1d3.fordfrog@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: media-libs/libopenraw/files/, media-libs/libopenraw/ X-VCS-Repository: repo/gentoo X-VCS-Files: media-libs/libopenraw/files/libopenraw-0.3.7-fix-boost-detection.patch media-libs/libopenraw/libopenraw-0.3.7-r1.ebuild X-VCS-Directories: media-libs/libopenraw/files/ media-libs/libopenraw/ X-VCS-Committer: fordfrog X-VCS-Committer-Name: Miroslav Šulc X-VCS-Revision: 3427a8e29fa37c461866d293f31f662276c8d1d3 X-VCS-Branch: master Date: Sun, 05 Jan 2025 12:54:42 +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: ed96684c-1b7d-43a7-aaac-0e681f77e7ca X-Archives-Hash: 7fd08703b784759fa6a8acb6887ee1e4 commit: 3427a8e29fa37c461866d293f31f662276c8d1d3 Author: Miroslav Šulc gentoo org> AuthorDate: Sun Jan 5 12:54:28 2025 +0000 Commit: Miroslav Šulc gentoo org> CommitDate: Sun Jan 5 12:54:38 2025 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3427a8e2 media-libs/libopenraw: fixed boost detection Closes: https://bugs.gentoo.org/919349 Signed-off-by: Miroslav Šulc gentoo.org> .../files/libopenraw-0.3.7-fix-boost-detection.patch | 12 ++++++++++++ media-libs/libopenraw/libopenraw-0.3.7-r1.ebuild | 3 ++- 2 files changed, 14 insertions(+), 1 deletion(-) diff --git a/media-libs/libopenraw/files/libopenraw-0.3.7-fix-boost-detection.patch b/media-libs/libopenraw/files/libopenraw-0.3.7-fix-boost-detection.patch new file mode 100644 index 000000000000..1ca47ea5cc90 --- /dev/null +++ b/media-libs/libopenraw/files/libopenraw-0.3.7-fix-boost-detection.patch @@ -0,0 +1,12 @@ +--- a/m4/boost.m4 ++++ b/m4/boost.m4 +@@ -229,6 +229,9 @@ AC_LANG_POP([C++])dnl + [#include + boost-lib-version = BOOST_LIB_VERSION], + [boost_cv_lib_version=`cat conftest.i`])]) ++ if test x"$boost_cv_lib_version" = x; then ++ boost_cv_lib_version=$(grep "#define BOOST_LIB_VERSION" /usr/include/boost/version.hpp | sed 's/.*"\(.*\)".*/\1/') ++ fi + # e.g. "134" for 1_34_1 or "135" for 1_35 + boost_major_version=`echo "$boost_cv_lib_version" | sed 's/_//;s/_.*//'` + case $boost_major_version in #( diff --git a/media-libs/libopenraw/libopenraw-0.3.7-r1.ebuild b/media-libs/libopenraw/libopenraw-0.3.7-r1.ebuild index 4825810f5604..9d8e94968f46 100644 --- a/media-libs/libopenraw/libopenraw-0.3.7-r1.ebuild +++ b/media-libs/libopenraw/libopenraw-0.3.7-r1.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2024 Gentoo Authors +# Copyright 1999-2025 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 @@ -39,6 +39,7 @@ BDEPEND=" PATCHES=( "${FILESDIR}"/${PN}-0.3.7-slibtool.patch #913723 + "${FILESDIR}"/${PN}-0.3.7-fix-boost-detection.patch #919349 ) src_prepare() {