diff options
author | Sam James <sam@gentoo.org> | 2021-12-29 06:44:04 +0000 |
---|---|---|
committer | Sam James <sam@gentoo.org> | 2021-12-29 06:44:24 +0000 |
commit | 3c0062d2b4ffa3f65a57cd06b99176555d5d50c8 (patch) | |
tree | f80c58ee2b64a308f8e692d3a4f16dc0c5739c88 /net-misc/pcapfix | |
parent | app-text/asciidoc: Stabilize 9.1.0 arm, #828345 (diff) | |
download | gentoo-3c0062d2b4ffa3f65a57cd06b99176555d5d50c8.tar.gz gentoo-3c0062d2b4ffa3f65a57cd06b99176555d5d50c8.tar.bz2 gentoo-3c0062d2b4ffa3f65a57cd06b99176555d5d50c8.zip |
net-misc/pcapfix: fix build on musl
Patch sent upstream.
Bug: https://github.com/Rup0rt/pcapfix/pull/26
Closes: https://bugs.gentoo.org/712772
Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'net-misc/pcapfix')
-rw-r--r-- | net-misc/pcapfix/Manifest | 1 | ||||
-rw-r--r-- | net-misc/pcapfix/pcapfix-1.1.7.ebuild | 5 |
2 files changed, 6 insertions, 0 deletions
diff --git a/net-misc/pcapfix/Manifest b/net-misc/pcapfix/Manifest index 53d82312eeac..7364fd2bbe2c 100644 --- a/net-misc/pcapfix/Manifest +++ b/net-misc/pcapfix/Manifest @@ -1,2 +1,3 @@ DIST pcapfix-1.1.4.tar.gz 52184 BLAKE2B 4def04cebc9144af86d43c28892575627ed98bf14fa99e5e4fe5181a406871ceeac1f431c73d90daae151bb8b6e5315e8bc47c430d2ed55f9e0c3de1decbe0e9 SHA512 6203e9032d2f24fe5d4aaefd9cfd57ece97a318af3ecd8da7171307a59c2a10b2e92206d5cf96e2dd9bfafc239dd9bc95a224bf5fef9e0c0432a6e76ff10d1da +DIST pcapfix-1.1.7-musl-stdint.patch.bz2 2084 BLAKE2B 2dafe8597f247c1b403e89552403850f10e9a0149a74d092a9187510a997b6339af831ea6f3b01d7ab04367a966828aedc665b517e7108fea9b6d3607815d531 SHA512 5e6d197d6bda6bd10525066a46dc301ae7b92a2a0d9062e3dcef22730b27b12d1b8cd1e58e344f6b4a7bd5b0dfe1351bf868489285bf1651f8aa96f0014b3adf DIST pcapfix-1.1.7.tar.gz 54784 BLAKE2B c688b3eabf04ff4baf88170c5868edd2b504779a9550ce6a2ca8b4839310b75a26c7e6ae6afc82cf763f19f8ffebe357c730b0ea1bd4b05ed071e78ad6c9f6e5 SHA512 d8d1106349116303f35254f680916f1ea26b163f9afceb5d237eed89880810d4b7b40ebca9de58ec95af2336dd78f4e11af1a08b89f6765055843a9791c156bd diff --git a/net-misc/pcapfix/pcapfix-1.1.7.ebuild b/net-misc/pcapfix/pcapfix-1.1.7.ebuild index 90020f92dd38..dd1060063ecc 100644 --- a/net-misc/pcapfix/pcapfix-1.1.7.ebuild +++ b/net-misc/pcapfix/pcapfix-1.1.7.ebuild @@ -8,6 +8,7 @@ inherit toolchain-funcs DESCRIPTION="Repair and fix broken pcap files" HOMEPAGE="https://f00l.de/pcapfix/" SRC_URI="https://f00l.de/pcapfix/${P}.tar.gz" +SRC_URI+=" https://dev.gentoo.org/~sam/distfiles/${CATEGORY}/${PN}/${PN}-1.1.7-musl-stdint.patch.bz2" LICENSE="GPL-3" SLOT="0" @@ -16,6 +17,10 @@ IUSE="debug" DOCS=( Changelog README ) +PATCHES=( + "${WORKDIR}"/${PN}-1.1.7-musl-stdint.patch +) + src_prepare() { default sed -e 's/gcc/$(CC) $(CFLAGS)/g' -i Makefile || die |