Ticket #35177: mplayer2-appkit-fix-for-10.5.patch

File mplayer2-appkit-fix-for-10.5.patch, 1020 bytes (added by samuel.bateman@…, 12 years ago)
  • Portfile

    old new  
    6161
    6262universal_variant       no
    6363
     64patchfiles              patch-libvo-cocoa_common.m.diff
     65
    6466configure.cppflags-append \
    6567                        -I$prefix/include/freetype2
    6668
  • new file files/patch-libvo-cocoa_common.m.diff

    - +  
     1--- libvo/cocoa_common.m.orig   2012-07-24 10:48:30.000000000 -0500
     2+++ libvo/cocoa_common.m        2012-07-24 10:49:17.000000000 -0500
     3@@ -40,7 +40,11 @@
     4 #define NSLeftAlternateKeyMask (0x000020 | NSAlternateKeyMask)
     5 #define NSRightAlternateKeyMask (0x000040 | NSAlternateKeyMask)
     6 
     7+#if defined(MAC_OS_X_VERSION_10_6) && MAC_OS_X_VERSION_MAX_ALLOWED >= MAC_OS_X_VERSION_10_6
     8 @interface GLMPlayerWindow : NSWindow <NSWindowDelegate>
     9+#else
     10+@interface GLMPlayerWindow : NSWindow
     11+#endif
     12 - (BOOL) canBecomeKeyWindow;
     13 - (BOOL) canBecomeMainWindow;
     14 - (void) fullscreen;