diff options
author | Bernd Waibel <waebbl@gmail.com> | 2019-03-31 10:23:27 +0200 |
---|---|---|
committer | Andreas Sturmlechner <asturm@gentoo.org> | 2019-05-19 19:23:38 +0200 |
commit | c90bb560b5723836ba466d41886e75fe832c1e9c (patch) | |
tree | d2c07afff02c8f27c784bc01c3af2a9ad594a1aa /media-libs/opencolorio/files | |
parent | media-sound/kid3: Drop 3.7.0 (diff) | |
download | gentoo-c90bb560b5723836ba466d41886e75fe832c1e9c.tar.gz gentoo-c90bb560b5723836ba466d41886e75fe832c1e9c.tar.bz2 gentoo-c90bb560b5723836ba466d41886e75fe832c1e9c.zip |
media-libs/opencolorio: disable -Werror flag
The src/pyglue/CMakeLists.txt has a global -Werror flag set
for unix systems, which let the compile fail. This patch removes this
flag.
Closes: https://bugs.gentoo.org/666696
Package-Manager: Portage-2.3.62, Repoman-2.3.12
Signed-off-by: Bernd Waibel <waebbl@gmail.com>
Closes: https://github.com/gentoo/gentoo/pull/12049
Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
Diffstat (limited to 'media-libs/opencolorio/files')
-rw-r--r-- | media-libs/opencolorio/files/opencolorio-1.1.0-remove-Werror.patch | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/media-libs/opencolorio/files/opencolorio-1.1.0-remove-Werror.patch b/media-libs/opencolorio/files/opencolorio-1.1.0-remove-Werror.patch new file mode 100644 index 000000000000..2814f703f81d --- /dev/null +++ b/media-libs/opencolorio/files/opencolorio-1.1.0-remove-Werror.patch @@ -0,0 +1,17 @@ +diff --git a/src/pyglue/CMakeLists.txt b/src/pyglue/CMakeLists.txt +index a90ca1c..35de89a 100644 +--- a/src/pyglue/CMakeLists.txt ++++ b/src/pyglue/CMakeLists.txt +@@ -22,9 +22,9 @@ endif() + + # Process all warnings as errors + # Unfortunately Windows still has a warning +-if(UNIX) +- set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Werror") +-endif() ++#if(UNIX) ++# set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Werror") ++#endif() + + find_package(PythonLibs) + if(NOT PYTHONLIBS_FOUND) |