From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id CEDD21384B4 for ; Thu, 31 Dec 2015 16:00:55 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 1B09121C005; Thu, 31 Dec 2015 16:00:54 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id A50B621C005 for ; Thu, 31 Dec 2015 16:00:53 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 852943408C5 for ; Thu, 31 Dec 2015 16:00:51 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 15243B5D for ; Thu, 31 Dec 2015 16:00:49 +0000 (UTC) From: "Jeroen Roovers" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Jeroen Roovers" Message-ID: <1451577622.677212666f440bbd411e74e667b0d152e954ef72.jer@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: media-sound/lmms/, media-sound/lmms/files/ X-VCS-Repository: repo/gentoo X-VCS-Files: media-sound/lmms/files/lmms-1.1.3-Werror.patch media-sound/lmms/lmms-1.1.3.ebuild X-VCS-Directories: media-sound/lmms/ media-sound/lmms/files/ X-VCS-Committer: jer X-VCS-Committer-Name: Jeroen Roovers X-VCS-Revision: 677212666f440bbd411e74e667b0d152e954ef72 X-VCS-Branch: master Date: Thu, 31 Dec 2015 16:00:49 +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: 4ff2e525-e4cd-4637-9730-7ae2dc7dcbec X-Archives-Hash: 5f9858b80dbea20b21f978c6b8296d30 commit: 677212666f440bbd411e74e667b0d152e954ef72 Author: Jeroen Roovers gentoo org> AuthorDate: Thu Dec 31 16:00:22 2015 +0000 Commit: Jeroen Roovers gentoo org> CommitDate: Thu Dec 31 16:00:22 2015 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=67721266 media-sound/lmms: Drop -Werror (bug #567428). Package-Manager: portage-2.2.26 media-sound/lmms/files/lmms-1.1.3-Werror.patch | 12 ++++++++++++ media-sound/lmms/lmms-1.1.3.ebuild | 5 ++++- 2 files changed, 16 insertions(+), 1 deletion(-) diff --git a/media-sound/lmms/files/lmms-1.1.3-Werror.patch b/media-sound/lmms/files/lmms-1.1.3-Werror.patch new file mode 100644 index 0000000..4735c3e --- /dev/null +++ b/media-sound/lmms/files/lmms-1.1.3-Werror.patch @@ -0,0 +1,12 @@ +--- a/CMakeLists.txt ++++ b/CMakeLists.txt +@@ -334,9 +334,6 @@ + + # set compiler flags + SET(WERROR_FLAGS "-Wall -Werror=unused-function -Wno-sign-compare -Wno-strict-overflow") +-IF(NOT LMMS_BUILD_APPLE) +- SET(WERROR_FLAGS "${WERROR_FLAGS} -Werror") +-ENDIF() + + # Due to a regression in gcc-4.8.X, we need to disable array-bounds check + IF (CMAKE_COMPILER_IS_GNUCXX AND ((CMAKE_CXX_COMPILER_VERSION VERSION_EQUAL "4.8.0") OR (CMAKE_CXX_COMPILER_VERSION VERSION_GREATER "4.8.0"))) diff --git a/media-sound/lmms/lmms-1.1.3.ebuild b/media-sound/lmms/lmms-1.1.3.ebuild index 8167c4c..255427a 100644 --- a/media-sound/lmms/lmms-1.1.3.ebuild +++ b/media-sound/lmms/lmms-1.1.3.ebuild @@ -44,7 +44,10 @@ RDEPEND="${RDEPEND} DOCS="README AUTHORS TODO" -PATCHES=( "${FILESDIR}/gcc52.patch" ) +PATCHES=( + "${FILESDIR}/gcc52.patch" + "${FILESDIR}/lmms-1.1.3-Werror.patch" +) src_configure() { mycmakeargs="${mycmakeargs}