aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormat <mat@FreeBSD.org>2016-03-02 22:40:24 +0800
committermat <mat@FreeBSD.org>2016-03-02 22:40:24 +0800
commitddb2d9a09c7ea95a07204f5cd39c2192595d7fce (patch)
tree6e24182a45ad96a79e766bbbf6f63d9b96de713c
parentc73c622e1416861881c0eabe89b566579262beb6 (diff)
downloadfreebsd-ports-gnome-ddb2d9a09c7ea95a07204f5cd39c2192595d7fce.tar.gz
freebsd-ports-gnome-ddb2d9a09c7ea95a07204f5cd39c2192595d7fce.tar.zst
freebsd-ports-gnome-ddb2d9a09c7ea95a07204f5cd39c2192595d7fce.zip
Add patch forgotten in the previous commit.
Sponsored by: Absolight Differential Revision:
-rw-r--r--multimedia/kodi/files/patch-tools__depends__target__ffmpeg__autobuild.sh19
1 files changed, 10 insertions, 9 deletions
diff --git a/multimedia/kodi/files/patch-tools__depends__target__ffmpeg__autobuild.sh b/multimedia/kodi/files/patch-tools__depends__target__ffmpeg__autobuild.sh
index fbebea09a131..2254fb696b01 100644
--- a/multimedia/kodi/files/patch-tools__depends__target__ffmpeg__autobuild.sh
+++ b/multimedia/kodi/files/patch-tools__depends__target__ffmpeg__autobuild.sh
@@ -1,4 +1,4 @@
---- tools/depends/target/ffmpeg/autobuild.sh.orig 2015-03-31 16:37:07 UTC
+--- tools/depends/target/ffmpeg/autobuild.sh.orig 2015-08-16 14:37:32 UTC
+++ tools/depends/target/ffmpeg/autobuild.sh
@@ -1,4 +1,4 @@
-#!/bin/bash
@@ -6,7 +6,7 @@
#
# Copyright (C) 2005-2013 Team XBMC
# http://xbmc.org
-@@ -27,7 +27,8 @@
+@@ -27,7 +27,8 @@ BASE_URL=$(grep "BASE_URL=" FFMPEG-VERSI
VERSION=$(grep "VERSION=" FFMPEG-VERSION | sed 's/VERSION=//g')
ARCHIVE=ffmpeg-${VERSION}.tar.gz
@@ -16,7 +16,7 @@
echo "usage $(basename $0)
[-p | --prefix] ... ffmepg install prefix
[-d | --download] ... no build, download tarfile only
-@@ -82,6 +83,14 @@
+@@ -82,6 +83,14 @@ do
FLAGS="$FLAGS --extra-cxxflags=\"${1#*=}\""
shift
;;
@@ -31,7 +31,7 @@
-j)
BUILDTHREADS=$2
shift 2
-@@ -100,7 +109,7 @@
+@@ -100,7 +109,7 @@ do
esac
done
@@ -40,7 +40,7 @@
[ ${BUILDTHREADS} -eq 0 ] && BUILDTHREADS=1
[ -z ${VERSION} ] && exit 3
-@@ -110,10 +119,10 @@
+@@ -110,10 +119,10 @@ then
[ "$VERSION" == "$CURVER" ] && exit 0
fi
@@ -53,19 +53,20 @@
if [ -d ${FFMPEG_PREFIX} ]
then
[ -w ${FFMPEG_PREFIX} ] || SUDO="sudo"
-@@ -121,9 +130,9 @@
+@@ -121,9 +130,9 @@ else
[ -w $(dirname ${FFMPEG_PREFIX}) ] || SUDO="sudo"
fi
-mkdir ffmpeg-${VERSION}
-+#mkdir ffmpeg-${VERSION}
- cd ffmpeg-${VERSION} || exit 2
+-cd ffmpeg-${VERSION} || exit 2
-tar --strip-components=1 -xf ../${ARCHIVE}
++#mkdir ffmpeg-${VERSION}
++cd FFmpeg-${VERSION} || exit 2
+#tar --strip-components=1 -xf ../${ARCHIVE}
CFLAGS="$CFLAGS" CXXFLAGS="$CXXFLAGS" LDFLAGS="$LDFLAGS" \
./configure --prefix=$FFMPEG_PREFIX \
-@@ -161,11 +170,11 @@
+@@ -161,11 +170,11 @@ CFLAGS="$CFLAGS" CXXFLAGS="$CXXFLAGS" LD
--disable-mipsdspr2 \
${FLAGS}