diff -Nru openvdb-5.0.0/debian/changelog openvdb-5.0.0/debian/changelog --- openvdb-5.0.0/debian/changelog 2017-12-26 09:41:24.000000000 +0000 +++ openvdb-5.0.0/debian/changelog 2018-03-19 13:33:44.000000000 +0000 @@ -1,3 +1,10 @@ +openvdb (5.0.0-1+rpi1) buster-staging; urgency=medium + + * Change compname from char * to const char * to fix + unittest/TestFile.cc:2555:54: error: invalid conversion from 'char**' to 'const char**' [-fpermissive] + + -- Peter Michael Green Mon, 19 Mar 2018 13:33:44 +0000 + openvdb (5.0.0-1) unstable; urgency=medium * New upstream release. diff -Nru openvdb-5.0.0/debian/patches/const-fix.patch openvdb-5.0.0/debian/patches/const-fix.patch --- openvdb-5.0.0/debian/patches/const-fix.patch 1970-01-01 00:00:00.000000000 +0000 +++ openvdb-5.0.0/debian/patches/const-fix.patch 2018-03-19 13:33:44.000000000 +0000 @@ -0,0 +1,16 @@ +Description: Fix const issue + Change compname from char * to const char * to fix + unittest/TestFile.cc:2555:54: error: invalid conversion from 'char**' to 'const char**' [-fpermissive] +Author: Peter Michael Green + +--- openvdb-5.0.0.orig/unittest/TestFile.cc ++++ openvdb-5.0.0/unittest/TestFile.cc +@@ -2551,7 +2551,7 @@ TestFile::testBlosc() + outdata(new char[decompbufbytes]); + + for (int compcode = 0; compcode <= BLOSC_ZLIB; ++compcode) { +- char* compname = nullptr; ++ const char* compname = nullptr; + if (0 > blosc_compcode_to_compname(compcode, &compname)) continue; + /// @todo This changes the compressor setting globally. + if (blosc_set_compressor(compname) < 0) continue; diff -Nru openvdb-5.0.0/debian/patches/series openvdb-5.0.0/debian/patches/series --- openvdb-5.0.0/debian/patches/series 2017-12-25 17:31:24.000000000 +0000 +++ openvdb-5.0.0/debian/patches/series 2018-03-19 13:33:44.000000000 +0000 @@ -2,3 +2,4 @@ use_svg.patch isystem.patch removecxx11.patch +const-fix.patch