media-libs/libjsw: Fix build for musl

Closes: https://bugs.gentoo.org/713792
Package-Manager: Portage-2.3.103, Repoman-2.3.23
Signed-off-by: David Seifert <soap@gentoo.org>
This commit is contained in:
David Seifert
2020-07-05 02:23:12 +02:00
parent e14bf63ddb
commit baf27f8e1d
2 changed files with 12 additions and 0 deletions

View File

@@ -0,0 +1,11 @@
--- a/include/os.h
+++ b/include/os.h
@@ -254,7 +254,7 @@
typedef int int32_t;
typedef unsigned int u_int32_t;
-# if __GNUC__ >= 2
+# if __GLIBC__ >= 2
# ifndef int64_t
typedef long long int64_t;

View File

@@ -15,6 +15,7 @@ KEYWORDS="amd64 ppc ~ppc64 x86"
PATCHES=(
"${FILESDIR}"/${P}-build.patch # 724664
"${FILESDIR}"/${P}-musl.patch # 713792
)
src_prepare() {