Created attachment 240504 [details] patch to update Update to last version, some fixes about: - "error: a function definition without a prototype is deprecated" - "error: variable set but not used" - "error: non initialized variable" it compiles but need more test.
are these patches obtained from, or submitted to upstream?
I've wrote them. And started to create a Pull-Request: https://github.com/pmacct/pmacct/pull/669
Created attachment 240505 [details] my current patch This is my version of the patch...
(In reply to Kurt Jaeger from comment #3) Your patches seems a lot smarter than mine :-)
Thanks. Patches are still untested, I need to find time to do some test-runs.
A commit in branch main references this bug: URL: https://cgit.FreeBSD.org/ports/commit/?id=8e8ea047aa531a7825cf293ad76a2defca9efd5d commit 8e8ea047aa531a7825cf293ad76a2defca9efd5d Author: Kurt Jaeger <pi@FreeBSD.org> AuthorDate: 2023-03-04 17:27:24 +0000 Commit: Kurt Jaeger <pi@FreeBSD.org> CommitDate: 2023-03-04 17:27:24 +0000 net-mgmt/pmacct: update 1.7.7 -> 1.7.8 - some new patches needed to make it build PR: 269896 Reported-by: olivier Sponsored-by: Nepustil.net Changes: https://github.com/pmacct/pmacct/releases/tag/v1.7.8 net-mgmt/pmacct/Makefile | 7 ++- net-mgmt/pmacct/distinfo | 6 +- net-mgmt/pmacct/files/patch-Makefile.in | 4 +- net-mgmt/pmacct/files/patch-configure.ac (gone) | 20 ------ net-mgmt/pmacct/files/patch-src_bgp_bgp.c | 4 +- .../pmacct/files/patch-src_bgp_bgp__lookup.c (new) | 20 ++++++ .../files/patch-src_external__libs_Makefile.am | 73 ++++++++++++++++++++-- .../pmacct/files/patch-src_imt__plugin.h (new) | 11 ++++ net-mgmt/pmacct/files/patch-src_kafka__plugin.c | 4 +- net-mgmt/pmacct/files/patch-src_memory.c (new) | 11 ++++ net-mgmt/pmacct/files/patch-src_net__aggr.h (new) | 11 ++++ .../files/patch-src_nfprobe__plugin_netflow9.c | 4 +- net-mgmt/pmacct/files/patch-src_pgsql__plugin.c | 4 +- .../files/patch-src_plugin__cmn__avro.c (new) | 11 ++++ net-mgmt/pmacct/files/patch-src_pmacct.c | 6 +- .../files/patch-src_pretag__handlers.c (new) | 18 ++++++ .../pmacct/files/patch-src_setproctitle.c (new) | 24 +++++++ net-mgmt/pmacct/files/patch-src_sflow.c | 4 +- net-mgmt/pmacct/files/patch-src_sql__common.h | 4 +- net-mgmt/pmacct/files/patch-src_sqlite3__plugin.c | 4 +- net-mgmt/pmacct/files/patch-src_util.c | 22 ++++++- net-mgmt/pmacct/pkg-plist | 2 - 22 files changed, 221 insertions(+), 53 deletions(-)
Committed, thanks!