I have applied Frederic'c patch to the upstream source as well as fixes for the FTBFS issues with other platforms (ppc, alpha, hurd-i386, x32). I also eliminated the use of the deprecated readdir_r() function. Context Free 3.0.11.5 package is being reviewed by the package sponsor.
-- john On Sun, Aug 20, 2017 at 10:09 AM Adrian Bunk <b...@debian.org> wrote: > Source: contextfree > Version: 3.0.11.4+dfsg1-1 > Severity: serious > > > https://buildd.debian.org/status/fetch.php?pkg=contextfree&arch=ppc64el&ver=3.0.11.4%2Bdfsg1-1&stamp=1503230603&raw=0 > > ... > g++ -g -O2 -fdebug-prefix-map=/<<BUILDDIR>>/contextfree-3.0.11.4+dfsg1=. > -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time > -D_FORTIFY_SOURCE=2 -Isrc-common -Isrc-unix -Iobjs -Isrc-common/agg-extras > -Isrc-ffmpeg/include -I/usr/local/include -O2 -Wall -Wextra > -Wno-parentheses -std=c++14 -c -o objs/posixSystem.o > src-unix/posixSystem.cpp > src-unix/posixSystem.cpp: In member function 'virtual > std::vector<std::__cxx11::basic_string<char> > > PosixSystem::findTempFiles()': > src-unix/posixSystem.cpp:220:53: warning: 'int readdir_r(DIR*, dirent*, > dirent**)' is deprecated [-Wdeprecated-declarations] > while (readdir_r(dirp.get(), ¤tEntry, &der) == 0 && der) { > ^ > In file included from src-unix/posixSystem.cpp:36:0: > /usr/include/dirent.h:183:12: note: declared here > extern int readdir_r (DIR *__restrict __dirp, > ^~~~~~~~~ > src-unix/posixSystem.cpp: In member function 'virtual size_t > PosixSystem::getPhysicalMemory()': > src-unix/posixSystem.cpp:246:14: error: 'CTL_HW' was not declared in this > scope > mib[0] = CTL_HW; > ^~~~~~ > src-unix/posixSystem.cpp:246:14: note: suggested alternative: 'CTL_PM' > mib[0] = CTL_HW; > ^~~~~~ > CTL_PM > Makefile:206: recipe for target 'objs/posixSystem.o' failed > make[1]: *** [objs/posixSystem.o] Error 1 >