aboutsummaryrefslogtreecommitdiffstats
path: root/main/rabbitmq-c/musl-fix.patch
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2017-03-16 07:37:21 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2017-03-16 07:37:21 +0000
commit2de96dffb016f6215562f5f413ea92db93e1700a (patch)
treee8d74b1bdebe288ea5ab50275fdf26c604b7725b /main/rabbitmq-c/musl-fix.patch
parent1cda56e4b2e8933e491e6bc7a87cb0f7e3d7f165 (diff)
downloadaports-2de96dffb016f6215562f5f413ea92db93e1700a.tar.bz2
aports-2de96dffb016f6215562f5f413ea92db93e1700a.tar.xz
main/rabbitmq-c: move from testing
needed by kamailio
Diffstat (limited to 'main/rabbitmq-c/musl-fix.patch')
-rw-r--r--main/rabbitmq-c/musl-fix.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/main/rabbitmq-c/musl-fix.patch b/main/rabbitmq-c/musl-fix.patch
new file mode 100644
index 0000000000..e76b082f92
--- /dev/null
+++ b/main/rabbitmq-c/musl-fix.patch
@@ -0,0 +1,11 @@
+--- ./librabbitmq/amqp_private.h.orig
++++ ./librabbitmq/amqp_private.h
+@@ -262,7 +262,7 @@
+ }
+
+ /* Determine byte order */
+-#if defined(__GLIBC__)
++#if defined(__linux__)
+ # include <endian.h>
+ # if (__BYTE_ORDER == __LITTLE_ENDIAN)
+ # define AMQP_LITTLE_ENDIAN