aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStewart Morgan <stewart+FreeBSD-BugZilla@arnos-vale.net>2024-03-29 19:22:11 +0000
committerKurt Jaeger <pi@FreeBSD.org>2024-03-29 19:24:27 +0000
commitd7663d47769814b8323b148c53316b6c576d6df3 (patch)
tree3bd18188400d90d36be0610b2ee32afb73dfe149
parentd254085964a50e2145136a3a652f1d0c42db3ac1 (diff)
downloadports-d7663d47769814b8323b148c53316b6c576d6df3.tar.gz
ports-d7663d47769814b8323b148c53316b6c576d6df3.zip
net-mgmt/pmacct: unbreak with RABBITMQ=on
PR: 273598
-rw-r--r--net-mgmt/pmacct/files/patch-src_amqp__common.h14
-rw-r--r--net-mgmt/pmacct/files/patch-src_amqp__plugin.h13
2 files changed, 27 insertions, 0 deletions
diff --git a/net-mgmt/pmacct/files/patch-src_amqp__common.h b/net-mgmt/pmacct/files/patch-src_amqp__common.h
new file mode 100644
index 000000000000..400f57f6c39b
--- /dev/null
+++ b/net-mgmt/pmacct/files/patch-src_amqp__common.h
@@ -0,0 +1,14 @@
+--- src/amqp_common.h.orig 2022-12-31 20:17:17.000000000 +0100
++++ src/amqp_common.h 2024-03-29 19:10:46.740680000 +0100
+@@ -23,8 +23,9 @@
+ #define AMQP_COMMON_H
+
+ /* includes */
+-#include <amqp.h>
+-#include <amqp_tcp_socket.h>
++#include <rabbitmq-c/amqp.h>
++#include <rabbitmq-c/tcp_socket.h>
++#include <rabbitmq-c/ssl_socket.h>
+ #include "plugin_common.h"
+
+ /* defines */
diff --git a/net-mgmt/pmacct/files/patch-src_amqp__plugin.h b/net-mgmt/pmacct/files/patch-src_amqp__plugin.h
new file mode 100644
index 000000000000..b2a1979fbb60
--- /dev/null
+++ b/net-mgmt/pmacct/files/patch-src_amqp__plugin.h
@@ -0,0 +1,13 @@
+--- src/amqp_plugin.h.orig 2022-12-31 20:17:17.000000000 +0100
++++ src/amqp_plugin.h 2024-03-29 19:09:18.874002000 +0100
+@@ -22,8 +22,8 @@
+ #define AMQP_PLUGIN_COMMON_H
+
+ /* includes */
+-#include <amqp.h>
+-#include <amqp_tcp_socket.h>
++#include <rabbitmq-c/amqp.h>
++#include <rabbitmq-c/tcp_socket.h>
+ #include <sys/poll.h>
+
+ #include "plugin_common.h"