nur-packages

My NUR packages
git clone git://git.sikmir.ru/nur-packages
Log | Files | Refs | README | LICENSE

0002-fix-build.patch (693B)


      1 diff --git a/programs/ms2render/ms2render.cpp b/programs/ms2render/ms2render.cpp
      2 index 6381e37..e36b79d 100644
      3 --- a/programs/ms2render/ms2render.cpp
      4 +++ b/programs/ms2render/ms2render.cpp
      5 @@ -14,6 +14,7 @@
      6  #include "geo_render/gobj_maps.h"
      7  #include "geo_render/gobj_srtm.h"
      8  //#include "draw_pulk_grid.h"
      9 +#include "srtm/srtm.h"
     10  #include "viewer/gobj_multi.h"
     11  #include <cstring>
     12  
     13 @@ -126,9 +127,9 @@ main(int argc, char *argv[]){
     14  
     15  
     16      // Srtm layer
     17 -    std::shared_ptr<SRTMSurf> s;
     18 +    std::shared_ptr<SRTM> s;
     19      if (O.exists("srtm")){
     20 -      s.reset(new SRTMSurf(O));
     21 +      s.reset(new SRTM(O));
     22        obj.add(5, std::shared_ptr<GObjSRTM>(new GObjSRTM(s.get(),O)));
     23      }
     24