aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristoph Willing <chris.willing@linux.com>2023-04-15 10:57:28 +1000
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2023-04-22 11:38:37 +0700
commit37e0acdd069dd6a69bbd20484adb5aafbef5edc5 (patch)
treeffea2113975e7db06be57486145c4d4123394911
parent5ecf312dc7dd3c73213696780088399238742b52 (diff)
graphics/OpenSubdiv: Fix build with glfw3
Signed-off-by: Christoph Willing <chris.willing@linux.com> Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
-rw-r--r--graphics/OpenSubdiv/OpenSubdiv.SlackBuild3
-rw-r--r--graphics/OpenSubdiv/README3
2 files changed, 4 insertions, 2 deletions
diff --git a/graphics/OpenSubdiv/OpenSubdiv.SlackBuild b/graphics/OpenSubdiv/OpenSubdiv.SlackBuild
index d11739926818..1a6aa7bd1ebb 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 3c671dc18e42..500d706797b0 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
+