diff options
author | Tuan M. Hoang <tmhoang@flatglobe.org> | 2017-04-19 01:12:20 -0400 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2017-04-20 15:31:03 +0000 |
commit | 2c47756b47d9aa0775033eb0529f5c5243fc2cef (patch) | |
tree | 6dcf795ba45f2a859cac2a98fe9fd71f57bed934 /main | |
parent | d04576fe9606c0f1ad88b2fcf22b7d23980e5728 (diff) | |
download | aports-2c47756b47d9aa0775033eb0529f5c5243fc2cef.tar.bz2 aports-2c47756b47d9aa0775033eb0529f5c5243fc2cef.tar.xz |
main/kamailio: allow big endian on s390x
Ref : https://github.com/kamailio/kamailio/pull/1068
Diffstat (limited to 'main')
-rw-r--r-- | main/kamailio/APKBUILD | 4 | ||||
-rw-r--r-- | main/kamailio/s390x-big-endian.patch | 24 |
2 files changed, 27 insertions, 1 deletions
diff --git a/main/kamailio/APKBUILD b/main/kamailio/APKBUILD index 2191963822..7dc5709cf7 100644 --- a/main/kamailio/APKBUILD +++ b/main/kamailio/APKBUILD @@ -241,6 +241,7 @@ source="http://www.kamailio.org/pub/kamailio/$pkgver/src/${pkgname}-${pkgver}${_ 0004-remove-spurious-execinfo.patch kamailio.cfg kamailio.initd + s390x-big-endian.patch " snapshot() { @@ -520,4 +521,5 @@ sha512sums="686ede6afcf275b739297b322be3ac74396d3230a38a52891b03e088447f5befec07 139fab275e7d01da85bf3422a16966165c72584122513d34b5fb3d9341c430eeb69ec5b86b82ff4acce709f5ab3f651de5954ae38ff9a256a19b22d88cfea830 0003-kamdbctl.base.patch e60e8d41e55008f0473e4d645af3b43f2bc097e341bb3bb81daec8bc47abcd6d037cbb56082675c24ffb1c50b2eb93e3c4fc50b0dc2df9cdfe4f28ad7b9fbf9e 0004-remove-spurious-execinfo.patch c1abf69b48847dc8c7ab0d11ef9adb531aa4635f9d44db6933981edc5a47df374664fb24867b19aa64abbcc9777bf1cd0360d9aea54e27b081065928c61e0f0b kamailio.cfg -cd6e3b677d803cd78561ad14d9b2589fd35ad0096f48047fdcb4ddc7d9103871357efba3b350946844cb53dbb081210746421fc420c22ac845b90251168a628e kamailio.initd" +cd6e3b677d803cd78561ad14d9b2589fd35ad0096f48047fdcb4ddc7d9103871357efba3b350946844cb53dbb081210746421fc420c22ac845b90251168a628e kamailio.initd +54016ee9a9f729bab317807761580cf2ac5d8e5dde747377f4d66337af37733de504658aaef28e9432e642b87b79c4bb03bcbb1b2d9c67acd515a37080013d0f s390x-big-endian.patch" diff --git a/main/kamailio/s390x-big-endian.patch b/main/kamailio/s390x-big-endian.patch new file mode 100644 index 0000000000..d7d9defba3 --- /dev/null +++ b/main/kamailio/s390x-big-endian.patch @@ -0,0 +1,24 @@ +diff --git a/src/modules/acc/diam_message.h b/src/modules/acc/diam_message.h +index 35ad2d9..e4faaf0 100644 +--- a/src/modules/acc/diam_message.h ++++ b/src/modules/acc/diam_message.h +@@ -74,7 +74,6 @@ + #define ST_MSG_CODE 0x13010000 + #define MASK_MSG_CODE 0xffffff00 + #else +- #error BIG endian detected!! + #define AS_MSG_CODE 0x00000112 + #define AC_MSG_CODE 0x0000010f + #define CE_MSG_CODE 0x00000101 +diff --git a/src/modules/cdp/diameter.h b/src/modules/cdp/diameter.h +index 38115a9..2be2525 100644 +--- a/src/modules/cdp/diameter.h ++++ b/src/modules/cdp/diameter.h +@@ -115,7 +115,6 @@ + #define ST_MSG_CODE 0x13010000 + #define MASK_MSG_CODE 0xffffff00 + #else +- #error BIG endian detected!! + #define AS_MSG_CODE 0x00000112 + #define AC_MSG_CODE 0x0000010f + #define CE_MSG_CODE 0x00000101 |