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 1E24A15810F for ; Sat, 10 Jun 2023 20:51:28 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 60897E0882; Sat, 10 Jun 2023 20:51:27 +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 3FC92E0882 for ; Sat, 10 Jun 2023 20:51:27 +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 3774B34117C for ; Sat, 10 Jun 2023 20:51:26 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 965CFA85 for ; Sat, 10 Jun 2023 20:51:24 +0000 (UTC) From: "William Hubbs" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "William Hubbs" Message-ID: <1686430261.1cd1ff662fd84f3f45d9bb238ede6d29ff83a75d.williamh@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: net-vpn/ovpn-dco/ X-VCS-Repository: repo/gentoo X-VCS-Files: net-vpn/ovpn-dco/ovpn-dco-0.2.20230426.ebuild X-VCS-Directories: net-vpn/ovpn-dco/ X-VCS-Committer: williamh X-VCS-Committer-Name: William Hubbs X-VCS-Revision: 1cd1ff662fd84f3f45d9bb238ede6d29ff83a75d X-VCS-Branch: master Date: Sat, 10 Jun 2023 20:51:24 +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: 1d45335c-9623-4af9-adf4-73d26725f004 X-Archives-Hash: 364bba94b995ffa958f83d3cd28badea commit: 1cd1ff662fd84f3f45d9bb238ede6d29ff83a75d Author: William Hubbs gentoo org> AuthorDate: Sat Jun 10 20:49:28 2023 +0000 Commit: William Hubbs gentoo org> CommitDate: Sat Jun 10 20:51:01 2023 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1cd1ff66 net-vpn/ovpn-dco: build fix We need to filter out the -fomit-frame-pointer cflag since this builds with -pg. Closes: https://bugs.gentoo.org/907744 Signed-off-by: William Hubbs gentoo.org> net-vpn/ovpn-dco/ovpn-dco-0.2.20230426.ebuild | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/net-vpn/ovpn-dco/ovpn-dco-0.2.20230426.ebuild b/net-vpn/ovpn-dco/ovpn-dco-0.2.20230426.ebuild index 6f65a6aff59c..fb761cca9d7c 100644 --- a/net-vpn/ovpn-dco/ovpn-dco-0.2.20230426.ebuild +++ b/net-vpn/ovpn-dco/ovpn-dco-0.2.20230426.ebuild @@ -3,7 +3,7 @@ EAPI=8 -inherit linux-mod +inherit flag-o-matic linux-mod DESCRIPTION="OpenVPN Data Channel Offload in the linux kernel" HOMEPAGE="https://github.com/OpenVPN/ovpn-dco" @@ -37,6 +37,13 @@ pkg_setup() { linux-mod_pkg_setup } +src_configure() { + # Causes build failures because it builds with -pg, + # bug #907744 + filter-flags -fomit-frame-pointer + default +} + src_compile() { BUILD_PARAMS+=" KERNEL_SRC='${KERNEL_DIR}'" [[ ${PV} != 9999 ]] && BUILD_PARAMS+=" REVISION='${PV}'"