From 3aeafb6ad6abb6de97a21855b649f6c5fe79db1d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C4=90o=C3=A0n=20Tr=E1=BA=A7n=20C=C3=B4ng=20Danh?= Date: Sat, 19 Jun 2021 12:13:12 +0700 Subject: [PATCH] mediastreamer: normalise patches --- srcpkgs/mediastreamer/patches/MS2_GIT_VERSION.patch | 4 ++-- srcpkgs/mediastreamer/template | 1 + 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/srcpkgs/mediastreamer/patches/MS2_GIT_VERSION.patch b/srcpkgs/mediastreamer/patches/MS2_GIT_VERSION.patch index 447763b7052..4cbe5c45dd8 100644 --- a/srcpkgs/mediastreamer/patches/MS2_GIT_VERSION.patch +++ b/srcpkgs/mediastreamer/patches/MS2_GIT_VERSION.patch @@ -1,5 +1,5 @@ ---- ms.c 2017-08-23 16:55:57.967109716 +0200 -+++ src/base/msfactory.c 2017-08-23 16:56:36.391111180 +0200 +--- a/src/base/msfactory.c 2017-08-23 16:55:57.967109716 +0200 ++++ b/src/base/msfactory.c 2017-08-23 16:56:36.391111180 +0200 @@ -28,6 +28,9 @@ # define MS2_GIT_VERSION "unknown" # endif diff --git a/srcpkgs/mediastreamer/template b/srcpkgs/mediastreamer/template index 884237ddf43..dbf424d9c76 100644 --- a/srcpkgs/mediastreamer/template +++ b/srcpkgs/mediastreamer/template @@ -15,6 +15,7 @@ license="GPL-2.0-or-later" homepage="https://www.linphone.org/technical-corner/mediastreamer2" distfiles="https://gitlab.linphone.org/BC/public/mediastreamer2/-/archive/${version}/mediastreamer2-${version}.tar.gz" checksum=4f67262621a93349651cfb0b51a2157623bf7758126d070e1c122bff58c7d5b4 +patch_args=-Np1 mediastreamer-devel_package() { depends="${sourcepkg}>=${version}_${revision}"