summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorjstebbins <[email protected]>2010-10-23 18:29:11 +0000
committerjstebbins <[email protected]>2010-10-23 18:29:11 +0000
commit22f67e783214092fadd3a0b19c33774982cce43c (patch)
treef6f58f9ffb051e111b8b0a632e254e963e16f8f8
parent967f6d3c1d342262566878f3458fbeffd679c14b (diff)
patch mp4v2 so it builds under mingw64
mingw64 defines _DLL even when building static libs git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3617 b64f7644-9d1e-0410-96f1-a4d463321fa5
-rw-r--r--contrib/mp4v2/P00-mingw-dllimport.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/contrib/mp4v2/P00-mingw-dllimport.patch b/contrib/mp4v2/P00-mingw-dllimport.patch
new file mode 100644
index 000000000..5b7f1a300
--- /dev/null
+++ b/contrib/mp4v2/P00-mingw-dllimport.patch
@@ -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