summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSergei Trofimovich <slyfox@gentoo.org>2021-04-28 08:21:14 +0100
committerSergei Trofimovich <slyfox@gentoo.org>2021-04-28 08:21:38 +0100
commit7e726d850502018b6760da78dbd4a419603016b8 (patch)
tree259a6905d9758fcd49afc088660511396eaf5ac3 /media-libs/opencolorio
parentdev-libs/libite: drop 2.2.0 (diff)
downloadgentoo-7e726d850502018b6760da78dbd4a419603016b8.tar.gz
gentoo-7e726d850502018b6760da78dbd4a419603016b8.tar.bz2
gentoo-7e726d850502018b6760da78dbd4a419603016b8.zip
media-libs/opencolorio: drop -Werror
Reported-by: Austin Kilgore Closes: https://bugs.gentoo.org/786198 Package-Manager: Portage-3.0.18, Repoman-3.0.3 Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org>
Diffstat (limited to 'media-libs/opencolorio')
-rw-r--r--media-libs/opencolorio/files/opencolorio-1.1.1-no-werror.patch12
-rw-r--r--media-libs/opencolorio/opencolorio-1.1.1.ebuild1
2 files changed, 13 insertions, 0 deletions
diff --git a/media-libs/opencolorio/files/opencolorio-1.1.1-no-werror.patch b/media-libs/opencolorio/files/opencolorio-1.1.1-no-werror.patch
new file mode 100644
index 000000000000..df8fa2102534
--- /dev/null
+++ b/media-libs/opencolorio/files/opencolorio-1.1.1-no-werror.patch
@@ -0,0 +1,12 @@
+https://bugs.gentoo.org/786198
+--- a/src/core/CMakeLists.txt
++++ b/src/core/CMakeLists.txt
+@@ -23,8 +23,6 @@ if(WIN32)
+ if("${CMAKE_BUILD_TYPE}" STREQUAL "Release")
+ set(EXTERNAL_COMPILE_FLAGS "${EXTERNAL_COMPILE_FLAGS} /WX")
+ endif()
+-else()
+- set(EXTERNAL_COMPILE_FLAGS "${EXTERNAL_COMPILE_FLAGS} -Werror")
+ endif()
+
+ # SHARED
diff --git a/media-libs/opencolorio/opencolorio-1.1.1.ebuild b/media-libs/opencolorio/opencolorio-1.1.1.ebuild
index 481f2561de4a..a20bb6f44aef 100644
--- a/media-libs/opencolorio/opencolorio-1.1.1.ebuild
+++ b/media-libs/opencolorio/opencolorio-1.1.1.ebuild
@@ -53,6 +53,7 @@ PATCHES=(
"${FILESDIR}/${PN}-1.1.0-remove-Werror.patch"
"${FILESDIR}/${PN}-1.1.1-yaml-cpp-boost-check.patch"
"${FILESDIR}/${P}-fix-self-assign-clang.patch"
+ "${FILESDIR}/${P}-no-werror.patch"
)
pkg_setup() {