diff options
| author | Aubin Paul | 2014-03-25 08:14:48 -0400 |
|---|---|---|
| committer | Misty De Meo | 2014-03-30 14:31:59 -0700 |
| commit | f6e5c5c50e79dc90f32b255a1b58417c61441579 (patch) | |
| tree | c69652fedc0ed95ce9bcf4bbb6c3b450bab986f2 /Library/Formula | |
| parent | 353e12aca2c5b936d9b1495926a150f8a6e75733 (diff) | |
| download | homebrew-f6e5c5c50e79dc90f32b255a1b58417c61441579.tar.bz2 | |
mediainfo: fix build with clang 5.1
Small fix to fix compilation under current shipping XCode command-line
tools.
These changes are also applied upstream
(http://sourceforge.net/p/mediainfo/code/6167/) but have not made it
into a proper release yet.
Fixes #27393.
Closes #27851.
Signed-off-by: Misty De Meo <mistydemeo@gmail.com>
Diffstat (limited to 'Library/Formula')
| -rw-r--r-- | Library/Formula/media-info.rb | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/Library/Formula/media-info.rb b/Library/Formula/media-info.rb index 8ff2470c6..c1f3fc906 100644 --- a/Library/Formula/media-info.rb +++ b/Library/Formula/media-info.rb @@ -6,6 +6,10 @@ class MediaInfo < Formula version '0.7.67' sha1 'e5bfc3af8d3a0995785f1963c78ff9a6505e9626' + # Fixed upstream, will be in next release + # http://sourceforge.net/p/mediainfo/code/6167/ + patch :DATA + depends_on 'pkg-config' => :build # fails to build against Leopard's older libcurl depends_on 'curl' if MacOS.version < :snow_leopard @@ -33,3 +37,23 @@ class MediaInfo < Formula end end end + +__END__ +diff --git a/MediaInfoLib/Source/MediaInfo/Text/File_Ttml.h b/MediaInfoLib/Source/MediaInfo/Text/File_Ttml.h +index 554477c..46a4fec 100644 +--- a/MediaInfoLib/Source/MediaInfo/Text/File_Ttml.h ++++ b/MediaInfoLib/Source/MediaInfo/Text/File_Ttml.h +@@ -19,8 +19,11 @@ + #include "MediaInfo/File__Analyze.h"
+ //---------------------------------------------------------------------------
+
+-class tinyxml2::XMLDocument;
+-class tinyxml2::XMLElement;
++namespace tinyxml2
++{
++ class XMLDocument;
++ class XMLElement;
++}
+
+ namespace MediaInfoLib
+ {
|
