Skip to content

Commit

Permalink
net-mgmt/pmacct: unbreak with RABBITMQ=on
Browse files Browse the repository at this point in the history
PR:	273598
  • Loading branch information
Stewart Morgan authored and opsec committed Mar 29, 2024
1 parent d254085 commit d7663d4
Show file tree
Hide file tree
Showing 2 changed files with 27 additions and 0 deletions.
14 changes: 14 additions & 0 deletions 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 */
13 changes: 13 additions & 0 deletions 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"

0 comments on commit d7663d4

Please sign in to comment.