From fada500f3bb59593c0ed94981496df243ddf0703 Mon Sep 17 00:00:00 2001 From: Simone Caronni Date: Apr 24 2017 07:59:12 +0000 Subject: Fix typo --- diff --git a/blender-2.78c-openvdb3-abi.patch b/blender-2.78c-openvdb3-abi.patch new file mode 100644 index 0000000..593c75e --- /dev/null +++ b/blender-2.78c-openvdb3-abi.patch @@ -0,0 +1,14 @@ +diff -Naur blender-2.78c.old/CMakeLists.txt blender-2.78c/CMakeLists.txt +--- blender-2.78c.old/CMakeLists.txt 2017-04-24 09:21:40.471125097 +0200 ++++ blender-2.78c/CMakeLists.txt 2017-04-24 09:26:45.583477649 +0200 +@@ -250,6 +250,10 @@ + option(WITH_OPENVDB "Enable features relying on OpenVDB" OFF) + option(WITH_OPENVDB_BLOSC "Enable blosc compression for OpenVDB, only enable if OpenVDB was built with blosc support" OFF) + ++if(WITH_OPENVDB) ++ add_definitions(-DOPENVDB_3_ABI_COMPATIBLE) ++endif() ++ + # GHOST Windowing Library Options + option(WITH_GHOST_DEBUG "Enable debugging output for the GHOST library" OFF) + mark_as_advanced(WITH_GHOST_DEBUG) diff --git a/blender-278c-openvdb3-abi.patch b/blender-278c-openvdb3-abi.patch deleted file mode 100644 index 593c75e..0000000 --- a/blender-278c-openvdb3-abi.patch +++ /dev/null @@ -1,14 +0,0 @@ -diff -Naur blender-2.78c.old/CMakeLists.txt blender-2.78c/CMakeLists.txt ---- blender-2.78c.old/CMakeLists.txt 2017-04-24 09:21:40.471125097 +0200 -+++ blender-2.78c/CMakeLists.txt 2017-04-24 09:26:45.583477649 +0200 -@@ -250,6 +250,10 @@ - option(WITH_OPENVDB "Enable features relying on OpenVDB" OFF) - option(WITH_OPENVDB_BLOSC "Enable blosc compression for OpenVDB, only enable if OpenVDB was built with blosc support" OFF) - -+if(WITH_OPENVDB) -+ add_definitions(-DOPENVDB_3_ABI_COMPATIBLE) -+endif() -+ - # GHOST Windowing Library Options - option(WITH_GHOST_DEBUG "Enable debugging output for the GHOST library" OFF) - mark_as_advanced(WITH_GHOST_DEBUG) diff --git a/blender.spec b/blender.spec index 31d72b2..a0a6971 100644 --- a/blender.spec +++ b/blender.spec @@ -47,7 +47,7 @@ Patch6: %{name}-2.78a-linux-definition-ppc64.patch # GPU: Consider latest Gallium driver an official ATI/AMD # https://developer.blender.org/rB927a168b077fa5182168068315c4fb0ea998edb6 Patch7: %{name}-2.78b-amd-gpu-support.patch -Patch8: %{name}-278c-openvdb3-abi.patch +Patch8: %{name}-2.78c-openvdb3-abi.patch # Development stuff BuildRequires: boost-devel