From baf27f8e1d2ffc31fbcf2e6d1d072a1a1880474c Mon Sep 17 00:00:00 2001 From: David Seifert Date: Sun, 5 Jul 2020 02:23:12 +0200 Subject: 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 --- media-libs/libjsw/files/libjsw-1.5.8-musl.patch | 11 +++++++++++ media-libs/libjsw/libjsw-1.5.8.ebuild | 1 + 2 files changed, 12 insertions(+) create mode 100644 media-libs/libjsw/files/libjsw-1.5.8-musl.patch (limited to 'media-libs/libjsw') 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() { -- cgit v1.2.3-65-gdbad