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 83F06159C9B for ; Sun, 11 Aug 2024 16:20:02 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id D2393E2A74; Sun, 11 Aug 2024 16:20:01 +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)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 32018E2A74 for ; Sun, 11 Aug 2024 16:20:01 +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)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 2A48733BEE8 for ; Sun, 11 Aug 2024 16:20:00 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id BE6FB174C for ; Sun, 11 Aug 2024 16:19:58 +0000 (UTC) From: "Michael Zavertkin" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Michael Zavertkin" Message-ID: <1723393099.7fd2e3c9f69b8f26701393f6a5bc5d681813c530.misha.zavertkin@gentoo> Subject: [gentoo-commits] repo/proj/guru:dev commit in: net-proxy/byedpi/ X-VCS-Repository: repo/proj/guru X-VCS-Files: net-proxy/byedpi/byedpi-0.12.ebuild net-proxy/byedpi/byedpi-9999.ebuild X-VCS-Directories: net-proxy/byedpi/ X-VCS-Committer: misha.zavertkin X-VCS-Committer-Name: Michael Zavertkin X-VCS-Revision: 7fd2e3c9f69b8f26701393f6a5bc5d681813c530 X-VCS-Branch: dev Date: Sun, 11 Aug 2024 16:19:58 +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: 7144e552-7069-4ac0-ad36-6b1036cf7ff8 X-Archives-Hash: 3eb3be63b99bd4bceb2890ec70aceb0d commit: 7fd2e3c9f69b8f26701393f6a5bc5d681813c530 Author: Michael Zavertkin mail ru> AuthorDate: Sun Aug 11 16:18:19 2024 +0000 Commit: Michael Zavertkin mail ru> CommitDate: Sun Aug 11 16:18:19 2024 +0000 URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=7fd2e3c9 net-proxy/byedpi: respect LDFLAGS and die for sed Closes: https://bugs.gentoo.org/937762 Signed-off-by: Michael Zavertkin mail.ru> net-proxy/byedpi/byedpi-0.12.ebuild | 8 +++++--- net-proxy/byedpi/byedpi-9999.ebuild | 2 +- 2 files changed, 6 insertions(+), 4 deletions(-) diff --git a/net-proxy/byedpi/byedpi-0.12.ebuild b/net-proxy/byedpi/byedpi-0.12.ebuild index d78b1e46f..1d0769125 100644 --- a/net-proxy/byedpi/byedpi-0.12.ebuild +++ b/net-proxy/byedpi/byedpi-0.12.ebuild @@ -14,11 +14,13 @@ KEYWORDS="~amd64" src_compile() { tc-export CC - export CFLAGS - sed -i 's/ -O.\b/ /' Makefile + export CFLAGS LDFLAGS + sed -i 's/ -O.\b/ /' Makefile || die + # respect LDFLAGS + sed -i 's/$(CFLAGS) /$(CFLAGS) $(LDFLAGS) /' Makefile || die # workaround for compiling without -O2 # https://github.com/hufrea/byedpi/commit/3fee8d5aed122f34ec13637f5f4b1502d13cc923 - sed -i 's/inline bool check_port/static inline bool check_port/' extend.c + sed -i 's/inline bool check_port/static inline bool check_port/' extend.c || die default } diff --git a/net-proxy/byedpi/byedpi-9999.ebuild b/net-proxy/byedpi/byedpi-9999.ebuild index 03efb727c..aedab7b2d 100644 --- a/net-proxy/byedpi/byedpi-9999.ebuild +++ b/net-proxy/byedpi/byedpi-9999.ebuild @@ -14,7 +14,7 @@ SLOT="0" src_compile() { tc-export CC export CFLAGS LDFLAGS - sed -i 's/ -O.\b/ /' Makefile + sed -i 's/ -O.\b/ /' Makefile || die default }