From 37e0acdd069dd6a69bbd20484adb5aafbef5edc5 Mon Sep 17 00:00:00 2001 From: Christoph Willing Date: Sat, 15 Apr 2023 10:57:28 +1000 Subject: [PATCH] graphics/OpenSubdiv: Fix build with glfw3 Signed-off-by: Christoph Willing Signed-off-by: Willy Sudiarto Raharjo --- graphics/OpenSubdiv/OpenSubdiv.SlackBuild | 3 ++- graphics/OpenSubdiv/README | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/graphics/OpenSubdiv/OpenSubdiv.SlackBuild b/graphics/OpenSubdiv/OpenSubdiv.SlackBuild index d117399268..1a6aa7bd1e 100644 --- a/graphics/OpenSubdiv/OpenSubdiv.SlackBuild +++ b/graphics/OpenSubdiv/OpenSubdiv.SlackBuild @@ -32,7 +32,7 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=OpenSubdiv VERSION=${VERSION:-3.5.0} SRCVER=$(echo $VERSION | tr . _) -BUILD=${BUILD:-1} +BUILD=${BUILD:-2} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} @@ -74,6 +74,7 @@ cd $TMP rm -rf $PRGNAM-$SRCVER tar xvf $CWD/$PRGNAM-$SRCVER.tar.gz cd $PRGNAM-$SRCVER +sed -i -e '/${OPENGL_gl_LIBRARY}/a${OPENGL_glx_LIBRARY}' CMakeLists.txt chown -R root:root . find -L . \ \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \ diff --git a/graphics/OpenSubdiv/README b/graphics/OpenSubdiv/README index 3c671dc18e..500d706797 100644 --- a/graphics/OpenSubdiv/README +++ b/graphics/OpenSubdiv/README @@ -6,4 +6,5 @@ framerates. Additional utility is available in OpenSubdiv when the following SBo packages are installed and detected at build time: - tbb cudatoolkit glfw + tbb cudatoolkit glfw3 +