mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-08-06 00:48:18 -07:00
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:
11
media-libs/libjsw/files/libjsw-1.5.8-musl.patch
Normal file
11
media-libs/libjsw/files/libjsw-1.5.8-musl.patch
Normal 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;
|
||||
@@ -15,6 +15,7 @@ KEYWORDS="amd64 ppc ~ppc64 x86"
|
||||
|
||||
PATCHES=(
|
||||
"${FILESDIR}"/${P}-build.patch # 724664
|
||||
"${FILESDIR}"/${P}-musl.patch # 713792
|
||||
)
|
||||
|
||||
src_prepare() {
|
||||
|
||||
Reference in New Issue
Block a user