summaryrefslogtreecommitdiff
path: root/graphics/lux/files/patch-pv__no__rendering.cc
diff options
context:
space:
mode:
Diffstat (limited to 'graphics/lux/files/patch-pv__no__rendering.cc')
-rw-r--r--graphics/lux/files/patch-pv__no__rendering.cc12
1 files changed, 12 insertions, 0 deletions
diff --git a/graphics/lux/files/patch-pv__no__rendering.cc b/graphics/lux/files/patch-pv__no__rendering.cc
new file mode 100644
index 000000000000..d3b08ee8e7e8
--- /dev/null
+++ b/graphics/lux/files/patch-pv__no__rendering.cc
@@ -0,0 +1,12 @@
+--- pv_no_rendering.cc.orig 2024-04-23 12:53:51 UTC
++++ pv_no_rendering.cc
+@@ -14875,7 +14875,9 @@ int main ( int argc , const char * argv[] )
+ #endif
+
+ OIIO::geterror() ;
++#if OIIO_VERSION_MAJOR * 100 + OIIO_VERSION_MINOR >= 205
+ OIIO::shutdown() ;
++#endif
+
+ std::cout << "exiting normally" << std::endl ;
+