Skip to content

Commit

Permalink
net-libs/libnfnetlink: musl compile fix.
Browse files Browse the repository at this point in the history
Package-Manager: Portage-2.3.8, Repoman-2.3.3
Signed-off-by: Robin H. Johnson <[email protected]>
  • Loading branch information
robbat2 committed Nov 7, 2017
1 parent 5536b01 commit 189707e
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 2 deletions.
1 change: 1 addition & 0 deletions net-libs/libnfnetlink/Manifest
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
DIST 04aef8a4dedf267dd5744afb134ef8046e77f613-musl-fix-includes.patch 677 SHA256 dfa76f1ebc8ad475266176f7a2c4835c60419df727054bb2095008e356bd91c6 SHA512 fc452e2924fa4de66e104229bc05a663c253148fb1c0bd62e5454a907877ffb084ba6a04e38bf4ef71a4e58041f4a242001a8029aefbe97ccc00e3bfcb7bba41 WHIRLPOOL 8b539f25068bac611e5438a5113bedc748be5d19b0823d460e5ab9b9de0cbcc9b72b40c647237b22c7e864746e373896fa598aabdd93573b3222640ea639b356
DIST libnfnetlink-1.0.1.tar.bz2 320641 SHA256 f270e19de9127642d2a11589ef2ec97ef90a649a74f56cf9a96306b04817b51a SHA512 2ec2cd389c04e21c8a02fb3f6d6f326fc33ca9589577f1739c23d883fe2ee9feaa16e83b6ed09063ad886432e49565dc3256277d035260aca5aab17954b46104 WHIRLPOOL a27bee0e096e695ed4661c50f1ab2fb16e7012f96cc94baae8d5d67224e8b5dcbd869e5001b73fde4c9788f0fd87f85ff6caa3c5b95bae25f3005caed377451c
12 changes: 10 additions & 2 deletions net-libs/libnfnetlink/libnfnetlink-1.0.1.ebuild
Original file line number Diff line number Diff line change
@@ -1,19 +1,27 @@
# Copyright 1999-2014 Gentoo Foundation
# Copyright 1999-2017 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2

EAPI=4
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"
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
Expand Down

0 comments on commit 189707e

Please sign in to comment.