[arch-commits] Commit in mediastreamer/trunk (PKGBUILD fix-build.patch)

Antonio Rojas arojas at gemini.archlinux.org
Mon Aug 30 20:39:35 UTC 2021


    Date: Monday, August 30, 2021 @ 20:39:34
  Author: arojas
Revision: 1010079

Update to 5.0.11

Modified:
  mediastreamer/trunk/PKGBUILD
Deleted:
  mediastreamer/trunk/fix-build.patch

-----------------+
 PKGBUILD        |   12 +++---------
 fix-build.patch |   13 -------------
 2 files changed, 3 insertions(+), 22 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2021-08-30 20:37:37 UTC (rev 1010078)
+++ PKGBUILD	2021-08-30 20:39:34 UTC (rev 1010079)
@@ -5,7 +5,7 @@
 # Contributor: Mark Lee <mark at markelee.com>
 
 pkgname=mediastreamer
-pkgver=5.0.6
+pkgver=5.0.11
 pkgrel=1
 pkgdesc='A library written in C that allows you to create and run audio and video streams'
 arch=(x86_64)
@@ -13,16 +13,10 @@
 license=(GPL)
 depends=(ortp ffmpeg bzrtp glew libsrtp)
 makedepends=(cmake python bcunit doxygen)
-source=(https://github.com/BelledonneCommunications/mediastreamer2/archive/$pkgver/$pkgname-$pkgver.tar.gz
-        fix-build.patch)
-sha256sums=('c52986230b219d91d5590cf6a6c2a01262e5c9e056644021a0554383999b2c9a'
-            '6e421e02a302c408975e8e01580ae72f35f9e9d7dc043542eade38961cb8e4f9')
+source=(https://github.com/BelledonneCommunications/mediastreamer2/archive/$pkgver/$pkgname-$pkgver.tar.gz)
+sha256sums=('a07b6928037fd59fe0b2b2823990166f7b57c421c69ac98cbeda97653073d41e')
 validpgpkeys=('9774BC1725758EB16D639F8B3ECD52DEE2F56985')
 
-prepare() {
-  patch -d ${pkgname}2-$pkgver -p1 < fix-build.patch
-}
-
 build() {
   cmake -B build -S ${pkgname}2-$pkgver \
     -DCMAKE_INSTALL_PREFIX=/usr \

Deleted: fix-build.patch
===================================================================
--- fix-build.patch	2021-08-30 20:37:37 UTC (rev 1010078)
+++ fix-build.patch	2021-08-30 20:39:34 UTC (rev 1010079)
@@ -1,13 +0,0 @@
-diff --git a/src/crypto/ms_srtp.c b/src/crypto/ms_srtp.c
-index ef15d545..a33477d5 100644
---- a/src/crypto/ms_srtp.c
-+++ b/src/crypto/ms_srtp.c
-@@ -371,7 +371,7 @@ static int ms_add_srtp_stream(srtp_t srtp, MSCryptoSuite suite, uint32_t ssrc, c
- 	policy.key = (uint8_t *)key;
- 	policy.next = NULL;
- 
--	err = srtp_add_or_update_stream(srtp, &policy);
-+	err = srtp_add_stream(srtp, &policy);
- 	if (err != err_status_ok) {
- 		ms_error("Failed to add stream to srtp session (%d)", err);
- 		return -1;



More information about the arch-commits mailing list