summaryrefslogtreecommitdiff
path: root/libraries/libmp4v2/libmp4v2.SlackBuild
diff options
context:
space:
mode:
authorGiancarlo Dessì <gian@giand.it>2020-12-16 18:36:31 +0100
committerRobby Workman <rworkman@slackbuilds.org>2021-04-17 23:39:41 -0500
commit50227a6238b7905b712f724b2deaaca6830f7415 (patch)
treec145057281fcb7b0923ae71b55ea4e3e6c2577f9 /libraries/libmp4v2/libmp4v2.SlackBuild
parent77439b677a6d6a900b9e06d36f659753de229dd5 (diff)
downloadslackbuilds-50227a6238b7905b712f724b2deaaca6830f7415.tar.gz
libraries/libmp4v2: Patch for gcc >= 10.x.
Signed-off-by: Matteo Bernardini <ponce@slackbuilds.org>
Diffstat (limited to 'libraries/libmp4v2/libmp4v2.SlackBuild')
-rw-r--r--libraries/libmp4v2/libmp4v2.SlackBuild3
1 files changed, 3 insertions, 0 deletions
diff --git a/libraries/libmp4v2/libmp4v2.SlackBuild b/libraries/libmp4v2/libmp4v2.SlackBuild
index a7e1eb8c40..28d9fe3a22 100644
--- a/libraries/libmp4v2/libmp4v2.SlackBuild
+++ b/libraries/libmp4v2/libmp4v2.SlackBuild
@@ -81,6 +81,9 @@ 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
+
autoreconf -vif
CFLAGS="$SLKCFLAGS" \