From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 45E481382C5 for ; Wed, 1 Jul 2020 18:45:12 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 75677E0819; Wed, 1 Jul 2020 18:45:11 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 5CA5DE0819 for ; Wed, 1 Jul 2020 18:45:11 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 6281E34EBBE for ; Wed, 1 Jul 2020 18:45:09 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id DF49C274 for ; Wed, 1 Jul 2020 18:45:07 +0000 (UTC) From: "Andreas Sturmlechner" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Andreas Sturmlechner" Message-ID: <1593629090.8e82bd7a497db607c05f1367417b844dc6a55412.asturm@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: media-libs/mlt/files/, media-libs/mlt/ X-VCS-Repository: repo/gentoo X-VCS-Files: media-libs/mlt/files/mlt-6.20.0-musl-locale.patch media-libs/mlt/mlt-6.20.0-r2.ebuild X-VCS-Directories: media-libs/mlt/files/ media-libs/mlt/ X-VCS-Committer: asturm X-VCS-Committer-Name: Andreas Sturmlechner X-VCS-Revision: 8e82bd7a497db607c05f1367417b844dc6a55412 X-VCS-Branch: master Date: Wed, 1 Jul 2020 18:45:07 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 6e7604c2-0756-4b2c-b7f2-b9aaec5fb545 X-Archives-Hash: fd5f6022a11bfabe7abcbfad62b6fa58 commit: 8e82bd7a497db607c05f1367417b844dc6a55412 Author: Andreas Sturmlechner gentoo org> AuthorDate: Wed Jul 1 18:42:27 2020 +0000 Commit: Andreas Sturmlechner gentoo org> CommitDate: Wed Jul 1 18:44:50 2020 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8e82bd7a media-libs/mlt: Fix build with musl libc Closes: https://bugs.gentoo.org/713938 Package-Manager: Portage-2.3.103, Repoman-2.3.23 Signed-off-by: Andreas Sturmlechner gentoo.org> media-libs/mlt/files/mlt-6.20.0-musl-locale.patch | 34 +++++++++++++++++++++++ media-libs/mlt/mlt-6.20.0-r2.ebuild | 1 + 2 files changed, 35 insertions(+) diff --git a/media-libs/mlt/files/mlt-6.20.0-musl-locale.patch b/media-libs/mlt/files/mlt-6.20.0-musl-locale.patch new file mode 100644 index 00000000000..ed206108d2e --- /dev/null +++ b/media-libs/mlt/files/mlt-6.20.0-musl-locale.patch @@ -0,0 +1,34 @@ +From d02611584d4b2f693469c72272fe369413139394 Mon Sep 17 00:00:00 2001 +From: Carlo Landmeter +Date: Sun, 6 Nov 2016 00:45:44 +0100 +Subject: testing/mlt: new aport + +--- + testing/mlt/musl-locale.patch | 13 +++++++++++++ + 1 file changed, 13 insertions(+) + create mode 100644 testing/mlt/musl-locale.patch + +(limited to 'testing/mlt/musl-locale.patch') + +diff --git a/testing/mlt/musl-locale.patch b/testing/mlt/musl-locale.patch +new file mode 100644 +index 0000000000..030bb781d1 +--- /dev/null ++++ b/testing/mlt/musl-locale.patch +@@ -0,0 +1,13 @@ ++--- ./src/framework/mlt_property.h.orig +++++ ./src/framework/mlt_property.h ++@@ -30,8 +30,8 @@ ++ #include ++ #endif ++ ++-#if defined(__GLIBC__) || defined(__APPLE__) || (__FreeBSD_version >= 900506) ++-#include +++#if defined(__linux__) || defined(__APPLE__) || (__FreeBSD_version >= 900506) +++#include ++ #else ++ typedef char* locale_t; ++ #endif +-- +cgit v1.2.1 + diff --git a/media-libs/mlt/mlt-6.20.0-r2.ebuild b/media-libs/mlt/mlt-6.20.0-r2.ebuild index 7c449e85101..2d15f57bfc5 100644 --- a/media-libs/mlt/mlt-6.20.0-r2.ebuild +++ b/media-libs/mlt/mlt-6.20.0-r2.ebuild @@ -91,6 +91,7 @@ PATCHES=( "${FILESDIR}"/${P}-crash-w-unsupported-preview-scale.patch "${FILESDIR}"/${P}-crash-in-composite.patch "${FILESDIR}"/${P}-opencv-double-del-crash.patch + "${FILESDIR}"/${P}-musl-locale.patch # from Alpine, pending upstream ) pkg_setup() {