Ticket #35177: mplayer2-vo_corevideo-x11-naming-conflict.patch

File mplayer2-vo_corevideo-x11-naming-conflict.patch, 880 bytes (added by neverpanic (Clemens Lang), 12 years ago)

Patch against $(port dir mplayer2)

  • files/patch-libvo-vo_corevideo.m.diff

     
     1--- libvo/vo_corevideo.m.orig   2012-07-20 00:29:48.000000000 +0200
     2+++ libvo/vo_corevideo.m        2012-07-20 00:30:03.000000000 +0200
     3@@ -19,6 +19,8 @@
     4  * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
     5  */
     6 
     7+#define NO_X11_INCLUDES
     8+
     9 #import "vo_corevideo.h"
     10 
     11 // mplayer includes
  • Portfile

     
    6464
    6565universal_variant       no
    6666
     67patchfiles              patch-libvo-vo_corevideo.m.diff
     68
    6769configure.cppflags-append \
    6870                        -I$prefix/include/freetype2
    6971