Commit d41685e7 authored by Francesco Colista's avatar Francesco Colista
Browse files

testing/mediastreamer2: upgrade to 4.4.19

parent f2061da1
# Contributor: Francesco Colista <fcolista@alpinelinux.org>
# Maintainer: Francesco Colista <fcolista@alpinelinux.org>
pkgname=mediastreamer2
pkgver=4.4.13
pkgver=4.4.19
pkgrel=0
pkgdesc="library written in C that allows you to create and run audio and video streams"
url="https://www.linphone.org/technical-corner/mediastreamer2/overview"
......@@ -15,7 +15,8 @@ makedepends="cmake gettext-dev ffmpeg-dev ortp-dev
alsa-lib-dev python3-dev gsm-dev sqlite-dev libxml2-dev
jpeg-dev libvpx-dev bzrtp-dev"
subpackages="$pkgname-dev"
source="https://gitlab.linphone.org/BC/public/mediastreamer2/-/archive/$pkgver/mediastreamer2-$pkgver.tar.gz"
source="https://gitlab.linphone.org/BC/public/mediastreamer2/-/archive/$pkgver/mediastreamer2-$pkgver.tar.gz
missing-def-o-binary.patch"
build() {
cmake -B build \
......@@ -52,4 +53,5 @@ dev() {
rmdir "$pkgdir"/usr/share/Mediastreamer2
}
sha512sums="07c8a271a9b28a5ed1f276984297da37ec444fc5dbff7457faf9550431f6eb03f9c54c69fb1bf7f7187a31473b466b8ada5b7b09aa852f8234115132ad8cb7d2 mediastreamer2-4.4.13.tar.gz"
sha512sums="8f20e567e350d3ea0ba6e0aba1645a4f96697eacdb440ac7d55b557d0ae06599e1e4ab25fa699cc81b9b42e19e66b1088886e8e2a6b0b1fe9dfbb5259be5767f mediastreamer2-4.4.19.tar.gz
d0158e03a7552580a9d9f04226c18a31a23d3cc502d52b51a9b083a5c32094ea7349495a7f74316eb727c2478a80b0385e1a28798b5b7d6e85e463485e33a822 missing-def-o-binary.patch"
diff --git a/src/otherfilters/mspcapfileplayer.c b/src/otherfilters/mspcapfileplayer.c
index 1337089..8841882 100644
--- a/src/otherfilters/mspcapfileplayer.c
+++ b/src/otherfilters/mspcapfileplayer.c
@@ -33,8 +33,9 @@
#include <fcntl.h>
#include <sys/types.h>
#include <sys/stat.h>
-
-
+#ifndef O_BINARY
+#define O_BINARY 0
+#endif
static int player_close(MSFilter *f, void *arg);
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment