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/files | |
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/files')
-rw-r--r-- | media-sound/lmms/files/lmms-1.1.3-Werror.patch | 12 |
1 files changed, 12 insertions, 0 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"))) |