Bug 273598 - net-mgmt/pmacct rabbitmq-c deprecation errors
Summary: net-mgmt/pmacct rabbitmq-c deprecation errors
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Only Me
Assignee: Kurt Jaeger
URL:
Keywords:
: 277214 (view as bug list)
Depends on:
Blocks:
 
Reported: 2023-09-06 15:21 UTC by Stewart Morgan
Modified: 2024-03-29 19:25 UTC (History)
2 users (show)

See Also:
pi: maintainer-feedback+


Attachments
Resolve deprecation warnings (769 bytes, patch)
2023-09-06 15:23 UTC, Stewart Morgan
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Stewart Morgan 2023-09-06 15:21:21 UTC

    
Comment 1 Stewart Morgan 2023-09-06 15:23:38 UTC
Created attachment 244679 [details]
Resolve deprecation warnings
Comment 2 Stewart Morgan 2023-09-06 15:24:12 UTC
Attached patch resolves the folowing deprecation warnings introduced with a recent rabbitmq-c update:
#warning "amqp.h is deprecated, use rabbitmq-c/amqp.h instead."
#warning "amqp_tcp_socket.h is deprecated, use rabbitmq-c/tcp_socket.h instead."
#warning "amqp_ssl_socket.h is deprecated, use rabbitmq-c/ssl_socket.h instead.

Stewart.
Comment 3 Dave Cottlehuber freebsd_committer freebsd_triage 2024-03-02 14:57:31 UTC
*** Bug 277214 has been marked as a duplicate of this bug. ***
Comment 4 Daniel Engberg freebsd_committer freebsd_triage 2024-03-29 15:50:59 UTC
Hi Stewart,

Thanks for your patch, can you please generate one using git?

Best regards,
Daniel
Comment 5 commit-hook freebsd_committer freebsd_triage 2024-03-29 19:24:55 UTC
A commit in branch main references this bug:

URL: https://cgit.FreeBSD.org/ports/commit/?id=d7663d47769814b8323b148c53316b6c576d6df3

commit d7663d47769814b8323b148c53316b6c576d6df3
Author:     Stewart Morgan <stewart+FreeBSD-BugZilla@arnos-vale.net>
AuthorDate: 2024-03-29 19:22:11 +0000
Commit:     Kurt Jaeger <pi@FreeBSD.org>
CommitDate: 2024-03-29 19:24:27 +0000

    net-mgmt/pmacct: unbreak with RABBITMQ=on

    PR:     273598

 net-mgmt/pmacct/files/patch-src_amqp__common.h (new) | 14 ++++++++++++++
 net-mgmt/pmacct/files/patch-src_amqp__plugin.h (new) | 13 +++++++++++++
 2 files changed, 27 insertions(+)
Comment 6 Kurt Jaeger freebsd_committer freebsd_triage 2024-03-29 19:25:13 UTC
Committed, thanks!