Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package ortp for openSUSE:Factory checked in at 2023-03-08 14:53:44 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/ortp (Old) and /work/SRC/openSUSE:Factory/.ortp.new.31432 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "ortp" Wed Mar 8 14:53:44 2023 rev:46 rq:1070100 version:5.2.30 Changes: -------- --- /work/SRC/openSUSE:Factory/ortp/ortp.changes 2023-01-29 14:11:55.675458582 +0100 +++ /work/SRC/openSUSE:Factory/.ortp.new.31432/ortp.changes 2023-03-08 14:53:47.859076302 +0100 @@ -1,0 +2,6 @@ +Wed Mar 8 07:09:05 UTC 2023 - Paolo Stivanin <[email protected]> + +- Update to 5.2.30 (no changelog) +- Add set_current_version.patch + +------------------------------------------------------------------- Old: ---- ortp-5.2.16.tar.bz2 New: ---- ortp-5.2.30.tar.bz2 set_current_version.patch ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ ortp.spec ++++++ --- /var/tmp/diff_new_pack.fEpoAP/_old 2023-03-08 14:53:48.495079765 +0100 +++ /var/tmp/diff_new_pack.fEpoAP/_new 2023-03-08 14:53:48.499079787 +0100 @@ -19,10 +19,9 @@ %define soname libortp %define sover 15 -%define docuver 5.2.0 Name: ortp -Version: 5.2.16 +Version: 5.2.30 Release: 0 Summary: Real-time Transport Protocol Stack License: AGPL-3.0-or-later @@ -32,12 +31,13 @@ Source99: baselibs.conf # PATCH-FIX-OPENSUSE deps.diff Patch0: deps.diff +Patch1: set_current_version.patch BuildRequires: chrpath BuildRequires: cmake >= 3.0 BuildRequires: gcc-c++ BuildRequires: graphviz BuildRequires: pkgconfig -BuildRequires: pkgconfig(bctoolbox) >= 5.2.0 +BuildRequires: pkgconfig(bctoolbox) >= 5.2.30 %description oRTP is a C library implementing the RTP protocol (RFC 1889). @@ -77,7 +77,7 @@ mkdir -p %{buildroot}%{_docdir}/%{name} # manually keeping the version here because upstream doesn't (usually) update the patch version -mv -T %{buildroot}%{_datadir}/doc/%{name}-%{docuver} %{buildroot}%{_docdir}/%{name} +mv -T %{buildroot}%{_datadir}/doc/%{name}-%{version} %{buildroot}%{_docdir}/%{name} # for some reason, pkgconfig file contains wrong libdir sed -i "s,-L/usr/lib,-L%{_libdir}," %{buildroot}/%{_libdir}/pkgconfig/%{name}.pc ++++++ ortp-5.2.16.tar.bz2 -> ortp-5.2.30.tar.bz2 ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/ortp-5.2.16/CMakeLists.txt new/ortp-5.2.30/CMakeLists.txt --- old/ortp-5.2.16/CMakeLists.txt 2022-12-20 15:30:27.000000000 +0100 +++ new/ortp-5.2.30/CMakeLists.txt 2023-02-23 16:15:38.000000000 +0100 @@ -172,7 +172,7 @@ list(APPEND STRICT_OPTIONS_CPP "-Wno-error=unknown-warning-option" "-Qunused-arguments" "-Wno-tautological-compare" "-Wno-unused-function" "-Wno-array-bounds") endif() if(ENABLE_STRICT) - list(APPEND STRICT_OPTIONS_CPP "-Werror" "-Wextra" "-Wno-unused-parameter" "-Wno-missing-field-initializers" "-fno-strict-aliasing") + list(APPEND STRICT_OPTIONS_CPP "-Werror" "-Wextra" "-Wunused-parameter" "-Wno-missing-field-initializers" "-fno-strict-aliasing") endif() endif() if(STRICT_OPTIONS_CPP) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/ortp-5.2.16/configure.ac new/ortp-5.2.30/configure.ac --- old/ortp-5.2.16/configure.ac 2022-12-20 15:30:27.000000000 +0100 +++ new/ortp-5.2.30/configure.ac 2023-02-23 16:15:38.000000000 +0100 @@ -82,7 +82,7 @@ esac if test "$strictness" = "yes" ; then - STRICT_OPTIONS="$STRICT_OPTIONS -Werror -Wextra -Wno-unused-parameter -Wno-missing-field-initializers" + STRICT_OPTIONS="$STRICT_OPTIONS -Werror -Wextra -Wunused-parameter -Wno-missing-field-initializers" CFLAGS="$CFLAGS -fno-strict-aliasing" fi diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/ortp-5.2.16/src/extremum.c new/ortp-5.2.30/src/extremum.c --- old/ortp-5.2.16/src/extremum.c 2022-12-20 15:30:27.000000000 +0100 +++ new/ortp-5.2.30/src/extremum.c 2023-02-23 16:15:38.000000000 +0100 @@ -18,6 +18,8 @@ * along with this program. If not, see <http://www.gnu.org/licenses/>. */ +#include <bctoolbox/defs.h> + #include "ortp/utils.h" #include "ortp/logging.h" @@ -32,8 +34,7 @@ obj->period=period; } - -static bool_t extremum_check_init(OrtpExtremum *obj, uint64_t curtime, float value, const char *kind){ +static bool_t extremum_check_init(OrtpExtremum *obj, uint64_t curtime, float value, BCTBX_UNUSED(const char *kind)){ if (obj->extremum_time!=(uint64_t)-1){ if (((int)(curtime-obj->extremum_time))>obj->period){ obj->last_stable=obj->current_extremum; diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/ortp-5.2.16/src/nack.c new/ortp-5.2.30/src/nack.c --- old/ortp-5.2.16/src/nack.c 2022-12-20 15:30:27.000000000 +0100 +++ new/ortp-5.2.30/src/nack.c 2023-02-23 16:15:38.000000000 +0100 @@ -18,6 +18,8 @@ * along with this program. If not, see <http://www.gnu.org/licenses/>. */ +#include <bctoolbox/defs.h> + #include "ortp/logging.h" #include "ortp/nack.h" @@ -101,7 +103,7 @@ return (int) msgdsize(msg); } -static int ortp_nack_rtp_process_on_receive(RtpTransportModifier *t, mblk_t *msg) { +static int ortp_nack_rtp_process_on_receive(BCTBX_UNUSED(RtpTransportModifier *t), mblk_t *msg) { return (int) msgdsize(msg); } @@ -156,7 +158,7 @@ return (int) msgdsize(msg); } -static int ortp_nack_rtcp_process_on_receive(RtpTransportModifier *t, mblk_t *msg) { +static int ortp_nack_rtcp_process_on_receive(BCTBX_UNUSED(RtpTransportModifier *t), mblk_t *msg) { return (int) msgdsize(msg); } diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/ortp-5.2.16/src/port.c new/ortp-5.2.30/src/port.c --- old/ortp-5.2.16/src/port.c 2022-12-20 15:30:27.000000000 +0100 +++ new/ortp-5.2.30/src/port.c 2023-02-23 16:15:38.000000000 +0100 @@ -415,6 +415,10 @@ #include <sys/timeb.h> #endif +#ifndef _MSC_VER +#pragma GCC diagnostic push +#pragma GCC diagnostic ignored "-Wunused-parameter" +#endif // _MSC_VER void _ortp_get_cur_time(ortpTimeSpec *ret, bool_t realtime){ #if defined(_WIN32_WCE) || defined(_WIN32) #if defined( ORTP_WINDOWS_DESKTOP ) && !defined(ENABLE_MICROSOFT_STORE_APP) && !defined(ORTP_WINDOWS_UWP) @@ -451,6 +455,9 @@ ret->tv_nsec=ts.tv_nsec; #endif } +#ifndef _MSC_VER +#pragma GCC diagnostic pop +#endif // _MSC_VER void ortp_get_cur_time(ortpTimeSpec *ret){ _ortp_get_cur_time(ret, FALSE); diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/ortp-5.2.16/src/rtcp.c new/ortp-5.2.30/src/rtcp.c --- old/ortp-5.2.16/src/rtcp.c 2022-12-20 15:30:27.000000000 +0100 +++ new/ortp-5.2.30/src/rtcp.c 2023-02-23 16:15:38.000000000 +0100 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2010-2022 Belledonne Communications SARL. + * Copyright (c) 2004-2022 Belledonne Communications SARL. * * This file is part of oRTP * (see https://gitlab.linphone.org/BC/public/ortp). @@ -25,6 +25,9 @@ * Copyright 2004 Simon Morlat * Email simon dot morlat at linphone dot org ****************************************************************************/ + +#include <bctoolbox/defs.h> + #ifdef HAVE_CONFIG_H #include "ortp-config.h" #endif @@ -196,7 +199,7 @@ flushq(q, 0); } -void rtcp_common_header_init(rtcp_common_header_t *ch, RtpSession *s,int type, int rc, size_t bytes_len){ +void rtcp_common_header_init(rtcp_common_header_t *ch, BCTBX_UNUSED(RtpSession *s), int type, int rc, size_t bytes_len){ rtcp_common_header_set_version(ch,2); rtcp_common_header_set_padbit(ch,0); rtcp_common_header_set_packet_type(ch,type); @@ -340,7 +343,7 @@ } } -static void extended_statistics( RtpSession *session, report_block_t * rb ) { +static void extended_statistics(RtpSession *session, BCTBX_UNUSED(report_block_t * rb) ) { /* the jitter raw value is kept in stream clock units */ uint32_t jitter = (uint32_t)session->rtp.jittctl.inter_jitter; session->stats.sent_rtcp_packets ++; diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/ortp-5.2.16/src/rtcp_xr.c new/ortp-5.2.30/src/rtcp_xr.c --- old/ortp-5.2.16/src/rtcp_xr.c 2022-12-20 15:30:27.000000000 +0100 +++ new/ortp-5.2.30/src/rtcp_xr.c 2023-02-23 16:15:38.000000000 +0100 @@ -18,6 +18,8 @@ * along with this program. If not, see <http://www.gnu.org/licenses/>. */ +#include <bctoolbox/defs.h> + #ifdef HAVE_CONFIG_H #include "ortp-config.h" #endif @@ -44,7 +46,7 @@ return sizeof(rtcp_xr_header_t); } -static int rtcp_xr_rcvr_rtt_init(uint8_t *buf, RtpSession *session) { +static int rtcp_xr_rcvr_rtt_init(uint8_t *buf, BCTBX_UNUSED(RtpSession *session)) { struct timeval tv; uint64_t ntp; rtcp_xr_rcvr_rtt_report_block_t *block = (rtcp_xr_rcvr_rtt_report_block_t *)buf; diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/ortp-5.2.16/src/rtpbundle.cc new/ortp-5.2.30/src/rtpbundle.cc --- old/ortp-5.2.16/src/rtpbundle.cc 2022-12-20 15:30:27.000000000 +0100 +++ new/ortp-5.2.30/src/rtpbundle.cc 2023-02-23 16:15:38.000000000 +0100 @@ -20,6 +20,8 @@ #include <algorithm> +#include <bctoolbox/defs.h> + #include "ortp/logging.h" #include "ortp/rtpsession.h" #include "rtpbundle.h" @@ -216,8 +218,8 @@ return false; } -static void getSsrcFromSdes(void *userData, uint32_t ssrc, rtcp_sdes_type_t t, const char *content, - uint8_t contentLen) { +static void getSsrcFromSdes(void *userData, uint32_t ssrc, rtcp_sdes_type_t t, BCTBX_UNUSED(const char *content), + BCTBX_UNUSED(uint8_t contentLen)) { uint32_t *value = (uint32_t *)userData; if (*value == 0 || t == RTCP_SDES_MID) { diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/ortp-5.2.16/src/rtpsession.c new/ortp-5.2.30/src/rtpsession.c --- old/ortp-5.2.16/src/rtpsession.c 2022-12-20 15:30:27.000000000 +0100 +++ new/ortp-5.2.30/src/rtpsession.c 2023-02-23 16:15:38.000000000 +0100 @@ -18,6 +18,7 @@ * along with this program. If not, see <http://www.gnu.org/licenses/>. */ +#include <bctoolbox/defs.h> #ifdef HAVE_CONFIG_H #include "ortp-config.h" @@ -2636,7 +2637,7 @@ return ret; } -static int _meta_rtp_transport_recv_through_modifiers(RtpTransport *t, RtpTransportModifier *tpm, mblk_t *msg, int flags){ +static int _meta_rtp_transport_recv_through_modifiers(RtpTransport *t, RtpTransportModifier *tpm, mblk_t *msg, BCTBX_UNUSED(int flags)){ int ret = 0; size_t prev_ret; bool_t foundMyself = tpm ? FALSE : TRUE; /*if no modifier, start from the beginning*/ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/ortp-5.2.16/src/rtpsession_inet.c new/ortp-5.2.30/src/rtpsession_inet.c --- old/ortp-5.2.16/src/rtpsession_inet.c 2022-12-20 15:30:27.000000000 +0100 +++ new/ortp-5.2.30/src/rtpsession_inet.c 2023-02-23 16:15:38.000000000 +0100 @@ -30,6 +30,7 @@ #ifdef HAVE_CONFIG_H #include "ortp-config.h" /*needed for HAVE_SYS_UIO_H and HAVE_ARC4RANDOM */ #endif +#include <bctoolbox/defs.h> #include <bctoolbox/port.h> #include "ortp/ortp.h" #include "ortp/str_utils.h" @@ -1265,7 +1266,7 @@ return is_rtp ? session->rtp.gs.socket : session->rtcp.gs.socket; } -int _ortp_sendto(ortp_socket_t sockfd, mblk_t *m, int flags, const struct sockaddr *destaddr, socklen_t destlen) { +int _ortp_sendto(ortp_socket_t sockfd, mblk_t *m, BCTBX_UNUSED(int flags), const struct sockaddr *destaddr, socklen_t destlen) { int sent_bytes; #if defined(_WIN32) || defined(_WIN32_WCE) || defined(USE_SENDMSG) sent_bytes = rtp_sendmsg(sockfd, m, destaddr, destlen); diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/ortp-5.2.16/src/str_utils.c new/ortp-5.2.30/src/str_utils.c --- old/ortp-5.2.16/src/str_utils.c 2022-12-20 15:30:27.000000000 +0100 +++ new/ortp-5.2.30/src/str_utils.c 2023-02-23 16:15:38.000000000 +0100 @@ -18,6 +18,8 @@ * along with this program. If not, see <http://www.gnu.org/licenses/>. */ +#include <bctoolbox/defs.h> + #ifdef HAVE_CONFIG_H #include "ortp-config.h" #endif @@ -56,7 +58,7 @@ return db->db_lim; } -mblk_t *allocb(size_t size, int pri) +mblk_t *allocb(size_t size, BCTBX_UNUSED(int pri)) { mblk_t *mp; dblk_t *datab; @@ -70,7 +72,7 @@ return mp; } -mblk_t *esballoc(uint8_t *buf, size_t size, int pri, void (*freefn)(void*) ) +mblk_t *esballoc(uint8_t *buf, size_t size, BCTBX_UNUSED(int pri), void (*freefn)(void*) ) { mblk_t *mp; dblk_t *datab; @@ -188,7 +190,7 @@ } /* remove and free all messages in the q */ -void flushq(queue_t *q, int how) +void flushq(queue_t *q, BCTBX_UNUSED(int how)) { mblk_t *mp; @@ -317,7 +319,7 @@ pa->max_blocks = max_blocks; } -static void msgb_allocator_free_db(void *unused){ +static void msgb_allocator_free_db(BCTBX_UNUSED(void *unused)){ } mblk_t *msgb_allocator_alloc(msgb_allocator_t *a, size_t size){ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/ortp-5.2.16/src/telephonyevents.c new/ortp-5.2.30/src/telephonyevents.c --- old/ortp-5.2.16/src/telephonyevents.c 2022-12-20 15:30:27.000000000 +0100 +++ new/ortp-5.2.30/src/telephonyevents.c 2023-02-23 16:15:38.000000000 +0100 @@ -17,6 +17,9 @@ * You should have received a copy of the GNU Affero General Public License * along with this program. If not, see <http://www.gnu.org/licenses/>. */ + +#include <bctoolbox/defs.h> + #ifdef HAVE_CONFIG_H #include "ortp-config.h" #endif @@ -159,7 +162,7 @@ mblk_t *mp=packet; telephone_event_t *event_hdr; - + (void)session; /* find the place where to add the new telephony event to the packet */ while(mp->b_cont!=NULL) mp=mp->b_cont; /* see if we need to allocate a new mblk_t */ ++++++ set_current_version.patch ++++++ --- ortp-5.2.30/CMakeLists.txt.orig 2023-03-08 08:55:48.341136679 +0100 +++ ortp-5.2.30/CMakeLists.txt 2023-03-08 08:55:51.105151462 +0100 @@ -28,7 +28,7 @@ cmake_policy(SET CMP0077 NEW) endif() -project(oRTP VERSION 5.2.0) +project(oRTP VERSION 5.2.30)
