summaryrefslogtreecommitdiff
path: root/audio/audacity/files/patch-src_FFmpeg.h
diff options
context:
space:
mode:
authorRuslan Makhmatkhanov <rm@FreeBSD.org>2015-07-27 13:44:45 +0000
committerRuslan Makhmatkhanov <rm@FreeBSD.org>2015-07-27 13:44:45 +0000
commit78af363b061c56aac829289a1300aeaeac7adbdf (patch)
treea685004d1e740440c70d794c55d0bb3be653b997 /audio/audacity/files/patch-src_FFmpeg.h
parentDocument logstash SSL/TLS security vulnerability (FREAK attack) (diff)
audio/audacity: fix build with new ffmpeg
- add patch to fix build with ffmpeg 2.7 - add ffmpeg to LIB_DEPENDS to fix build in rare cases PR: 201589 Submitted by: Christian Heckendorf <heckendorfc@gmail.com> Approved by: xxjack12xx@gmail.com
Notes
Notes: svn path=/head/; revision=392979
Diffstat (limited to 'audio/audacity/files/patch-src_FFmpeg.h')
-rw-r--r--audio/audacity/files/patch-src_FFmpeg.h29
1 files changed, 29 insertions, 0 deletions
diff --git a/audio/audacity/files/patch-src_FFmpeg.h b/audio/audacity/files/patch-src_FFmpeg.h
new file mode 100644
index 000000000000..4b9caeaa6355
--- /dev/null
+++ b/audio/audacity/files/patch-src_FFmpeg.h
@@ -0,0 +1,29 @@
+--- src/FFmpeg.h.orig 2015-03-02 01:06:57 UTC
++++ src/FFmpeg.h
+@@ -688,7 +688,7 @@ extern "C" {
+ FFMPEG_FUNCTION_WITH_RETURN(
+ AVOutputFormat*,
+ av_oformat_next,
+- (AVOutputFormat *f),
++ (const AVOutputFormat *f),
+ (f)
+ );
+ FFMPEG_FUNCTION_WITH_RETURN(
+@@ -755,7 +755,7 @@ extern "C" {
+ FFMPEG_FUNCTION_WITH_RETURN(
+ int,
+ av_fifo_size,
+- (AVFifoBuffer *f),
++ (const AVFifoBuffer *f),
+ (f)
+ );
+ FFMPEG_FUNCTION_WITH_RETURN(
+@@ -801,7 +801,7 @@ extern "C" {
+ FFMPEG_FUNCTION_WITH_RETURN(
+ AVDictionaryEntry *,
+ av_dict_get,
+- (AVDictionary *m, const char *key, const AVDictionaryEntry *prev, int flags),
++ (const AVDictionary *m, const char *key, const AVDictionaryEntry *prev, int flags),
+ (m, key, prev, flags)
+ );
+ FFMPEG_FUNCTION_WITH_RETURN(