From 07ff1130ba2ce6f23d4c1565173beb0ab5fa70cd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Maciej=20Bar=C4=87?= Date: Thu, 20 Jun 2024 15:40:13 +0200 Subject: [PATCH] app-misc/openrgb: workaround cpp-httplib lib name change MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Closes: https://bugs.gentoo.org/934576 Signed-off-by: Maciej Barć --- app-misc/openrgb/openrgb-0.9.ebuild | 13 +++++++++++-- app-misc/openrgb/openrgb-9999.ebuild | 13 +++++++++++-- 2 files changed, 22 insertions(+), 4 deletions(-) diff --git a/app-misc/openrgb/openrgb-0.9.ebuild b/app-misc/openrgb/openrgb-0.9.ebuild index 9c15691b3b6ba..72260835c3d00 100644 --- a/app-misc/openrgb/openrgb-0.9.ebuild +++ b/app-misc/openrgb/openrgb-0.9.ebuild @@ -1,4 +1,4 @@ -# Copyright 2020-2023 Gentoo Authors +# Copyright 2020-2024 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 @@ -63,10 +63,19 @@ src_configure() { # > warning: ‘-pipe’ ignored because ‘-save-temps’ specified filter-flags -pipe + # cpp-httplib >=0.16.0 changed the library name from "httplib" to "cpp-httplib". + # See bug: https://bugs.gentoo.org/934576 + local -a libs=() + if has_version " warning: ‘-pipe’ ignored because ‘-save-temps’ specified filter-flags -pipe + # cpp-httplib >=0.16.0 changed the library name from "httplib" to "cpp-httplib". + # See bug: https://bugs.gentoo.org/934576 + local -a libs=() + if has_version "