From 6107d94b253f024101967408d53c5c67ab56423d Mon Sep 17 00:00:00 2001 From: Heinz Wiesinger Date: Wed, 16 Jun 2010 14:05:22 -0500 Subject: multimedia/transcode: Patched to eliminate libjpeg segault. Thanks to Niels Horn for the patch. Signed-off-by: Erik Hanson --- multimedia/transcode/transcode.SlackBuild | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) (limited to 'multimedia/transcode/transcode.SlackBuild') diff --git a/multimedia/transcode/transcode.SlackBuild b/multimedia/transcode/transcode.SlackBuild index 0afa4316a2..569f679ad5 100644 --- a/multimedia/transcode/transcode.SlackBuild +++ b/multimedia/transcode/transcode.SlackBuild @@ -2,7 +2,7 @@ # Slackware build script for transcode -# Copyright 2008-2009 Heinz Wiesinger, Amsterdam, The Netherlands +# Copyright 2008-2010 Heinz Wiesinger, Amsterdam, The Netherlands # All rights reserved. # # Redistribution and use of this script, with or without modification, is @@ -24,15 +24,13 @@ PRGNAM=transcode VERSION=1.1.5 -BUILD=${BUILD:-1} +BUILD=${BUILD:-2} TAG=${TAG:-_SBo} -# Automatically determine the architecture we're building on: if [ -z "$ARCH" ]; then case "$( uname -m )" in i?86) ARCH=i486 ;; arm*) ARCH=arm ;; - # Unless $ARCH is already set, use uname -m for all other archs: *) ARCH=$( uname -m ) ;; esac fi @@ -71,6 +69,9 @@ find . \ \( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \ -exec chmod 644 {} \; +# Fix an issue with newer libjpeg versions. Thanks to Niels Horn for the patch :) +patch -p1 -i $CWD/transcode-jpeg8.patch + CFLAGS="$SLKCFLAGS" \ CXXFLAGS="$SLKCFLAGS" \ ./configure \ @@ -83,7 +84,7 @@ CXXFLAGS="$SLKCFLAGS" \ --enable-netstream \ --enable-alsa \ --enable-v4l \ - --enable-libv4l2=${LIBV4L:-no} \ + --enable-libv4l2=${LIBV4L:-yes} \ --enable-libv4lconvert=${LIBV4L:-yes} \ --enable-libmpeg2=${LIBMPEG2:-no} \ --enable-libmpeg2convert=${LIBMPEG2:-no} \ -- cgit v1.2.3