OSDN Git Service

patch mp4v2 so it builds under mingw64
authorjstebbins <jstebbins@b64f7644-9d1e-0410-96f1-a4d463321fa5>
Sat, 23 Oct 2010 18:29:11 +0000 (18:29 +0000)
committerjstebbins <jstebbins@b64f7644-9d1e-0410-96f1-a4d463321fa5>
Sat, 23 Oct 2010 18:29:11 +0000 (18:29 +0000)
mingw64 defines _DLL even when building static libs

git-svn-id: svn://localhost/HandBrake/trunk@3617 b64f7644-9d1e-0410-96f1-a4d463321fa5

contrib/mp4v2/P00-mingw-dllimport.patch [new file with mode: 0644]

diff --git a/contrib/mp4v2/P00-mingw-dllimport.patch b/contrib/mp4v2/P00-mingw-dllimport.patch
new file mode 100644 (file)
index 0000000..5b7f1a3
--- /dev/null
@@ -0,0 +1,11 @@
+--- mp4v2-trunk-r355/include/mp4v2/platform.h  2009-05-20 19:52:26.000000000 -0700
++++ xxx/include/mp4v2/platform.h       2010-09-11 09:36:20.881523832 -0700
+@@ -24,7 +24,7 @@
+ #if defined( _WIN32 ) || defined( __MINGW32__ )
+ #   if defined( _WINDLL ) || defined( DLL_EXPORT )
+ #       define MP4V2_EXPORT __declspec(dllexport)
+-#   elif defined( _DLL ) || defined( DLL_IMPORT ) 
++#   elif defined( DLL_IMPORT ) 
+ #       define MP4V2_EXPORT __declspec(dllimport)
+ #   else
+ #       define MP4V2_EXPORT