From ff70447054077984eb2e41fabe266a7d573d094d Mon Sep 17 00:00:00 2001 From: PF4Public Date: Sat, 27 Jan 2024 01:39:24 +0300 Subject: [PATCH] dev-util/electron: fix jsoncpp --- dev-util/electron/electron-28.2.0.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev-util/electron/electron-28.2.0.ebuild b/dev-util/electron/electron-28.2.0.ebuild index 010ac6ca0..dd3a62265 100644 --- a/dev-util/electron/electron-28.2.0.ebuild +++ b/dev-util/electron/electron-28.2.0.ebuild @@ -1389,7 +1389,7 @@ src_prepare() { cp "${FILESDIR}/libusb.gn" build/linux/unbundle || die sed -i '/^REPLACEMENTS.*$/{s++REPLACEMENTS = {"libusb":"third_party/libusb/BUILD.gn",+;h};${x;/./{x;q0};x;q1}' \ build/linux/unbundle/replace_gn_files.py || die - sed -i '/^.*deps.*third_party\/jsoncpp.*$/{s++public_deps = [ "//third_party/jsoncpp" ]+;h};${x;/./{x;q0};x;q1}' \ + sed -i '/^.*deps.*third_party\/jsoncpp.*$/{s++public_deps \+= [ "//third_party/jsoncpp" ]+;h};${x;/./{x;q0};x;q1}' \ third_party/webrtc/rtc_base/BUILD.gn || die use bluetooth || eapply "${FILESDIR}/disable-bluez.patch"