diff options
Diffstat (limited to 'net-libs/libbtbb')
-rw-r--r-- | net-libs/libbtbb/Manifest | 3 | ||||
-rw-r--r-- | net-libs/libbtbb/files/libbtbb-2020.12.1-musl-u-char.patch | 14 | ||||
-rw-r--r-- | net-libs/libbtbb/libbtbb-2020.12.1-r1.ebuild | 4 |
3 files changed, 20 insertions, 1 deletions
diff --git a/net-libs/libbtbb/Manifest b/net-libs/libbtbb/Manifest index 2c9bd9a91cf8..b6064a3dce5d 100644 --- a/net-libs/libbtbb/Manifest +++ b/net-libs/libbtbb/Manifest @@ -1,4 +1,5 @@ +AUX libbtbb-2020.12.1-musl-u-char.patch 370 BLAKE2B 9e7d8f724fe9373e8b86e95320a6ab529f62e05ac3bc7bf37983c8232babcf16e8d593f713405d778a330a969cab49f2d4871d797f069cff133bca5601d1073e SHA512 e2b89184c54429472952dd40ea780a8a21dc47737249b5283b5e085c6f44c0be0f34b466746643703a32f94b0d4495db843226ed987d2a30f211305649727478 DIST libbtbb-2020-12-R1.tar.gz 308434 BLAKE2B 0f802f3c5eef0c434d0468a72104cf63e6bf5f29467e1606d2892751cd8b4824639e3847c0b8305ace926667434e668d75b6d4544e8e026b07872bafbb09c90b SHA512 a3dc2c8d27e4b85aae4847ac39f871ecf800ebf911aacd01682da6c50b13f3247c7d683bce855f2cf59b56a29c661223a2c22e98a8d86e8edaccd57af282bac6 -EBUILD libbtbb-2020.12.1-r1.ebuild 745 BLAKE2B 214dafb5b2ece999dd014febde3d5827fc2e8db9b9c553a4f6acb55ad511c1a04d617e1ae3fe06599befddee36c4e32dd8f6f835ded26504ba948a95777006a6 SHA512 5affa7fdf883fa18a23568d3eb15b8292e94cb4d6fc76e587075b9406288a3f18f8f88081265aa2b13156c9762cd20208c37a0efdc819f015553827cdd9999c8 +EBUILD libbtbb-2020.12.1-r1.ebuild 807 BLAKE2B 667d6d22a2992fa16f1643be048c2bb1bad289d5cfab8a2eecf11f637b1af2f356359a9327c34222f0dd497c71958ed9c84493fe8f1e461960cab0af2808942b SHA512 6840a08ea2dd1f23f7fe9fa13b6ee7aecb0dffff127f0a0ea6a4f6336aabcda14aa3177672a5566ebff33f2709330b8f2ac0d43fcbc401d7d29aeed29c3b3356 EBUILD libbtbb-9999.ebuild 748 BLAKE2B 328e0187f9f8464d61e0d57bc6b17943f9ba8cd6d81d3bba5c4a7a354ef9fd1b307bab56ef58ab71e0a1ac0721566dcd66350a42dd0cb2c0761699f182dd7f9c SHA512 fe0f2ab74855bb46dba810e6377d6b2506450e7fcbf9772d3921af6f381843cff55d298210fef693b7a83ba559c5c5fd546cc37401a5a45e47b254ddc985730f MISC metadata.xml 338 BLAKE2B d0ff8598a2d1e3eab09571bdfcb658039268e53dd923abfa8e8dda3462d3f56ce5b7789b3626819efff73bb3ad5ef3105f64da92e624071cb5ef3dcabca65800 SHA512 e8167cea9a2750e2d90b001b43b3b5a2f73d10bd26cf61ba00ec27dced140e237bb3363787da1607b0d70ec78260ea13a14aa58f9664161f181f76b14c7794e1 diff --git a/net-libs/libbtbb/files/libbtbb-2020.12.1-musl-u-char.patch b/net-libs/libbtbb/files/libbtbb-2020.12.1-musl-u-char.patch new file mode 100644 index 000000000000..7065e000477d --- /dev/null +++ b/net-libs/libbtbb/files/libbtbb-2020.12.1-musl-u-char.patch @@ -0,0 +1,14 @@ +# Fix unknown type name 'u_char' on musl +# Closes: https://bugs.gentoo.org/829245 +# Closes: https://bugs.gentoo.org/715758 +# Upstream PR: https://github.com/greatscottgadgets/libbtbb/pull/64 +--- a/lib/src/pcap.c ++++ b/lib/src/pcap.c +@@ -27,6 +27,7 @@ + #include <stdlib.h> + #include <string.h> + #include <assert.h> ++#include <sys/types.h> + + typedef enum { + PCAP_OK = 0, diff --git a/net-libs/libbtbb/libbtbb-2020.12.1-r1.ebuild b/net-libs/libbtbb/libbtbb-2020.12.1-r1.ebuild index c6a7e694e720..ccc78dfda1b0 100644 --- a/net-libs/libbtbb/libbtbb-2020.12.1-r1.ebuild +++ b/net-libs/libbtbb/libbtbb-2020.12.1-r1.ebuild @@ -23,6 +23,10 @@ LICENSE="GPL-2" SLOT="0/${PV}" IUSE="static-libs" +PATCHES=( + "${FILESDIR}"/${PN}-2020.12.1-musl-u-char.patch +) + src_configure() { local mycmakeargs=( -DENABLE_PYTHON=OFF |