[MacPorts] #64655: libsdl2: find some version to use for Tiger and Leopard

MacPorts noreply at macports.org
Wed Mar 2 21:00:15 UTC 2022


#64655: libsdl2: find some version to use for Tiger and Leopard
---------------------------+------------------------------
  Reporter:  barracuda156  |      Owner:  (none)
      Type:  defect        |     Status:  new
  Priority:  Normal        |  Milestone:
 Component:  ports         |    Version:  2.7.1
Resolution:                |   Keywords:  powerpc, leopard
      Port:  libsdl2       |
---------------------------+------------------------------

Comment (by barracuda156):

 Replying to [comment:18 kencu]:
 > what I'm trying to say is there is nothing wrong with libsdl2.

 Unfortunately on Leopard I could not replicate what worked on 10A190 and
 10.6.8:


 {{{
 In file included from
 /opt/local/var/macports/build/_opt_PPCLeopardPorts_devel_libsdl2/libsdl2/work/SDL2-2.0.9/src/video/cocoa/SDL_cocoaevents.m:26:0:
 /opt/local/var/macports/build/_opt_PPCLeopardPorts_devel_libsdl2/libsdl2/work/SDL2-2.0.9/src/video/cocoa/SDL_cocoavideo.h:61:14:
 error: unknown type name 'NSEventMask'
  static const NSEventMask NSEventMaskAny = NSAnyEventMask;
               ^~~~~~~~~~~
 In file included from
 /opt/local/var/macports/build/_opt_PPCLeopardPorts_devel_libsdl2/libsdl2/work/SDL2-2.0.9/src/video/cocoa/SDL_cocoaclipboard.m:25:0:
 /opt/local/var/macports/build/_opt_PPCLeopardPorts_devel_libsdl2/libsdl2/work/SDL2-2.0.9/src/video/cocoa/SDL_cocoavideo.h:61:14:
 error: unknown type name 'NSEventMask'
  static const NSEventMask NSEventMaskAny = NSAnyEventMask;
               ^~~~~~~~~~~
 /opt/local/var/macports/build/_opt_PPCLeopardPorts_devel_libsdl2/libsdl2/work/SDL2-2.0.9/src/video/cocoa/SDL_cocoaclipboard.m:
 In function 'GetTextFormat':
 /opt/local/var/macports/build/_opt_PPCLeopardPorts_devel_libsdl2/libsdl2/work/SDL2-2.0.9/src/video/cocoa/SDL_cocoaclipboard.m:31:20:
 warning: unused variable 'data' [-Wunused-variable]
      SDL_VideoData *data = (SDL_VideoData *) _this->driverdata;
                     ^~~~
 /opt/local/var/macports/build/_opt_PPCLeopardPorts_devel_libsdl2/libsdl2/work/SDL2-2.0.9/src/video/cocoa/SDL_cocoaevents.m:125:1:
 error: cannot find protocol declaration for 'NSApplicationDelegate'
  @interface SDLAppDelegate : NSObject <NSApplicationDelegate> {
  ^
 }}}

-- 
Ticket URL: <https://trac.macports.org/ticket/64655#comment:23>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list