diff options
Diffstat (limited to 'multimedia/mediatomb/mediatomb.SlackBuild')
-rw-r--r-- | multimedia/mediatomb/mediatomb.SlackBuild | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/multimedia/mediatomb/mediatomb.SlackBuild b/multimedia/mediatomb/mediatomb.SlackBuild index 62fa78c034..2228164592 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" \ |