summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSam James <sam@gentoo.org>2021-10-31 01:55:37 +0000
committerSam James <sam@gentoo.org>2021-10-31 02:18:24 +0000
commit71742398066123535d58a89f2fc2afda8176196a (patch)
treeb8b45a7cb221f1c29a3f14591c52f87b66a0f0b1 /media-gfx/openvdb/files
parentsys-fs/e2fsprogs: include dilfridge@'s changes to merged e2fsprogs-libs (diff)
downloadgentoo-71742398066123535d58a89f2fc2afda8176196a.tar.gz
gentoo-71742398066123535d58a89f2fc2afda8176196a.tar.bz2
gentoo-71742398066123535d58a89f2fc2afda8176196a.zip
media-gfx/openvdb: add 8.1.0
Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'media-gfx/openvdb/files')
-rw-r--r--media-gfx/openvdb/files/openvdb-8.1.0-glfw-libdir.patch21
1 files changed, 21 insertions, 0 deletions
diff --git a/media-gfx/openvdb/files/openvdb-8.1.0-glfw-libdir.patch b/media-gfx/openvdb/files/openvdb-8.1.0-glfw-libdir.patch
new file mode 100644
index 000000000000..412785fb0e14
--- /dev/null
+++ b/media-gfx/openvdb/files/openvdb-8.1.0-glfw-libdir.patch
@@ -0,0 +1,21 @@
+Custom cmake file used to find GLFW always looks at lib/cmake first
+ignoring alternate libdirs and leads to using wrong libraries.
+
+https://bugs.gentoo.org/800200
+[rebased by sam]
+--- a/cmake/OpenVDBGLFW3Setup.cmake
++++ b/cmake/OpenVDBGLFW3Setup.cmake
+@@ -83,10 +83,10 @@ endif()
+
+ list(APPEND _GLFW3_ROOT_SEARCH_DIR ${SYSTEM_LIBRARY_PATHS})
+
+-set(_GLFW3_PATH_SUFFIXES "lib/cmake/glfw3" "cmake/glfw3" "glfw3")
++set(_GLFW3_PATH_SUFFIXES "cmake/glfw3" "glfw3")
+
+ # GLFW 3.1 installs CMake modules into glfw instead of glfw3
+-list(APPEND _GLFW3_PATH_SUFFIXES "lib/cmake/glfw" "cmake/glfw" "glfw")
++list(APPEND _GLFW3_PATH_SUFFIXES "cmake/glfw" "glfw")
+
+ find_path(GLFW3_CMAKE_LOCATION glfw3Config.cmake
+ ${_FIND_GLFW3_ADDITIONAL_OPTIONS}
+