aboutsummaryrefslogtreecommitdiff
path: root/media/video/cinelerra/cinelerra.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'media/video/cinelerra/cinelerra.SlackBuild')
-rwxr-xr-xmedia/video/cinelerra/cinelerra.SlackBuild4
1 files changed, 3 insertions, 1 deletions
diff --git a/media/video/cinelerra/cinelerra.SlackBuild b/media/video/cinelerra/cinelerra.SlackBuild
index 05763bbe..2f192433 100755
--- a/media/video/cinelerra/cinelerra.SlackBuild
+++ b/media/video/cinelerra/cinelerra.SlackBuild
@@ -77,7 +77,9 @@ cd $SRC_DIR/cinelerra
VERSION=r"`svnversion cinelerra`"
# glibc 2.5 work-around!!!
-patch -p0 < $CWD/$PACKAGE.diff || exit $ERROR_PATCH
+if [ -f "$CWD/$PACKAGE-$VERSION.diff" ]; then
+ patch -p0 < $CWD/$PACKAGE.diff || exit $ERROR_PATCH
+fi
if [ "$ARCH" == "i586" ] || [ "$ARCH" == "i686" ]; then
EXTRA_ACFLAGS=" --enable-mmx"