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 2DA25158091 for ; Tue, 14 Jun 2022 12:54:22 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 6B976E0971; Tue, 14 Jun 2022 12:54:21 +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 4FE3BE0971 for ; Tue, 14 Jun 2022 12:54:21 +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 31569341CFB for ; Tue, 14 Jun 2022 12:54:20 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 944984FB for ; Tue, 14 Jun 2022 12:54:18 +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: <1655211246.e867e1dbccb2d262f613d5cba268672e548480af.sam@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: net-wireless/dump1090/files/, net-wireless/dump1090/ X-VCS-Repository: repo/gentoo X-VCS-Files: net-wireless/dump1090/dump1090-6.1.ebuild net-wireless/dump1090/files/dump1090-6.1-libdir.patch X-VCS-Directories: net-wireless/dump1090/files/ net-wireless/dump1090/ X-VCS-Committer: sam X-VCS-Committer-Name: Sam James X-VCS-Revision: e867e1dbccb2d262f613d5cba268672e548480af X-VCS-Branch: master Date: Tue, 14 Jun 2022 12:54:18 +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: f7bb72dd-e193-4c90-8837-d6e894522b63 X-Archives-Hash: feb6dc28ea281ac742050529dc676181 commit: e867e1dbccb2d262f613d5cba268672e548480af Author: Sam James gentoo org> AuthorDate: Tue Jun 14 12:54:01 2022 +0000 Commit: Sam James gentoo org> CommitDate: Tue Jun 14 12:54:06 2022 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e867e1db net-wireless/dump1090: fix build with lld Closes: https://bugs.gentoo.org/831403 Signed-off-by: Sam James gentoo.org> net-wireless/dump1090/dump1090-6.1.ebuild | 6 +++++- net-wireless/dump1090/files/dump1090-6.1-libdir.patch | 16 ++++++++++++++++ 2 files changed, 21 insertions(+), 1 deletion(-) diff --git a/net-wireless/dump1090/dump1090-6.1.ebuild b/net-wireless/dump1090/dump1090-6.1.ebuild index 04ee546dcf91..0d8aaf94604b 100644 --- a/net-wireless/dump1090/dump1090-6.1.ebuild +++ b/net-wireless/dump1090/dump1090-6.1.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2021 Gentoo Authors +# Copyright 1999-2022 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 @@ -28,6 +28,10 @@ DEPEND=" RDEPEND="${DEPEND}" BDEPEND="virtual/pkgconfig" +PATCHES=( + "${FILESDIR}"/${PN}-6.1-libdir.patch +) + src_prepare() { default sed -i -e '/CFLAGS/s# -O3 -g -Wall -Wmissing-declarations -Werror -W # #' Makefile || die diff --git a/net-wireless/dump1090/files/dump1090-6.1-libdir.patch b/net-wireless/dump1090/files/dump1090-6.1-libdir.patch new file mode 100644 index 000000000000..b55fa95d2ea3 --- /dev/null +++ b/net-wireless/dump1090/files/dump1090-6.1-libdir.patch @@ -0,0 +1,16 @@ +diff --git a/Makefile b/Makefile +index d4a5ff6..5d69505 100644 +--- a/Makefile ++++ b/Makefile +@@ -99,9 +99,9 @@ ifeq ($(RTLSDR), yes) + ifdef RTLSDR_PREFIX + CPPFLAGS += -I$(RTLSDR_PREFIX)/include + ifeq ($(STATIC), yes) +- LIBS_SDR += -L$(RTLSDR_PREFIX)/lib -Wl,-Bstatic -lrtlsdr -Wl,-Bdynamic $(LIBS_USB) ++ LIBS_SDR += -Wl,-Bstatic -lrtlsdr -Wl,-Bdynamic $(LIBS_USB) + else +- LIBS_SDR += -L$(RTLSDR_PREFIX)/lib -lrtlsdr $(LIBS_USB) ++ LIBS_SDR += -lrtlsdr $(LIBS_USB) + endif + else + # some packaged .pc files are massively broken, try to handle it