diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2018-03-23 04:19:44 +0000 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2018-03-23 04:19:44 +0000 |
commit | c5283d322accc6097afec74eab24550829788bab (patch) | |
tree | b99ce668128d82a026eaa31461643f9173f9b77b /sci-physics/root/files | |
parent | 5510d9d7d1c93c2ea71a2bd6f0666168808d5dd6 (diff) |
gentoo resync : 23.03.2018
Diffstat (limited to 'sci-physics/root/files')
-rw-r--r-- | sci-physics/root/files/root-6.12.04-no-opengl.patch | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/sci-physics/root/files/root-6.12.04-no-opengl.patch b/sci-physics/root/files/root-6.12.04-no-opengl.patch new file mode 100644 index 000000000000..319020222e53 --- /dev/null +++ b/sci-physics/root/files/root-6.12.04-no-opengl.patch @@ -0,0 +1,23 @@ +diff --git a/cmake/modules/SearchInstalledSoftware.cmake b/cmake/modules/SearchInstalledSoftware.cmake +index a68c462eb3..1e82e57241 100644 +--- a/cmake/modules/SearchInstalledSoftware.cmake ++++ b/cmake/modules/SearchInstalledSoftware.cmake +@@ -499,7 +499,7 @@ if(opengl) + endif() + + #---Check for gl2ps ------------------------------------------------------------------ +-if(NOT builtin_gl2ps) ++if(gl2ps AND NOT builtin_gl2ps) + message(STATUS "Looking for gl2ps") + find_Package(gl2ps) + if(NOT GL2PS_FOUND) +@@ -999,7 +999,7 @@ if(globus) + endif() + + #---Check for ftgl if needed---------------------------------------------------------- +-if(NOT builtin_ftgl) ++if(ftgl AND NOT builtin_ftgl) + find_package(FTGL) + if(NOT FTGL_FOUND) + if(fail-on-missing) + |