aboutsummaryrefslogtreecommitdiff
path: root/multimedia/kodi/kodi.SlackBuild
diff options
context:
space:
mode:
authorJeremy Hansen <jebrhansen+github@gmail.com>2022-10-16 18:03:08 -0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2022-10-17 09:41:21 +0700
commit63ccc136a6e062a053e1cc6ba133a794f22de63f (patch)
tree9dbc841c7755d064348b6d00f1e78ea989c1eac9 /multimedia/kodi/kodi.SlackBuild
parentb870794ad6f29e08b3eede33ac6b0536dad868d9 (diff)
multimedia/kodi: Add patch to fix building w/ newer fmt versions
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'multimedia/kodi/kodi.SlackBuild')
-rw-r--r--multimedia/kodi/kodi.SlackBuild7
1 files changed, 5 insertions, 2 deletions
diff --git a/multimedia/kodi/kodi.SlackBuild b/multimedia/kodi/kodi.SlackBuild
index 4adeffbe6296a..e810615f3c100 100644
--- a/multimedia/kodi/kodi.SlackBuild
+++ b/multimedia/kodi/kodi.SlackBuild
@@ -29,7 +29,7 @@ PRGNAM=kodi
SRCNAM=xbmc
CODNAM=Matrix
VERSION=${VERSION:-19.4}
-BUILD=${BUILD:-1}
+BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
@@ -78,10 +78,13 @@ find -L . \
-o -perm 511 \) -exec chmod 755 {} \; -o \
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
+# Patch to fix compliation with newer fmt versions
+# Thanks to gentoo for the patch and Steven Voges for the heads up
+patch -p1 < $CWD/kodi-19.4-fmt-9.patch
# Autodetection of "optional" dependencies sucks. It does not work and
# compilation will fail on each of these if not explicitly disabled.
-# Figured I'd mplemented my own autodetection instead of requiring
+# Figured I'd implement my own autodetection instead of requiring
# passing a bunch of annoying flags :)
if pkg-config --exists avahi-core ; then AVAHI=ON; else AVAHI=OFF; fi
if pkg-config --exists cwiid ; then CWIID=ON; else CWIID=OFF; fi