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 0381F158043 for ; Thu, 21 Mar 2024 02:24:35 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 8F401E29BC; Thu, 21 Mar 2024 02:24:33 +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 6F5E5E29B9 for ; Thu, 21 Mar 2024 02:24:33 +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 5C08C340813 for ; Thu, 21 Mar 2024 02:24:32 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id BBAB61596 for ; Thu, 21 Mar 2024 02:24:30 +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: <1710987747.b1449661e505efe64abd07cf7d8fe42ecba1eaf9.sam@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: media-libs/libopenraw/, media-libs/libopenraw/files/ X-VCS-Repository: repo/gentoo X-VCS-Files: media-libs/libopenraw/files/libopenraw-0.3.7-slibtool.patch media-libs/libopenraw/libopenraw-0.3.7.ebuild X-VCS-Directories: media-libs/libopenraw/files/ media-libs/libopenraw/ X-VCS-Committer: sam X-VCS-Committer-Name: Sam James X-VCS-Revision: b1449661e505efe64abd07cf7d8fe42ecba1eaf9 X-VCS-Branch: master Date: Thu, 21 Mar 2024 02:24:30 +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: 595ac163-a30d-45c1-93f1-5b79e30c039e X-Archives-Hash: 27129f165e05e5391c91352427a7d99d commit: b1449661e505efe64abd07cf7d8fe42ecba1eaf9 Author: orbea riseup net> AuthorDate: Sat Mar 16 19:09:49 2024 +0000 Commit: Sam James gentoo org> CommitDate: Thu Mar 21 02:22:27 2024 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b1449661 media-libs/libopenraw: remove typo The libtool flag is '-all-static' and not '--all-static' which causes slibtool to fail while GNU libtool silently ignores the unknown flag. Additionally fixing the typo causes the build to fail with undefined references so just remove it instead. Upstream already removed it themselves, but their change is not trivial to backport. Closes: https://bugs.gentoo.org/913723 Upstream-Commit: https://gitlab.freedesktop.org/libopenraw/libopenraw/-/commit/eb873c75b09074d710e3f105b9c988a28058db53 Signed-off-by: orbea riseup.net> Closes: https://github.com/gentoo/gentoo/pull/35789 Signed-off-by: Sam James gentoo.org> .../libopenraw/files/libopenraw-0.3.7-slibtool.patch | 16 ++++++++++++++++ media-libs/libopenraw/libopenraw-0.3.7.ebuild | 11 ++++++++++- 2 files changed, 26 insertions(+), 1 deletion(-) diff --git a/media-libs/libopenraw/files/libopenraw-0.3.7-slibtool.patch b/media-libs/libopenraw/files/libopenraw-0.3.7-slibtool.patch new file mode 100644 index 000000000000..1109a332402e --- /dev/null +++ b/media-libs/libopenraw/files/libopenraw-0.3.7-slibtool.patch @@ -0,0 +1,16 @@ +https://bugs.gentoo.org/913723 +https://gitlab.freedesktop.org/libopenraw/libopenraw/-/commit/eb873c75b09074d710e3f105b9c988a28058db53 + +--- a/lib/Makefile.am ++++ b/lib/Makefile.am +@@ -118,10 +118,8 @@ clean-local: + CARGO_TARGET_DIR=$(CARGO_TARGET_DIR) cargo clean $(CARGO_VERBOSE) $(CARGO_RELEASE_ARGS) + rm -f $(CARGO_TARGET_DIR)/.rustc_info.json + +-# The use of --all-static is necesary for the RUST_LIB + libopenraw_la_LDFLAGS = \ + -version-info @LIBOPENRAW_VERSION_INFO@ \ +- --all-static \ + -lpthread -ldl + libopenraw_la_LIBADD = -ljpeg $(RUST_LIB) libopenraw_internals.la + libopenraw_la_SOURCES = \ diff --git a/media-libs/libopenraw/libopenraw-0.3.7.ebuild b/media-libs/libopenraw/libopenraw-0.3.7.ebuild index 51dac50a7387..f31d6215774d 100644 --- a/media-libs/libopenraw/libopenraw-0.3.7.ebuild +++ b/media-libs/libopenraw/libopenraw-0.3.7.ebuild @@ -4,7 +4,7 @@ EAPI=8 CRATES=" " -inherit cargo gnome2-utils +inherit autotools cargo gnome2-utils DESCRIPTION="RAW image formats decoding library" HOMEPAGE="https://libopenraw.freedesktop.org/" @@ -34,6 +34,15 @@ BDEPEND=" test? ( net-misc/curl ) " +PATCHES=( + "${FILESDIR}"/${PN}-0.3.7-slibtool.patch #913723 +) + +src_prepare() { + default + eautoreconf +} + src_configure() { econf \ --with-boost="${EPREFIX}"/usr \