[MacPorts] #66674: xine-lib: build fails on macOS 13

MacPorts noreply at macports.org
Thu Jan 12 08:17:45 UTC 2023


#66674: xine-lib: build fails on macOS 13
--------------------------+----------------------
 Reporter:  ShadSterling  |      Owner:  (none)
     Type:  defect        |     Status:  new
 Priority:  Normal        |  Milestone:
Component:  ports         |    Version:  2.8.0
 Keywords:  ventura       |       Port:  xine-lib
--------------------------+----------------------
 Tried to reinstall `xine-ui` after #36366 was closed, dependency `xine-
 lib` fails on missing members of `struct Dav1dSettings`:
 {{{
 :info:build dav1d.c:547:12: error: no member named 'n_frame_threads' in
 'struct Dav1dSettings'
 :info:build   settings.n_frame_threads = (ncpu > 8) ? 4 : (ncpu < 2) ? 1 :
 ncpu/2;
 :info:build   ~~~~~~~~ ^
 :info:build dav1d.c:548:12: error: no member named 'n_tile_threads' in
 'struct Dav1dSettings'
 :info:build   settings.n_tile_threads = MAX(1, ncpu -
 settings.n_frame_threads + 1);
 :info:build   ~~~~~~~~ ^
 :info:build dav1d.c:548:52: error: no member named 'n_frame_threads' in
 'struct Dav1dSettings'
 :info:build   settings.n_tile_threads = MAX(1, ncpu -
 settings.n_frame_threads + 1);
 :info:build                                           ~~~~~~~~ ^
 :info:build
 /Library/Developer/CommandLineTools/SDKs/MacOSX13.sdk/usr/include/sys/param.h:218:26:
 note: expanded from macro 'MAX'
 :info:build #define MAX(a, b) (((a)>(b))?(a):(b))
 :info:build                          ^
 :info:build dav1d.c:548:52: error: no member named 'n_frame_threads' in
 'struct Dav1dSettings'
 :info:build   settings.n_tile_threads = MAX(1, ncpu -
 settings.n_frame_threads + 1);
 :info:build                                           ~~~~~~~~ ^
 :info:build
 /Library/Developer/CommandLineTools/SDKs/MacOSX13.sdk/usr/include/sys/param.h:218:35:
 note: expanded from macro 'MAX'
 :info:build #define MAX(a, b) (((a)>(b))?(a):(b))
 :info:build                                   ^
 :info:build dav1d.c:551:22: error: no member named 'n_frame_threads' in
 'struct Dav1dSettings'
 :info:build             settings.n_frame_threads,
 settings.n_tile_threads);
 :info:build             ~~~~~~~~ ^
 :info:build ../../include/xine/xineutils.h:687:40: note: expanded from
 macro 'xprintf'
 :info:build         xine_log(xine, XINE_LOG_TRACE, __VA_ARGS__);
 \
 :info:build                                        ^~~~~~~~~~~
 :info:build dav1d.c:551:48: error: no member named 'n_tile_threads' in
 'struct Dav1dSettings'
 :info:build             settings.n_frame_threads,
 settings.n_tile_threads);
 :info:build                                       ~~~~~~~~ ^
 :info:build ../../include/xine/xineutils.h:687:40: note: expanded from
 macro 'xprintf'
 :info:build         xine_log(xine, XINE_LOG_TRACE, __VA_ARGS__);
 \
 :info:build                                        ^~~~~~~~~~~
 :info:build 4 warnings and 6 errors generated.
 }}}

-- 
Ticket URL: <https://trac.macports.org/ticket/66674>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list