Created attachment 495484 [details, diff] asterisk_libsrtp_2_1_macro_define_change.diff Error message during compile: In file included from res_srtp.c:45:0: res_srtp.c: In function ‘policy_set_suite’: srtp/srtp_compat.h:8:21: error: ‘SRTP_AES_ICM’ undeclared (first use in this function) #define AES_128_ICM SRTP_AES_ICM ^ res_srtp.c:267:20: note: in expansion of macro ‘AES_128_ICM’ p->cipher_type = AES_128_ICM; ^~~~~~~~~~~ srtp/srtp_compat.h:8:21: note: each undeclared identifier is reported only once for each function it appears in #define AES_128_ICM SRTP_AES_ICM ^ res_srtp.c:267:20: note: in expansion of macro ‘AES_128_ICM’ p->cipher_type = AES_128_ICM; ^~~~~~~~~~~ Reason pointed out in this upstream ticket: https://issues.asterisk.org/jira/browse/ASTERISK-27253 Patch for this ticket solves the problem. Maybe it's already handled in asterisk-13.17.2 - I have to sync and check it out.
net-misc/asterisk-13.17.2 is also affected.
The dependency is on libsrtp:0, this was already explicit in the 11 ebuilds but 13.7.2 had it wrong. Fixed now.