Git-Url: http://git.frugalware.org/gitweb/gitweb.cgi?p=multilib.git;a=commitdiff;h=86cb5fb7d79438f70e43244fe45357979a1da914
commit 86cb5fb7d79438f70e43244fe45357979a1da914 Author: crazy <cr...@frugalware.org> Date: Fri Feb 2 22:42:27 2018 +0100 libmp4v2-2.1.0-5-x86_64 * rebuild with tc * added gcc7 patch diff --git a/source/multimedia/libmp4v2/FrugalBuild b/source/multimedia/libmp4v2/FrugalBuild index 89728e6..56d0e64 100644 --- a/source/multimedia/libmp4v2/FrugalBuild +++ b/source/multimedia/libmp4v2/FrugalBuild @@ -5,9 +5,9 @@ _F_archive_name="mp4v2" pkgname=libmp4v2 pkgver=2.1.0 -pkgrel=4 +pkgrel=5 pkgdesc="A library for working with files using the mp4 container format. (extracted from mpeg4ip)." -depends=('libstdc++>=6.3.1-4') +depends=('libstdc++>=7.3.0-7') groups=('multimedia') archs=("x86_64") _F_github_author=Techsmith @@ -15,6 +15,8 @@ _F_github_name=mp4v2 _F_github_tag=y _F_cross32_simple_auto=yes Finclude github cross32 -sha1sums=('1b3b7cf279ce660feb36485e9fc161a647c672e5') +source+=('gcc7.patch') +sha1sums=('1b3b7cf279ce660feb36485e9fc161a647c672e5' \ + 'e322e4e0ec43537ef241640b0b691896f6bb4d8d') # optimization OK diff --git a/source/multimedia/libmp4v2/gcc7.patch b/source/multimedia/libmp4v2/gcc7.patch new file mode 100644 index 0000000..fbfae97 --- /dev/null +++ b/source/multimedia/libmp4v2/gcc7.patch @@ -0,0 +1,13 @@ +https://bugs.gentoo.org/show_bug.cgi?id=600892 + +--- mp4v2-2.0.0/src/rtphint.cpp 2012-05-20 16:11:53.000000000 -0600 ++++ /tmp/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); _______________________________________________ Frugalware-git mailing list Frugalware-git@frugalware.org http://frugalware.org/mailman/listinfo/frugalware-git