summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeroen Roovers <jer@gentoo.org>2016-02-11 16:09:14 +0100
committerJeroen Roovers <jer@gentoo.org>2016-02-11 16:10:48 +0100
commit16af3d82ec7b1bb84ec123ffe3380f1bd11bbae6 (patch)
tree86544c3d12e49e52a7f2f2a2e85d340e6c977d46 /net-wireless/airtraf
parentprofiles/package.mask: Mask dev-java/bytecode for removal (oversight from bug... (diff)
downloadgentoo-16af3d82ec7b1bb84ec123ffe3380f1bd11bbae6.tar.gz
gentoo-16af3d82ec7b1bb84ec123ffe3380f1bd11bbae6.tar.bz2
gentoo-16af3d82ec7b1bb84ec123ffe3380f1bd11bbae6.zip
net-wireless/airtraf: Fix linker failure (bug #574434 by Toralf Förster).
Also, rename patch Package-Manager: portage-2.2.27
Diffstat (limited to 'net-wireless/airtraf')
-rw-r--r--net-wireless/airtraf/airtraf-1.1-r3.ebuild4
-rw-r--r--net-wireless/airtraf/files/airtraf-1.1-sniffd.patch (renamed from net-wireless/airtraf/files/airtraf-1.1.patch)0
2 files changed, 2 insertions, 2 deletions
diff --git a/net-wireless/airtraf/airtraf-1.1-r3.ebuild b/net-wireless/airtraf/airtraf-1.1-r3.ebuild
index bd4dd8f70c11..a110042d7921 100644
--- a/net-wireless/airtraf/airtraf-1.1-r3.ebuild
+++ b/net-wireless/airtraf/airtraf-1.1-r3.ebuild
@@ -24,7 +24,7 @@ DEPEND="
src_prepare() {
epatch \
- "${FILESDIR}"/${P}.patch \
+ "${FILESDIR}"/${P}-sniffd.patch \
"${FILESDIR}"/${P}-off-by-one.patch \
"${FILESDIR}"/${P}-fprintf-format.patch
@@ -32,7 +32,7 @@ src_prepare() {
-e '/^LIBS/s|=.*|= $(shell $(PKG_CONFIG) --libs panel)|' \
src/libncurses/Makefile || die
sed -i \
- -e 's|-lpanel -lncurses|$(shell $(PKG_CONFIG) --libs panel)|' \
+ -e 's|-lpanel -lncurses|$(shell $(PKG_CONFIG) --libs ncurses panel)|' \
src/sniffd/Makefile || die
tc-export PKG_CONFIG
}
diff --git a/net-wireless/airtraf/files/airtraf-1.1.patch b/net-wireless/airtraf/files/airtraf-1.1-sniffd.patch
index e88ef52267c1..e88ef52267c1 100644
--- a/net-wireless/airtraf/files/airtraf-1.1.patch
+++ b/net-wireless/airtraf/files/airtraf-1.1-sniffd.patch