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 4D749139694 for ; Thu, 8 Jun 2017 18:09:41 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 6836C21C06B; Thu, 8 Jun 2017 18:09:38 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 407A121C06B for ; Thu, 8 Jun 2017 18:09:38 +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 BAE36341734 for ; Thu, 8 Jun 2017 18:09:36 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 2B1F17467 for ; Thu, 8 Jun 2017 18:09:35 +0000 (UTC) From: "Sergei Trofimovich" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Sergei Trofimovich" Message-ID: <1496945322.8b9209b71f8b151cf6dfdd20539dfdcd1bf31b63.slyfox@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: media-libs/audiofile/, media-libs/audiofile/files/ X-VCS-Repository: repo/gentoo X-VCS-Files: media-libs/audiofile/audiofile-0.3.6-r3.ebuild media-libs/audiofile/files/audiofile-0.3.6-mingw32.patch X-VCS-Directories: media-libs/audiofile/files/ media-libs/audiofile/ X-VCS-Committer: slyfox X-VCS-Committer-Name: Sergei Trofimovich X-VCS-Revision: 8b9209b71f8b151cf6dfdd20539dfdcd1bf31b63 X-VCS-Branch: master Date: Thu, 8 Jun 2017 18:09:35 +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-Archives-Salt: 24d6b10d-0d5c-493b-98c5-820da5d81c58 X-Archives-Hash: 8284842cc19c67a212584a0a4178b2de commit: 8b9209b71f8b151cf6dfdd20539dfdcd1bf31b63 Author: Sergei Trofimovich gentoo org> AuthorDate: Thu Jun 8 18:05:54 2017 +0000 Commit: Sergei Trofimovich gentoo org> CommitDate: Thu Jun 8 18:08:42 2017 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8b9209b7 media-libs/audiofile: fix mingw32 build Pick upstream patch for s/bzero()/memset()/ Package-Manager: Portage-2.3.6, Repoman-2.3.2 media-libs/audiofile/audiofile-0.3.6-r3.ebuild | 1 + .../audiofile/files/audiofile-0.3.6-mingw32.patch | 20 ++++++++++++++++++++ 2 files changed, 21 insertions(+) diff --git a/media-libs/audiofile/audiofile-0.3.6-r3.ebuild b/media-libs/audiofile/audiofile-0.3.6-r3.ebuild index 036e5f2b043..c61e55f0a42 100644 --- a/media-libs/audiofile/audiofile-0.3.6-r3.ebuild +++ b/media-libs/audiofile/audiofile-0.3.6-r3.ebuild @@ -22,6 +22,7 @@ PATCHES=( "${FILESDIR}"/${PN}-0.3.6-gcc6-build-fixes.patch "${FILESDIR}"/${PN}-0.3.6-system-gtest.patch "${FILESDIR}"/${PN}-0.3.6-CVE-2015-7747.patch + "${FILESDIR}"/${PN}-0.3.6-mingw32.patch ) src_prepare() { diff --git a/media-libs/audiofile/files/audiofile-0.3.6-mingw32.patch b/media-libs/audiofile/files/audiofile-0.3.6-mingw32.patch new file mode 100644 index 00000000000..8ed7cb0534f --- /dev/null +++ b/media-libs/audiofile/files/audiofile-0.3.6-mingw32.patch @@ -0,0 +1,20 @@ +bzero() is a POSIX-specific fuinction. +x86_64-w64-mingw32-gcc does not provide one. + +https://github.com/mpruett/audiofile/commit/d9363a5d16af4ce55eb35c5aad9ca19bb9c53cbe + +commit d9363a5d16af4ce55eb35c5aad9ca19bb9c53cbe +Author: Daniel Verkamp +Date: Mon Jul 4 21:57:44 2016 -0500 + + Replace bzero() with memset(). + +diff --git a/libaudiofile/CAF.cpp b/libaudiofile/CAF.cpp +index d2b62ea..5752117 100644 +--- a/libaudiofile/CAF.cpp ++++ b/libaudiofile/CAF.cpp +@@ -720,3 +720,3 @@ void CAFFile::initALACCompressionParams() + m_codecData = new Buffer(codecDataSize); +- bzero(m_codecData->data(), m_codecData->size()); ++ memset(m_codecData->data(), 0, m_codecData->size()); +