[Lunar-commits] <moonbase-other> sox: Adding a patch to compile with ffmpeg-1.0.
stumbles
stumbles at lunar-linux.org
Sat Oct 13 15:18:54 CEST 2012
commit d4a9d09dca574877ff197c99e707368e3eed4556
Author: stumbles <stumbles at lunar-linux.org>
Date: Sat, 13 Oct 2012 06:18:54 -0700
URL: https://github.com/lunar-linux/moonbase-other/commit/d4a9d09dca574877ff197c99e707368e3eed4556
sox: Adding a patch to compile with ffmpeg-1.0.
---
audio/sox/BUILD | +5/-1
audio/sox/DETAILS | +3/-0
2 files changed, 8 insertions(+), 1 deletion(-)
--- a/audio/sox/BUILD
+++ b/audio/sox/BUILD
@@ -1,9 +1,13 @@
(
+ patch_it $SOURCE2 1 &&
+
+ sed -i "15i #include <libavutil/mathematics.h>" src/ffmpeg.h &&
+
sedit "s:ftello:ftell:g" src/vorbis.c &&
OPTS+=" --with-distro=Lunar-Linux" &&
- default_build
+ default_build
) > $C_FIFO 2>&1
--- a/audio/sox/DETAILS
+++ b/audio/sox/DETAILS
@@ -1,8 +1,11 @@
MODULE=sox
VERSION=14.4.0
SOURCE=$MODULE-$VERSION.tar.gz
+ SOURCE2=sox-ffmpeg-0.11-arch.patch
SOURCE_URL=$SFORGE_URL/$MODULE
+ SOURCE2_URL=$PATCH_URL
SOURCE_VFY=sha1:d809cab382c7a9d015491c69051a9d1c1a1a44f1
+ SOURCE2_VFY=sha1:6c860138bbceddf9df726c7891024bcc6b8fae55
WEB_SITE=http://sox.sourceforge.net
ENTERED=20010922
UPDATED=20120424
More information about the Lunar-commits
mailing list