openbsd-ports/audio/p5-gnupod/patches/patch-src_gnupod_convert_FLAC_pl
sthen 89bd457672 fixes from Brad;
- Missing dependencies.
- Using wrong commandline options for modern FFmpeg.
- ImageMagick check broken since it wasn't checking the
  correct return code.
2011-06-01 00:04:16 +00:00

13 lines
463 B
Plaintext

$OpenBSD: patch-src_gnupod_convert_FLAC_pl,v 1.1 2011/06/01 00:04:16 sthen Exp $
--- src/gnupod_convert_FLAC.pl.orig Mon May 30 12:05:46 2011
+++ src/gnupod_convert_FLAC.pl Mon May 30 12:06:44 2011
@@ -122,7 +122,7 @@ else {
# Check if ffmpeg knows how to encode 'alac'
sub check_ffmpeg_alac {
my @alac_support = grep(/\s+DEA\s+alac/,split(/\n/,
- `ffmpeg -formats 2> /dev/null`));
+ `ffmpeg -codecs 2> /dev/null`));
return (defined(@alac_support));
}