aboutsummaryrefslogtreecommitdiff
path: root/libraries/libmp4v2/libmp4v2.SlackBuild
diff options
context:
space:
mode:
authorGary Langshaw <gary.langshaw@gmail.com>2021-08-20 07:06:03 +0200
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2021-08-21 20:54:08 +0700
commit6c3436d69fc6e9dfd0153f99abb4f8107424a232 (patch)
treea5af2c2bec124b412a9bab81313a50ca765c4be7 /libraries/libmp4v2/libmp4v2.SlackBuild
parentd9c895cb3b90d176ff6f6ae9aa1897d80109dc59 (diff)
libraries/libmp4v2: Use a safer patch.
Signed-off-by: Matteo Bernardini <ponce@slackbuilds.org> Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'libraries/libmp4v2/libmp4v2.SlackBuild')
-rw-r--r--libraries/libmp4v2/libmp4v2.SlackBuild6
1 files changed, 3 insertions, 3 deletions
diff --git a/libraries/libmp4v2/libmp4v2.SlackBuild b/libraries/libmp4v2/libmp4v2.SlackBuild
index 83ae87475d5e..fe7d7a62792c 100644
--- a/libraries/libmp4v2/libmp4v2.SlackBuild
+++ b/libraries/libmp4v2/libmp4v2.SlackBuild
@@ -38,7 +38,7 @@ cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=libmp4v2
VERSION=${VERSION:-20191108_9084868}
-BUILD=${BUILD:-1}
+BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
@@ -91,8 +91,8 @@ find -L . \
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
-# thanks to Gentoo!
-patch -p1 < $CWD/libmp4v2-2.0.0-unsigned-int-cast.patch
+# Fix gcc 'narrowing errors":
+patch -p1 < "$CWD/libmp4v2_gcc_narrowing.patch" || exit 1
autoreconf -vif