diff options
author | Jeroen Roovers <jer@gentoo.org> | 2015-12-31 17:00:22 +0100 |
---|---|---|
committer | Jeroen Roovers <jer@gentoo.org> | 2015-12-31 17:00:22 +0100 |
commit | 677212666f440bbd411e74e667b0d152e954ef72 (patch) | |
tree | 15542bbfa0f3431a2700db1168aa017056489efd /media-sound/lmms | |
parent | net-misc/youtube-dl: Old. (diff) | |
download | gentoo-677212666f440bbd411e74e667b0d152e954ef72.tar.gz gentoo-677212666f440bbd411e74e667b0d152e954ef72.tar.bz2 gentoo-677212666f440bbd411e74e667b0d152e954ef72.zip |
media-sound/lmms: Drop -Werror (bug #567428).
Package-Manager: portage-2.2.26
Diffstat (limited to 'media-sound/lmms')
-rw-r--r-- | media-sound/lmms/files/lmms-1.1.3-Werror.patch | 12 | ||||
-rw-r--r-- | media-sound/lmms/lmms-1.1.3.ebuild | 5 |
2 files changed, 16 insertions, 1 deletions
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 000000000000..4735c3e2b0a4 --- /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 8167c4c26bf1..255427a11eba 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} |