mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-23 16:49:10 -07:00
net-analyzer/synscan: EAPI7->8, fix w/ lld
Closes: https://bugs.gentoo.org/875017 Signed-off-by: Ionen Wolkens <ionen@gentoo.org>
This commit is contained in:
9
net-analyzer/synscan/files/synscan-5.02-lld.patch
Normal file
9
net-analyzer/synscan/files/synscan-5.02-lld.patch
Normal file
@@ -0,0 +1,9 @@
|
||||
lld does not ignore erroneous libdirs (ideally should use pkg-config)
|
||||
https://bugs.gentoo.org/875017
|
||||
--- a/configure.in
|
||||
+++ b/configure.in
|
||||
@@ -60,3 +60,3 @@
|
||||
CFLAGS="$CFLAGS -I${prefix}/include"
|
||||
- LIBS="$LIBS -L${prefix}/lib -lpcap"
|
||||
+ LIBS="$LIBS -lpcap"
|
||||
elif test -f /usr/include/pcap/pcap.h; then
|
||||
@@ -1,15 +1,15 @@
|
||||
# Copyright 1999-2022 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
EAPI=8
|
||||
|
||||
inherit autotools
|
||||
|
||||
DESCRIPTION="A fast asynchronous half-open TCP portscanner"
|
||||
DESCRIPTION="Fast asynchronous half-open TCP portscanner"
|
||||
HOMEPAGE="http://www.digit-labs.org/files/tools/synscan/"
|
||||
SRC_URI="http://www.digit-labs.org/files/tools/${PN}/releases/${P}.tar.gz"
|
||||
SRC_URI="http://www.digit-labs.org/files/tools/synscan/releases/${P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
LICENSE="GPL-2+"
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64 x86 ~x64-macos"
|
||||
|
||||
@@ -18,12 +18,12 @@ DEPEND="${RDEPEND}"
|
||||
|
||||
PATCHES=(
|
||||
"${FILESDIR}"/${P}-destdir.patch
|
||||
"${FILESDIR}"/${P}-lld.patch
|
||||
)
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
|
||||
mv configure.{in,ac} || die
|
||||
eautoreconf
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user