aboutsummaryrefslogtreecommitdiff
path: root/multimedia/mediatomb/mediatomb.SlackBuild
diff options
context:
space:
mode:
authorHeinz Wiesinger <pprkut@slackbuilds.org>2012-08-19 20:12:02 +0200
committerHeinz Wiesinger <pprkut@slackbuilds.org>2012-08-20 11:36:31 +0200
commit18525f3f5722f601cc08a25637f33a4df1b1b652 (patch)
tree9c34d4198073f462ad130e3a148907f02736e2d8 /multimedia/mediatomb/mediatomb.SlackBuild
parentfe986531efeb8d59378b3775789d1aea3d306250 (diff)
multimedia/mediatomb: Fixed build with new ffmpeg
Signed-off-by: Heinz Wiesinger <pprkut@slackbuilds.org>
Diffstat (limited to 'multimedia/mediatomb/mediatomb.SlackBuild')
-rw-r--r--multimedia/mediatomb/mediatomb.SlackBuild9
1 files changed, 7 insertions, 2 deletions
diff --git a/multimedia/mediatomb/mediatomb.SlackBuild b/multimedia/mediatomb/mediatomb.SlackBuild
index 62fa78c034d46..2228164592c3c 100644
--- a/multimedia/mediatomb/mediatomb.SlackBuild
+++ b/multimedia/mediatomb/mediatomb.SlackBuild
@@ -2,7 +2,7 @@
# Slackware build script for mediatomb
-# Copyright 2010 Heinz Wiesinger, Amsterdam, The Netherlands
+# Copyright 2010-2012 Heinz Wiesinger, Amsterdam, The Netherlands
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -24,7 +24,7 @@
PRGNAM=mediatomb
VERSION=0.12.1
-BUILD=${BUILD:-2}
+BUILD=${BUILD:-3}
TAG=${TAG:-_SBo}
if [ -z "$ARCH" ]; then
@@ -79,6 +79,11 @@ chmod -R u+w,go+r-w,a-s .
# Fix building with newer ffmpeg releases
patch -p1 -i $CWD/libav_0.7_support.patch
+patch -p1 -i $CWD/libavformat.patch
+
+# Fix compiling with gcc 4.7
+patch -p1 -i $CWD/mediatomb-0.12.1-gcc46.patch
+patch -p1 -i $CWD/mediatomb-0.12.1-gcc47.patch
# We need LDFLAGS="-ldl" for proper sqlite detection
CFLAGS="$SLKCFLAGS" \