blender: openimageio sobump
This commit is contained in:
parent
a9434be38b
commit
d3ad55a94e
2 changed files with 14 additions and 1 deletions
13
srcpkgs/blender/patches/disable_werror.patch
Normal file
13
srcpkgs/blender/patches/disable_werror.patch
Normal file
|
@ -0,0 +1,13 @@
|
|||
diff --git a/intern/cycles/CMakeLists.txt b/intern/cycles/CMakeLists.txt
|
||||
index f22688f..c32aad1 100644
|
||||
--- a/intern/cycles/CMakeLists.txt
|
||||
+++ b/intern/cycles/CMakeLists.txt
|
||||
@@ -227,8 +227,6 @@ endif()
|
||||
|
||||
# Warnings
|
||||
if(CMAKE_COMPILER_IS_GNUCXX)
|
||||
- ADD_CHECK_CXX_COMPILER_FLAG(CMAKE_CXX_FLAGS _has_cxxflag_float_conversion "-Werror=float-conversion")
|
||||
- ADD_CHECK_CXX_COMPILER_FLAG(CMAKE_CXX_FLAGS _has_cxxflag_double_promotion "-Werror=double-promotion")
|
||||
ADD_CHECK_CXX_COMPILER_FLAG(CMAKE_CXX_FLAGS _has_no_error_unused_macros "-Wno-error=unused-macros")
|
||||
unset(_has_cxxflag_float_conversion)
|
||||
unset(_has_cxxflag_double_promotion)
|
|
@ -1,7 +1,7 @@
|
|||
# Template file for 'blender'
|
||||
pkgname=blender
|
||||
version=2.79b
|
||||
revision=1
|
||||
revision=2
|
||||
build_style="cmake"
|
||||
makedepends="
|
||||
libgomp-devel libpng-devel tiff-devel python3-devel glu-devel
|
||||
|
|
Loading…
Add table
Reference in a new issue