summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobin H. Johnson <robbat2@gentoo.org>2017-11-07 10:17:59 -0800
committerRobin H. Johnson <robbat2@gentoo.org>2017-11-07 10:18:19 -0800
commit189707e2b1ae381c5d38355bb54627ae7c05e6f4 (patch)
tree79a3c2da77e001001b564ed6fbda4cf2a0ee0033 /net-libs/libnfnetlink/libnfnetlink-1.0.1.ebuild
parentkde-apps/kajongg: x86 stable (bug #628352) (diff)
downloadgentoo-189707e2b1ae381c5d38355bb54627ae7c05e6f4.tar.gz
gentoo-189707e2b1ae381c5d38355bb54627ae7c05e6f4.tar.bz2
gentoo-189707e2b1ae381c5d38355bb54627ae7c05e6f4.zip
net-libs/libnfnetlink: musl compile fix.
Package-Manager: Portage-2.3.8, Repoman-2.3.3 Signed-off-by: Robin H. Johnson <robbat2@gentoo.org>
Diffstat (limited to 'net-libs/libnfnetlink/libnfnetlink-1.0.1.ebuild')
-rw-r--r--net-libs/libnfnetlink/libnfnetlink-1.0.1.ebuild12
1 files changed, 10 insertions, 2 deletions
diff --git a/net-libs/libnfnetlink/libnfnetlink-1.0.1.ebuild b/net-libs/libnfnetlink/libnfnetlink-1.0.1.ebuild
index 6833ce77e9f..609fa9a9499 100644
--- a/net-libs/libnfnetlink/libnfnetlink-1.0.1.ebuild
+++ b/net-libs/libnfnetlink/libnfnetlink-1.0.1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2014 Gentoo Foundation
+# Copyright 1999-2017 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI=4
@@ -6,7 +6,10 @@ inherit linux-info eutils
DESCRIPTION="the low-level library for netfilter related kernel/userspace communication"
HOMEPAGE="http://www.netfilter.org/projects/libnfnetlink/"
-SRC_URI="http://www.netfilter.org/projects/${PN}/files/${P}.tar.bz2"
+PATCH_BLOB=04aef8a4dedf267dd5744afb134ef8046e77f613
+PATCH_FN=${PATCH_BLOB}-musl-fix-includes.patch
+SRC_URI="http://www.netfilter.org/projects/${PN}/files/${P}.tar.bz2
+ https://git.alpinelinux.org/cgit/aports/plain/main/libnfnetlink/musl-fix-includes.patch -> ${PATCH_FN}"
LICENSE="GPL-2"
SLOT="0"
@@ -14,6 +17,11 @@ KEYWORDS="alpha amd64 arm arm64 hppa ia64 m68k ~mips ppc ppc64 s390 sh sparc x86
IUSE="static-libs"
DOCS=( README )
+PATCHES=( "${DISTDIR}/${PATCH_FN}" )
+
+src_prepare() {
+ epatch "${PATCHES[@]}"
+}
pkg_setup() {
linux-info_pkg_setup