diff options
| author | Jiri Slachta | 2020-07-28 07:00:48 +0000 |
|---|---|---|
| committer | GitHub | 2020-07-28 07:00:48 +0000 |
| commit | 0b16b3aca023fb0eeeaaae6956c1712b966a0173 (patch) | |
| tree | efdbbfdebe79d1b747022af38605c41a2dec2abd | |
| parent | 70b11b01921d00979bdfcad4ea95a9bd57b411e3 (diff) | |
| parent | f5627507d5adcce6ca847c735ad4fe453c960c6d (diff) | |
| download | telephony-0b16b3aca023fb0eeeaaae6956c1712b966a0173.tar.gz | |
Merge pull request #546 from neheb/srt
libsrtp2: fix compilation with GCC 10
| -rw-r--r-- | libs/libsrtp2/Makefile | 2 | ||||
| -rw-r--r-- | libs/libsrtp2/patches/010-gcc10.patch | 11 |
2 files changed, 12 insertions, 1 deletions
diff --git a/libs/libsrtp2/Makefile b/libs/libsrtp2/Makefile index 9059fb1..345fc29 100644 --- a/libs/libsrtp2/Makefile +++ b/libs/libsrtp2/Makefile @@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk PKG_NAME:=libsrtp2 PKG_VERSION:=2.2.0 -PKG_RELEASE:=1 +PKG_RELEASE:=2 PKG_SOURCE_PROTO:=git PKG_SOURCE_URL:=https://github.com/cisco/libsrtp.git diff --git a/libs/libsrtp2/patches/010-gcc10.patch b/libs/libsrtp2/patches/010-gcc10.patch new file mode 100644 index 0000000..70723f7 --- /dev/null +++ b/libs/libsrtp2/patches/010-gcc10.patch @@ -0,0 +1,11 @@ +--- a/crypto/math/datatypes.c ++++ b/crypto/math/datatypes.c +@@ -79,7 +79,7 @@ int octet_get_weight(uint8_t octet) + + /* the value MAX_PRINT_STRING_LEN is defined in datatypes.h */ + +-char bit_string[MAX_PRINT_STRING_LEN]; ++static char bit_string[MAX_PRINT_STRING_LEN]; + + uint8_t srtp_nibble_to_hex_char(uint8_t nibble) + { |