[102887] trunk/dports/multimedia/MPlayer/files/llvm-gcc-workaround.patch

larryv at macports.org larryv at macports.org
Sat Feb 9 22:17:46 PST 2013


Revision: 102887
          https://trac.macports.org/changeset/102887
Author:   larryv at macports.org
Date:     2013-02-09 22:17:46 -0800 (Sat, 09 Feb 2013)
Log Message:
-----------
MPlayer: Copy over missing llvm-gcc workaround from mplayer-devel.

Added Paths:
-----------
    trunk/dports/multimedia/MPlayer/files/llvm-gcc-workaround.patch

Copied: trunk/dports/multimedia/MPlayer/files/llvm-gcc-workaround.patch (from rev 102886, trunk/dports/multimedia/mplayer-devel/files/llvm-gcc-workaround.patch)
===================================================================
--- trunk/dports/multimedia/MPlayer/files/llvm-gcc-workaround.patch	                        (rev 0)
+++ trunk/dports/multimedia/MPlayer/files/llvm-gcc-workaround.patch	2013-02-10 06:17:46 UTC (rev 102887)
@@ -0,0 +1,11 @@
+--- ffmpeg/libavutil/mem.h.orig	2011-06-24 12:09:36.000000000 -0700
++++ ffmpeg/libavutil/mem.h	2011-06-24 12:10:06.000000000 -0700
+@@ -41,7 +41,7 @@
+         static const t __attribute__((aligned(n))) v
+ #elif defined(__GNUC__)
+     #define DECLARE_ALIGNED(n,t,v)      t __attribute__ ((aligned (n))) v
+-    #define DECLARE_ASM_CONST(n,t,v)    static const t av_used __attribute__ ((aligned (n))) v
++    #define DECLARE_ASM_CONST(n,t,v)    __private_extern__ const t av_used __attribute__ ((aligned (n))) v
+ #elif defined(_MSC_VER)
+     #define DECLARE_ALIGNED(n,t,v)      __declspec(align(n)) t v
+     #define DECLARE_ASM_CONST(n,t,v)    __declspec(align(n)) static const t v


Property changes on: trunk/dports/multimedia/MPlayer/files/llvm-gcc-workaround.patch
___________________________________________________________________
Added: svn:mergeinfo
   + /branches/mld-qt-481/dports/multimedia/mplayer-devel/files/llvm-gcc-workaround.patch:92720,92813,92891,92963,93522,93556,93699,93743,93771-93773,93806,93817-93818,93856
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20130209/7a37634a/attachment.html>


More information about the macports-changes mailing list