summaryrefslogtreecommitdiff
path: root/graphics/Blender/use-libopenmj2-for-openjpeg.diff
diff options
context:
space:
mode:
authorRobby Workman <rworkman@slackbuilds.org>2016-01-09 20:20:42 -0600
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2016-01-17 09:40:16 +0700
commita6f17bb17d219ab9c63ac110babb1f3bd43a39ee (patch)
tree31c055da16584498f0794934739b9a505e0efa8e /graphics/Blender/use-libopenmj2-for-openjpeg.diff
parentcd7d2d9c06c4ebb2c803773f05e0e186f964b9e8 (diff)
downloadslackbuilds-a6f17bb17d219ab9c63ac110babb1f3bd43a39ee.tar.gz
graphics/Blender: Use Slackware's openjpeg (libopenmj2)
Signed-off-by: Robby Workman <rworkman@slackbuilds.org>
Diffstat (limited to 'graphics/Blender/use-libopenmj2-for-openjpeg.diff')
-rw-r--r--graphics/Blender/use-libopenmj2-for-openjpeg.diff17
1 files changed, 17 insertions, 0 deletions
diff --git a/graphics/Blender/use-libopenmj2-for-openjpeg.diff b/graphics/Blender/use-libopenmj2-for-openjpeg.diff
new file mode 100644
index 0000000000..712337382e
--- /dev/null
+++ b/graphics/Blender/use-libopenmj2-for-openjpeg.diff
@@ -0,0 +1,17 @@
+diff -Nru blender-2.74.orig/build_files/cmake/Modules/FindOpenJPEG.cmake blender-2.74/build_files/cmake/Modules/FindOpenJPEG.cmake
+--- blender-2.74.orig/build_files/cmake/Modules/FindOpenJPEG.cmake 2015-03-25 05:56:13.000000000 -0500
++++ blender-2.74/build_files/cmake/Modules/FindOpenJPEG.cmake 2016-01-09 20:17:20.521735656 -0600
+@@ -43,11 +43,12 @@
+ PATH_SUFFIXES
+ include
+ include/openjpeg-1.5
++ include/openmj2-2.1
+ )
+
+ FIND_LIBRARY(OPENJPEG_LIBRARY
+ NAMES
+- openjpeg
++ openmj2
+ HINTS
+ ${_openjpeg_SEARCH_DIRS}
+ PATH_SUFFIXES