Processed: Re: Bug#966600: nfstrace: patch for newer json-c/gcc-10

2020-07-31 Thread Debian Bug Tracking System
Processing control commands:

> forwarded -1 https://github.com/epam/nfstrace/pull/42
Bug #966600 [src:nfstrace] nfstrace: patch for newer json-c/gcc-10
Set Bug forwarded-to-address to 'https://github.com/epam/nfstrace/pull/42'.

-- 
966600: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=966600
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems



Bug#966600: nfstrace: patch for newer json-c/gcc-10

2020-07-31 Thread Gianfranco Costamagna
control: forwarded -1 https://github.com/epam/nfstrace/pull/42

G.



Bug#966600: nfstrace: patch for newer json-c/gcc-10

2020-07-31 Thread Gianfranco Costamagna
:)
https://github.com/epam/nfstrace/pull/42 






Il venerdì 31 luglio 2020, 11:41:12 CEST, Andrej Shadura  ha 
scritto: 





Hi,

On Fri, 31 Jul 2020, at 11:23, Gianfranco Costamagna wrote:
> Source: nfstrace
> Version: 0.4.3.2+git20180104+6561cf6-1
> Severity: serious
> tags: patch
>  
> hello, attached a patch that makes it build with newer json-c/gcc-10


Thanks! Could you please also submit it upstream or should I?

-- 
Cheers,
  Andrej



Bug#966600: nfstrace: patch for newer json-c/gcc-10

2020-07-31 Thread Andrej Shadura
Hi,

On Fri, 31 Jul 2020, at 11:23, Gianfranco Costamagna wrote:
> Source: nfstrace
> Version: 0.4.3.2+git20180104+6561cf6-1
> Severity: serious
> tags: patch
>   
> hello, attached a patch that makes it build with newer json-c/gcc-10

Thanks! Could you please also submit it upstream or should I?

-- 
Cheers,
  Andrej



Bug#966600: nfstrace: patch for newer json-c/gcc-10

2020-07-31 Thread Gianfranco Costamagna
Source: nfstrace
Version: 0.4.3.2+git20180104+6561cf6-1
Severity: serious
tags: patch
  
hello, attached a patch that makes it build with newer json-c/gcc-10

thanks

Gianfranco
Description: gcc-10 build fixes
Author: Gianfranco Costamagna 
Last-Update: 2020-07-31

--- nfstrace-0.4.3.2+git20180104+6561cf6.orig/analyzers/src/json/json_plugin.cpp
+++ nfstrace-0.4.3.2+git20180104+6561cf6/analyzers/src/json/json_plugin.cpp
@@ -23,6 +23,7 @@
 #include "json_analyzer.h"
 //--
 
+#include 
 static constexpr int DefaultPort = ;
 static constexpr const char* DefaultHost = IpEndpoint::WildcardAddress;
 static constexpr std::size_t DefaultWorkersAmount= 10U;
--- nfstrace-0.4.3.2+git20180104+6561cf6.orig/analyzers/src/watch/nc_windows/statistics_window.cpp
+++ nfstrace-0.4.3.2+git20180104+6561cf6/analyzers/src/watch/nc_windows/statistics_window.cpp
@@ -23,6 +23,7 @@
 #include 
 
 #include 
+#include 
 
 #include "nc_window_const.h"
 #include "statistics_window.h"
--- nfstrace-0.4.3.2+git20180104+6561cf6.orig/analyzers/src/watch/user_gui.cpp
+++ nfstrace-0.4.3.2+git20180104+6561cf6/analyzers/src/watch/user_gui.cpp
@@ -23,6 +23,7 @@
 #include 
 #include 
 #include 
+#include 
 
 #include 
 
--- nfstrace-0.4.3.2+git20180104+6561cf6.orig/src/analysis/analyzers.cpp
+++ nfstrace-0.4.3.2+git20180104+6561cf6/src/analysis/analyzers.cpp
@@ -22,6 +22,7 @@
 #include "analysis/analyzers.h"
 #include "analysis/print_analyzer.h"
 #include "utils/out.h"
+#include 
 //--
 namespace NST
 {
--- nfstrace-0.4.3.2+git20180104+6561cf6.orig/src/controller/controller.h
+++ nfstrace-0.4.3.2+git20180104+6561cf6/src/controller/controller.h
@@ -24,6 +24,7 @@
 #define CONTROLLER_H
 //--
 #include 
+#include 
 
 #include "analysis/analysis_manager.h"
 #include "controller/parameters.h"
--- nfstrace-0.4.3.2+git20180104+6561cf6.orig/src/controller/parameters.cpp
+++ nfstrace-0.4.3.2+git20180104+6561cf6/src/controller/parameters.cpp
@@ -21,6 +21,7 @@
 //--
 #include 
 #include 
+#include 
 
 #include 
 #include 
--- nfstrace-0.4.3.2+git20180104+6561cf6.orig/src/controller/running_status.h
+++ nfstrace-0.4.3.2+git20180104+6561cf6/src/controller/running_status.h
@@ -28,6 +28,7 @@
 #include 
 #include 
 #include 
+#include 
 
 #include "utils/noncopyable.h"
 //--
--- nfstrace-0.4.3.2+git20180104+6561cf6.orig/src/controller/signal_handler.cpp
+++ nfstrace-0.4.3.2+git20180104+6561cf6/src/controller/signal_handler.cpp
@@ -21,6 +21,7 @@
 //--
 #include 
 #include  // std::ref
+#include 
 #include 
 
 #include 
--- nfstrace-0.4.3.2+git20180104+6561cf6.orig/src/filtration/filtration_manager.cpp
+++ nfstrace-0.4.3.2+git20180104+6561cf6/src/filtration/filtration_manager.cpp
@@ -19,6 +19,7 @@
 along with Nfstrace.  If not, see .
 */
 //--
+#include 
 #include 
 
 #include "filtration/dumping.h"
--- nfstrace-0.4.3.2+git20180104+6561cf6.orig/src/filtration/filtration_processor.h
+++ nfstrace-0.4.3.2+git20180104+6561cf6/src/filtration/filtration_processor.h
@@ -26,6 +26,7 @@
 #include 
 #include 
 #include 
+#include 
 #include 
 #include 
 #include 
--- nfstrace-0.4.3.2+git20180104+6561cf6.orig/src/protocols/xdr/xdr_decoder.h
+++ nfstrace-0.4.3.2+git20180104+6561cf6/src/protocols/xdr/xdr_decoder.h
@@ -23,6 +23,7 @@
 #define XDR_DECODER_H
 //--
 #include 
+#include 
 #include 
 //--
 #include "api/nfs3_types_rpcgen.h"