Skip to content
  • Thomas Gambier's avatar
    component/powerdns: upgrade from 4.5.1 to 4.9.16 · b7bd93ff
    Thomas Gambier authored
    This fixes a compilation failure with boost version 1.87:
    
      CXX      uuid-utils.o
    uuid-utils.cc:38:58: error: 'random' is not a member of 'boost'; did you mean 'random'?
       38 | thread_local boost::uuids::basic_random_generator<boost::random::mt19937> t_uuidGenerator;
          |                                                          ^~~~~~
    uuid-utils.cc:38:73: error: template argument 1 is invalid
       38 | thread_local boost::uuids::basic_random_generator<boost::random::mt19937> t_uuidGenerator;
          |                                                                         ^
    uuid-utils.cc: In function 'boost::uuids::uuid getUniqueID()':
    uuid-utils.cc:44:25: error: 't_uuidGenerator' cannot be used as a function
       44 |   return t_uuidGenerator();
          |          ~~~~~~~~~~~~~~~^~
    make[3]: *** [Makefile:3322: uuid-utils.o] Error 1
    make[2]: *** [Makefile:2779: all] Error 2
    make[1]: *** [Makefile:580: all-recursive] Error 1
    make: *** [Makefile:512: all] Error 2
    b7bd93ff