diff -ruN xine-lib-1.2.11-orig/configure.ac xine-lib-1.2.11/configure.ac --- xine-lib-1.2.11-orig/configure.ac 2020-12-05 16:27:04.000000000 -0600 +++ xine-lib-1.2.11/configure.ac 2021-03-28 06:24:41.000000000 -0500 @@ -1287,12 +1287,13 @@ dnl Even as of 2.61, autoconf is not smart enough to find the X include dnl and library paths on Mac OS X, so seed them automatically if they're dnl not specified on the configure command-line. -case "$host_os" in - darwin*) - test x"$x_includes" = x"NONE" && x_includes="/usr/X11R6/include" - test x"$x_libraries" = x"NONE" && x_libraries="/usr/X11R6/lib" - ;; -esac +#case "$host_os" in +# darwin*) +# test x"$x_includes" = x"NONE" && x_includes="/usr/X11R6/include" +# test x"$x_libraries" = x"NONE" && x_libraries="/usr/X11R6/lib" +# ;; +#esac +dnl but fink's autoconf has been patched for years. dnl Check for Xwindows using the autoconf AC_PATH_XTRA macro, which is an dnl extension of AC_PATH_X that sets X_CFLAGS and X_LIBS. It will also set diff -ruN xine-lib-1.2.11-orig/src/audio_out/Makefile.am xine-lib-1.2.11/src/audio_out/Makefile.am --- xine-lib-1.2.11-orig/src/audio_out/Makefile.am 2020-11-19 04:30:37.000000000 -0600 +++ xine-lib-1.2.11/src/audio_out/Makefile.am 2021-03-28 06:24:41.000000000 -0500 @@ -109,7 +109,7 @@ xineplug_ao_out_coreaudio_la_SOURCES = audio_coreaudio_out.c xineplug_ao_out_coreaudio_la_LIBADD = $(XINE_LIB) -xineplug_ao_out_coreaudio_la_LDFLAGS = $(AM_LDFLAGS) -framework CoreAudio -framework AudioUnit +xineplug_ao_out_coreaudio_la_LDFLAGS = $(AM_LDFLAGS) -framework CoreAudio -framework AudioUnit -framework CoreServices xineplug_ao_out_pulseaudio_la_SOURCES = audio_pulse_out.c xineplug_ao_out_pulseaudio_la_LIBADD = $(XINE_LIB) $(PULSEAUDIO_LIBS) $(LTLIBINTL) diff -ruN xine-lib-1.2.11-orig/src/video_out/macosx/XineOpenGLView.m xine-lib-1.2.11/src/video_out/macosx/XineOpenGLView.m --- xine-lib-1.2.11-orig/src/video_out/macosx/XineOpenGLView.m 2020-11-19 04:30:37.000000000 -0600 +++ xine-lib-1.2.11/src/video_out/macosx/XineOpenGLView.m 2021-03-28 06:25:34.000000000 -0500 @@ -30,6 +30,7 @@ #import "XineOpenGLView.h" +#include #include NSString *XineViewDidResizeNotification EXPORTED = @"XineViewDidResizeNotification";