diff options
author | Matteo Bernardini | 2021-04-07 19:43:09 +0200 |
---|---|---|
committer | Matteo Bernardini | 2021-04-07 19:43:09 +0200 |
commit | fc3c9447da6cded0b6741cf3e6c2386c16493440 (patch) | |
tree | 4e2d3e3a7ba5c8cb879728d8e965da94d1fd4850 /libraries/OpenSceneGraph | |
parent | a6bf666d73b4dccae0636e4ca04113d5953b956c (diff) | |
download | slackbuilds-68f9b4cc99d9f0baebec29b753e3c2718cc93188.tar.gz |
20210407.1 global branch merge.current-20210407.1
Signed-off-by: Matteo Bernardini <ponce@slackbuilds.org>
Diffstat (limited to 'libraries/OpenSceneGraph')
-rw-r--r-- | libraries/OpenSceneGraph/0008-Fix_wxWidgets_gl.patch | 12 | ||||
-rw-r--r-- | libraries/OpenSceneGraph/OpenSceneGraph.SlackBuild | 3 |
2 files changed, 15 insertions, 0 deletions
diff --git a/libraries/OpenSceneGraph/0008-Fix_wxWidgets_gl.patch b/libraries/OpenSceneGraph/0008-Fix_wxWidgets_gl.patch new file mode 100644 index 0000000000..70cc792eb8 --- /dev/null +++ b/libraries/OpenSceneGraph/0008-Fix_wxWidgets_gl.patch @@ -0,0 +1,12 @@ +--- a/CMakeLists.txt ++++ b/CMakeLists.txt +@@ -763,8 +763,7 @@ IF (BUILD_OSG_EXAMPLES AND NOT ANDROID + FIND_PACKAGE(GLUT) + FIND_PACKAGE(FOX) + +- SET(wxWidgets_USE_LIBS base core gl net) +- FIND_PACKAGE(wxWidgets) ++ FIND_PACKAGE(wxWidgets COMPONENTS base core gl net) + + ENDIF(BUILD_OSG_EXAMPLES AND NOT ANDROID) + diff --git a/libraries/OpenSceneGraph/OpenSceneGraph.SlackBuild b/libraries/OpenSceneGraph/OpenSceneGraph.SlackBuild index a158f30565..41183973f1 100644 --- a/libraries/OpenSceneGraph/OpenSceneGraph.SlackBuild +++ b/libraries/OpenSceneGraph/OpenSceneGraph.SlackBuild @@ -59,6 +59,9 @@ find -L . \ \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; +# Work around for wx_gtk3_gl library not being linked with - thanks fedora +patch -p1 < $CWD/0008-Fix_wxWidgets_gl.patch + mkdir -p build cd build cmake .. \ |