Source: labplot Version: 2.10.1-2 Severity: important Tags: ftbfs patch upstream Control: block 1071614 by -1
Dear Maintainer, labplot fails to build against libmatio 1.5.27 (currently in experimental), because the return type of the Mat_GetDir() function now has some constness. I attach both a build log and a patch that fixes the issue. Best wishes, -- ⢀⣴⠾⠻⢶⣦⠀ Sébastien Villemot ⣾⠁⢠⠒⠀⣿⡁ Debian Developer ⢿⡄⠘⠷⠚⠋⠀ https://sebastien.villemot.name ⠈⠳⣄⠀⠀⠀⠀ https://www.debian.org
labplot_2.10.1-2_amd64.build.gz
Description: application/gzip
Description: Fix FTBFS against libmatio 1.5.27 The return type of Mat_GetDir() now has some constness. Author: Sébastien Villemot <[email protected]> Bug-Debian: https://bugs.debian.org/<FIXME> Forwarded: no Last-Update: 2024-05-31 --- This patch header follows DEP-3: http://dep.debian.net/deps/dep3/ --- a/src/backend/datasources/filters/MatioFilter.cpp +++ b/src/backend/datasources/filters/MatioFilter.cpp @@ -342,7 +342,7 @@ QString MatioFilter::fileInfoString(cons info += QLatin1String("<br>"); size_t n; - char** dir = Mat_GetDir(matfp, &n); + char* const* dir = Mat_GetDir(matfp, &n); info += i18n("Number of variables: ") + QString::number(n); info += QStringLiteral("<br>"); if (dir && n < 10) { // only show variable info when there are not too many @@ -550,7 +550,7 @@ void MatioFilterPrivate::parse(const QSt } // get names of all vars - char** dir = Mat_GetDir(matfp, &varCount); + char* const* dir = Mat_GetDir(matfp, &varCount); DEBUG(Q_FUNC_INFO << ", found " << varCount << " vars") varsInfo.clear();
_______________________________________________ pkg-kde-extras mailing list [email protected] https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/pkg-kde-extras
