Files
ghpzin 95ead3e115 netperf: fix build with gcc15
- add patch from debian submitted in unmerged PR upstream:
https://www.github.com/HewlettPackard/netperf/pull/86

Fixes build failure with gcc15:
```
hist.h:135:6: error: conflicting types for 'HIST_purge'; have
'void(struct histogram_struct *)'
  135 | void HIST_purge(HIST h);
      |      ^~~~~~~~~~
In file included from nettest_bsd.c:175:
netlib.h:651:17: note: previous declaration of 'HIST_purge' with type
'void(void)'
  651 | extern void     HIST_purge();
      |                 ^~~~~~~~~~
nettest_bsd.c:4497:19: error: too many arguments to function
'alloc_sendfile_buf_ring'; expected 0, have 4
 4497 |       send_ring = alloc_sendfile_buf_ring(send_width,
      |                   ^~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~
netlib.h:690:26: note: declared here
  690 | extern  struct ring_elt *alloc_sendfile_buf_ring();
      |                          ^~~~~~~~~~~~~~~~~~~~~~~
nettest_bsd.c: In function 'recv_tcp_stream':
nettest_bsd.c:5197:15: error: too many arguments to function
'allocate_buffer_ring'; expected 0, have 4
 5197 |   recv_ring = allocate_buffer_ring(recv_width,
      |               ^~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~
netlib.h:679:26: note: declared here
  679 | extern  struct ring_elt *allocate_buffer_ring();
      |                          ^~~~~~~~~~~~~~~~~~~~
nettest_omni.c:5050:5: error: too many arguments to function
'HIST_get_stats'; expected 0, have 5
 5050 |     HIST_get_stats(time_hist,
      |     ^~~~~~~~~~~~~~ ~~~~~~~~~
netlib.h:650:17: note: declared here
  650 | extern void     HIST_get_stats();
      |                 ^~~~~~~~~~~~~~
nettest_omni.c:5055:19: error: too many arguments to function
'HIST_get_percentile'; expected 0, have 2
 5055 |     p50_latency = HIST_get_percentile(time_hist, 0.50);
      |                   ^~~~~~~~~~~~~~~~~~~ ~~~~~~~~~
netlib.h:649:17: note: declared here
  649 | extern int      HIST_get_percentile();
      |                 ^~~~~~~~~~~~~~~~~~~
```
2025-12-06 13:55:15 +03:00
..
2025-12-06 13:55:15 +03:00