summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'www-client/chromium/files/chromium-system-flac-r0.patch')
-rw-r--r--www-client/chromium/files/chromium-system-flac-r0.patch13
1 files changed, 13 insertions, 0 deletions
diff --git a/www-client/chromium/files/chromium-system-flac-r0.patch b/www-client/chromium/files/chromium-system-flac-r0.patch
new file mode 100644
index 000000000000..a7bc9bbaff5c
--- /dev/null
+++ b/www-client/chromium/files/chromium-system-flac-r0.patch
@@ -0,0 +1,13 @@
+--- third_party/flac/flac.h.orig 2011-01-22 14:23:20.000000000 +0000
++++ third_party/flac/flac.h 2011-01-22 14:24:34.000000000 +0000
+@@ -9,6 +9,10 @@
+ // This is a shim header to include the right flac headers.
+ // Use this instead of referencing the flac headers directly.
+
++#if defined(USE_SYSTEM_FLAC)
++#include <FLAC/stream_encoder.h>
++#else
+ #include "third_party/flac/include/FLAC/stream_encoder.h"
++#endif
+
+ #endif // THIRD_PARTY_FLAC_FLAC_H_