From 2ca6cb7a67c8f47fde1c2fadb34e76e6b991bb53 Mon Sep 17 00:00:00 2001 From: Andrew Benson Date: Fri, 24 Feb 2023 21:10:18 -0600 Subject: [PATCH] assimp_qt_viewer: fix build for new assimp --- .../patches/method-spelling-change.patch | 11 +++++++++++ srcpkgs/assimp_qt_viewer/template | 2 +- 2 files changed, 12 insertions(+), 1 deletion(-) create mode 100644 srcpkgs/assimp_qt_viewer/patches/method-spelling-change.patch diff --git a/srcpkgs/assimp_qt_viewer/patches/method-spelling-change.patch b/srcpkgs/assimp_qt_viewer/patches/method-spelling-change.patch new file mode 100644 index 00000000000..38d63b53b63 --- /dev/null +++ b/srcpkgs/assimp_qt_viewer/patches/method-spelling-change.patch @@ -0,0 +1,11 @@ +--- a/assimp_qt_viewer/mainwindow.cpp ++++ b/assimp_qt_viewer/mainwindow.cpp +@@ -296,7 +296,7 @@ + { + using namespace Assimp; + +- DefaultLogger::get()->detatchStream(mLoggerView, DefaultLogger::Debugging | DefaultLogger::Info | DefaultLogger::Err | DefaultLogger::Warn); ++ DefaultLogger::get()->detachStream(mLoggerView, DefaultLogger::Debugging | DefaultLogger::Info | DefaultLogger::Err | DefaultLogger::Warn); + DefaultLogger::kill(); + + if(mScene != nullptr) mImporter.FreeScene(); diff --git a/srcpkgs/assimp_qt_viewer/template b/srcpkgs/assimp_qt_viewer/template index e148759c82f..20b5d1d082d 100644 --- a/srcpkgs/assimp_qt_viewer/template +++ b/srcpkgs/assimp_qt_viewer/template @@ -1,7 +1,7 @@ # Template file for 'assimp_qt_viewer' pkgname=assimp_qt_viewer version=5.0.0 -revision=1 +revision=2 _gitrev=b2b86036a860297b86b096dba009aebeaf5a2503 build_style=cmake build_wrksrc="${pkgname}"