Date: Tue, 18 Oct 2016 16:03:30 +0000 (UTC) From: Tijl Coosemans <tijl@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r424172 - head/devel/libosmo-abis/files Message-ID: <201610181603.u9IG3UcO060500@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: tijl Date: Tue Oct 18 16:03:30 2016 New Revision: 424172 URL: https://svnweb.freebsd.org/changeset/ports/424172 Log: Fix build with oRTP 0.27.0. Added: head/devel/libosmo-abis/files/ head/devel/libosmo-abis/files/patch-src-trau-osmo_ortp.c (contents, props changed) Added: head/devel/libosmo-abis/files/patch-src-trau-osmo_ortp.c ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/devel/libosmo-abis/files/patch-src-trau-osmo_ortp.c Tue Oct 18 16:03:30 2016 (r424172) @@ -0,0 +1,41 @@ +--- src/trau/osmo_ortp.c.orig 2015-09-21 08:55:12 UTC ++++ src/trau/osmo_ortp.c +@@ -93,7 +93,7 @@ static int ortp_to_osmo_lvl(OrtpLogLevel + return LOGL_ERROR; + } + +-static void my_ortp_logfn(OrtpLogLevel lev, const char *fmt, ++static void my_ortp_logfn(const char *domain, OrtpLogLevel lev, const char *fmt, + va_list args) + { + osmo_vlogp(DLMIB, ortp_to_osmo_lvl(lev), __FILE__, 0, +@@ -267,7 +267,7 @@ void osmo_rtp_init(void *ctx) + tall_rtp_ctx = ctx; + ortp_set_memory_functions(&osmo_ortp_memfn); + ortp_init(); +- ortp_set_log_level_mask(0xffff); ++ ortp_set_log_level_mask(NULL, 0xffff); + ortp_set_log_handler(my_ortp_logfn); + create_payload_types(); + } +@@ -326,16 +326,16 @@ struct osmo_rtp_socket *osmo_rtp_socket_ + + rtp_session_signal_connect(rs->sess, "ssrc_changed", + (RtpCallback) ortp_sig_cb_ssrc, +- (unsigned long) rs); ++ rs); + rtp_session_signal_connect(rs->sess, "payload_type_changed", + (RtpCallback) ortp_sig_cb_pt, +- (unsigned long) rs); ++ rs); + rtp_session_signal_connect(rs->sess, "network_error", + (RtpCallback) ortp_sig_cb_net, +- (unsigned long) rs); ++ rs); + rtp_session_signal_connect(rs->sess, "timestamp_jump", + (RtpCallback) ortp_sig_cb_ts, +- (unsigned long) rs); ++ rs); + + /* initialize according to the RFC */ + rtp_session_set_seq_number(rs->sess, random());
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201610181603.u9IG3UcO060500>