summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'media-libs/libjsw')
-rw-r--r--media-libs/libjsw/files/libjsw-1.5.8-musl.patch11
-rw-r--r--media-libs/libjsw/libjsw-1.5.8.ebuild1
2 files changed, 12 insertions, 0 deletions
diff --git a/media-libs/libjsw/files/libjsw-1.5.8-musl.patch b/media-libs/libjsw/files/libjsw-1.5.8-musl.patch
new file mode 100644
index 000000000000..9a6f116e8302
--- /dev/null
+++ b/media-libs/libjsw/files/libjsw-1.5.8-musl.patch
@@ -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;
diff --git a/media-libs/libjsw/libjsw-1.5.8.ebuild b/media-libs/libjsw/libjsw-1.5.8.ebuild
index 35a137e44220..92ca06fcddb4 100644
--- a/media-libs/libjsw/libjsw-1.5.8.ebuild
+++ b/media-libs/libjsw/libjsw-1.5.8.ebuild
@@ -15,6 +15,7 @@ KEYWORDS="amd64 ppc ~ppc64 x86"
PATCHES=(
"${FILESDIR}"/${P}-build.patch # 724664
+ "${FILESDIR}"/${P}-musl.patch # 713792
)
src_prepare() {