[arch-commits] Commit in libmp4v2/trunk (PKGBUILD libmp4v2-c++11.patch)

Antonio Rojas arojas at archlinux.org
Sun May 2 08:25:02 UTC 2021


    Date: Sunday, May 2, 2021 @ 08:25:01
  Author: arojas
Revision: 414154

Update to 4.1.6

Modified:
  libmp4v2/trunk/PKGBUILD
Deleted:
  libmp4v2/trunk/libmp4v2-c++11.patch

----------------------+
 PKGBUILD             |   13 +++----------
 libmp4v2-c++11.patch |   11 -----------
 2 files changed, 3 insertions(+), 21 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2021-05-02 08:01:15 UTC (rev 414153)
+++ PKGBUILD	2021-05-02 08:25:01 UTC (rev 414154)
@@ -3,7 +3,7 @@
 # Contributor: Jan de Groot <jgc at archlinux.org>
 
 pkgname=libmp4v2
-pkgver=4.1.4
+pkgver=4.1.6
 pkgrel=1
 pkgdesc="An API to create and modify mp4 files as defined by ISO-IEC:14496-1:2001 MPEG-4 Systems"
 arch=('x86_64')
@@ -10,16 +10,9 @@
 license=('MPL')
 url="https://github.com/TechSmith/mp4v2"
 depends=('gcc-libs')
-source=("https://github.com/TechSmith/mp4v2/archive/Release-ThirdParty-MP4v2-$pkgver.tar.gz"
-        libmp4v2-c++11.patch)
-sha512sums=('1f25ddb702dfc4095200f9f1812bca3e2c6da88358f4f01c5e1e83426a31373b510079d5b1a863efbaee98ddba4b2c8d762d6e56cfa11521fc50c0f46feadab3'
-            '1b1bd1aceef9294f028227adbe387001b7282bd35e8a952deed5a5fc00646285c49c6d871274e264e9b8ba112bba955dbe9d12031a9282e09e1924e1042642df')
+source=("https://github.com/TechSmith/mp4v2/archive/Release-ThirdParty-MP4v2-$pkgver.tar.gz")
+sha512sums=('91f5183d38c9d7fd754ba4b5e149b00600d5b6cb8da063667e5c3a6c8edb4e5efc919d6c4381acd6e011ef56dce3f722a78c51b984066f5c0cc54aae735f3611')
 
-prepare() {
-  cd mp4v2-Release-ThirdParty-MP4v2-$pkgver
-  patch -p0 -i ../libmp4v2-c++11.patch # Fix build with C++11
-}
-
 build() {
   cd mp4v2-Release-ThirdParty-MP4v2-$pkgver
 

Deleted: libmp4v2-c++11.patch
===================================================================
--- libmp4v2-c++11.patch	2021-05-02 08:01:15 UTC (rev 414153)
+++ libmp4v2-c++11.patch	2021-05-02 08:25:01 UTC (rev 414154)
@@ -1,11 +0,0 @@
---- src/rtphint.cpp	2012-05-20 16:11:53.000000000 -0600
-+++ src/rtphint.cpp	2017-05-16 10:25:26.930705191 -0600
-@@ -339,7 +339,7 @@
-                 pSlash = strchr(pSlash, '/');
-                 if (pSlash != NULL) {
-                     pSlash++;
--                    if (pSlash != '\0') {
-+                    if (*pSlash != '\0') {
-                         length = (uint32_t)strlen(pRtpMap) - (pSlash - pRtpMap);
-                         *ppEncodingParams = (char *)MP4Calloc(length + 1);
-                         strncpy(*ppEncodingParams, pSlash, length);



More information about the arch-commits mailing list