summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorwiz <wiz@pkgsrc.org>2013-06-15 22:59:10 +0000
committerwiz <wiz@pkgsrc.org>2013-06-15 22:59:10 +0000
commite4bde32e5d3db0cebea1e6e37a1f8b073a2948c5 (patch)
tree76f7df6cb609a1fb31e28b81fe2d29a56bf54665
parent5d34a9be79c84c3b09a6fcec9e909e4b4f2fba66 (diff)
downloadpkgsrc-e4bde32e5d3db0cebea1e6e37a1f8b073a2948c5.tar.gz
Fix build with current flac version.
Can't completely test this package since it doesn't build for me on 6.99.20/amd64 due to *locale*() issues.
-rw-r--r--multimedia/vlc/patches/patch-modules_codec_flac.c15
1 files changed, 15 insertions, 0 deletions
diff --git a/multimedia/vlc/patches/patch-modules_codec_flac.c b/multimedia/vlc/patches/patch-modules_codec_flac.c
new file mode 100644
index 00000000000..30e5df7f72f
--- /dev/null
+++ b/multimedia/vlc/patches/patch-modules_codec_flac.c
@@ -0,0 +1,15 @@
+$NetBSD: patch-modules_codec_flac.c,v 1.1 2013/06/15 22:59:10 wiz Exp $
+
+--- modules/codec/flac.c.orig 2011-07-12 18:11:24.000000000 +0000
++++ modules/codec/flac.c
+@@ -38,8 +38,8 @@
+ #include <vlc_codec.h>
+ #include <vlc_aout.h>
+
+-#include <stream_decoder.h>
+-#include <stream_encoder.h>
++#include <FLAC/stream_decoder.h>
++#include <FLAC/stream_encoder.h>
+
+ #include <vlc_block_helper.h>
+ #include <vlc_bits.h>