Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 11 Jan 2021 19:22:22 +0000 (UTC)
From:      Yuri Victorovich <yuri@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r561249 - in head/net-im/telegram-desktop: . files
Message-ID:  <202101111922.10BJMMtT025221@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: yuri
Date: Mon Jan 11 19:22:21 2021
New Revision: 561249
URL: https://svnweb.freebsd.org/changeset/ports/561249

Log:
  net-im/telegram-desktop: Fix the build failure caused by net/libusrsctp update
  
  libusrsctp significantly changed API without bumping SONAME.
  
  The upstream is notified.
  
  PR:		252581
  Submitted by:	madpilot

Modified:
  head/net-im/telegram-desktop/Makefile
  head/net-im/telegram-desktop/files/patch-tg__owt_src_media_sctp_sctp__transport.cc

Modified: head/net-im/telegram-desktop/Makefile
==============================================================================
--- head/net-im/telegram-desktop/Makefile	Mon Jan 11 19:00:18 2021	(r561248)
+++ head/net-im/telegram-desktop/Makefile	Mon Jan 11 19:22:21 2021	(r561249)
@@ -2,6 +2,7 @@
 
 PORTNAME=	telegram-desktop
 DISTVERSION=	2.4.4
+PORTREVISION=	1
 CATEGORIES=	net-im
 MASTER_SITES=	https://github.com/${GH_ACCOUNT}/${GH_PROJECT}/releases/download/v${DISTVERSION}/
 DISTNAME=	tdesktop-${DISTVERSION}-full

Modified: head/net-im/telegram-desktop/files/patch-tg__owt_src_media_sctp_sctp__transport.cc
==============================================================================
--- head/net-im/telegram-desktop/files/patch-tg__owt_src_media_sctp_sctp__transport.cc	Mon Jan 11 19:00:18 2021	(r561248)
+++ head/net-im/telegram-desktop/files/patch-tg__owt_src_media_sctp_sctp__transport.cc	Mon Jan 11 19:22:21 2021	(r561249)
@@ -1,6 +1,6 @@
---- tg_owt/src/media/sctp/sctp_transport.cc.orig	2020-08-30 09:41:57 UTC
+--- tg_owt/src/media/sctp/sctp_transport.cc.orig	2020-10-07 14:11:02 UTC
 +++ tg_owt/src/media/sctp/sctp_transport.cc
-@@ -43,7 +43,7 @@ enum PreservedErrno {
+@@ -43,7 +43,7 @@
  #include "rtc_base/thread_annotations.h"
  #include "rtc_base/thread_checker.h"
  #include "rtc_base/trace_event.h"
@@ -9,3 +9,12 @@
  
  namespace {
  
+@@ -470,7 +470,7 @@
+     return transport;
+   }
+ 
+-  static int SendThresholdCallback(struct socket* sock, uint32_t sb_free) {
++  static int SendThresholdCallback(struct socket* sock, uint32_t sb_free, void *ulp_info) {
+     // Fired on our I/O thread. SctpTransport::OnPacketReceived() gets
+     // a packet containing acknowledgments, which goes into usrsctp_conninput,
+     // and then back here.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202101111922.10BJMMtT025221>