tag 527720 patch thanks Lucas Nussbaum <lu...@lucas-nussbaum.net> (08/05/2009): > > src/osgCal/IOCFG.cpp:76: error: 'strchr' was not declared in this scope > > src/osgCal/IOCFG.cpp:83: error: 'strlen' was not declared in this scope > > src/osgCal/IOCFG.cpp:89: error: 'strcmp' was not declared in this scope > > src/osgCal/IOCFG.cpp:98: error: 'strcmp' was not declared in this scope > > make[3]: *** [IOCFG.lo] Error 1
Trivial patch attached. Won't be sufficient on most archs due to libopenscenegraph-dev's #528229. Mraw, KiBi.
diff -u osgcal-0.1.46/debian/changelog osgcal-0.1.46/debian/changelog --- osgcal-0.1.46/debian/changelog +++ osgcal-0.1.46/debian/changelog @@ -1,3 +1,10 @@ +osgcal (0.1.46-2.2) unstable; urgency=low + + * Non-maintainer upload. + * Fix FTBFS with newer GCC again (Closes: #527720). + + -- Cyril Brulebois <k...@debian.org> Tue, 12 May 2009 00:00:45 +0200 + osgcal (0.1.46-2.1) unstable; urgency=low * Non-maintainer upload. only in patch2: unchanged: --- osgcal-0.1.46.orig/src/osgCal/IOXFG.cpp +++ osgcal-0.1.46/src/osgCal/IOXFG.cpp @@ -120,6 +120,8 @@ #include <osgCal/SubMeshSoftware> #include "osgCal/CoreModel" +#include <cstring> + static bool writeObjectXFG(const std::string& fileName, const osgCal::CoreModel& coreModel) { return true; only in patch2: unchanged: --- osgcal-0.1.46.orig/src/osgCal/IOCFG.cpp +++ osgcal-0.1.46/src/osgCal/IOCFG.cpp @@ -44,6 +44,8 @@ #include <osgDB/FileUtils> #include <osgDB/FileNameUtils> +#include <cstring> + #define LINE_BUFFER_SIZE 4096 bool readObject(const std::string& fileName, osgCal::CoreModel& coreModel) {
signature.asc
Description: Digital signature