diff options
author | Johannes Huber <johu@gentoo.org> | 2015-08-16 15:20:58 +0200 |
---|---|---|
committer | Johannes Huber <johu@gentoo.org> | 2015-08-16 15:21:09 +0200 |
commit | de2b0c83e04fc72349b595b779bcda8a8917ba68 (patch) | |
tree | 76de4e7479c232073ce0a6c67562b08927c28290 /net-misc/knemo | |
parent | sys-kernel/vanilla-sources: Automated version bump to 3.2.71 - remove old. (diff) | |
download | gentoo-de2b0c83e04fc72349b595b779bcda8a8917ba68.tar.gz gentoo-de2b0c83e04fc72349b595b779bcda8a8917ba68.tar.bz2 gentoo-de2b0c83e04fc72349b595b779bcda8a8917ba68.zip |
net-misc/knemo: Fix build, bug 555784
Revision bump adds patch to fix build. Patch provided by baddy
<efan2@yandex.ru>.
Gentoo-bug: 555784
Reported-by: Toralf Förster <toralf.foerster@gmx.de>
Package-Manager: portage-2.2.20.1
Diffstat (limited to 'net-misc/knemo')
-rw-r--r-- | net-misc/knemo/files/knemo-0.7.6-netlinkbackend.patch | 11 | ||||
-rw-r--r-- | net-misc/knemo/knemo-0.7.6-r2.ebuild | 40 |
2 files changed, 51 insertions, 0 deletions
diff --git a/net-misc/knemo/files/knemo-0.7.6-netlinkbackend.patch b/net-misc/knemo/files/knemo-0.7.6-netlinkbackend.patch new file mode 100644 index 000000000000..fb4dd3a24521 --- /dev/null +++ b/net-misc/knemo/files/knemo-0.7.6-netlinkbackend.patch @@ -0,0 +1,11 @@ +--- ./src/knemod/backends/netlinkbackend.cpp 2015-08-15 14:34:54.823572917 +0600 ++++ ./src/knemod/backends/netlinkbackend.cpp.new 2015-08-15 14:34:15.680238396 +0600 +@@ -30,6 +30,8 @@ + #include "utils.h" + #include "netlinkbackend.h" + ++#include <linux/if.h> ++ + #ifndef IFF_LOWER_UP + #define IFF_LOWER_UP 0x10000 + #endif diff --git a/net-misc/knemo/knemo-0.7.6-r2.ebuild b/net-misc/knemo/knemo-0.7.6-r2.ebuild new file mode 100644 index 000000000000..8c0ab2cacb2c --- /dev/null +++ b/net-misc/knemo/knemo-0.7.6-r2.ebuild @@ -0,0 +1,40 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 + +KDE_LINGUAS="ar bg br bs cs cy da de el en_GB eo es et fi fr ga gl hr hu is it +ja ka km lt ms nb nds nl pl pt pt_BR ro ru rw sk sl sr sv tr ug uk zh_CN zh_TW" +inherit kde4-base + +DESCRIPTION="The KDE Network Monitor" +HOMEPAGE="http://kde-apps.org/content/show.php?content=12956" +SRC_URI="http://www.kde-apps.org/CONTENT/content-files/12956-${P}.tar.bz2" + +SLOT="4" +KEYWORDS="~amd64 ~x86" +LICENSE="GPL-2" +IUSE="debug wifi" + +DEPEND=" + $(add_kdebase_dep ksysguard) + $(add_kdebase_dep systemsettings) + dev-libs/libnl:3 + sys-apps/net-tools + dev-qt/qtsql:4[sqlite] + wifi? ( net-wireless/wireless-tools ) +" +RDEPEND="${DEPEND}" + +DOCS=( AUTHORS ChangeLog README ) + +PATCHES=( "${FILESDIR}/${P}-netlinkbackend.patch" ) + +src_configure() { + mycmakeargs=( + $(cmake-utils_use_no wifi WIRELESS_SUPPORT) + ) + + kde4-base_src_configure +} |