patch-src_Makefile_am 1.5 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344
  1. $OpenBSD: patch-src_Makefile_am,v 1.13 2017/01/19 19:32:06 ajacoutot Exp $
  2. --- src/Makefile.am.orig Fri Jan 13 04:02:18 2017
  3. +++ src/Makefile.am Thu Jan 19 09:52:09 2017
  4. @@ -742,7 +742,7 @@ endif
  5. libpulsecommon_@PA_MAJORMINOR@_la_CFLAGS = $(AM_CFLAGS) $(LIBSNDFILE_CFLAGS)
  6. libpulsecommon_@PA_MAJORMINOR@_la_LDFLAGS = $(AM_LDFLAGS) $(AM_LIBLDFLAGS) -avoid-version
  7. -libpulsecommon_@PA_MAJORMINOR@_la_LIBADD = $(AM_LIBADD) $(LIBWRAP_LIBS) $(WINSOCK_LIBS) $(LTLIBICONV) $(LIBSNDFILE_LIBS)
  8. +libpulsecommon_@PA_MAJORMINOR@_la_LIBADD = $(AM_LIBADD) $(LIBWRAP_LIBS) $(WINSOCK_LIBS) $(LTLIBICONV) $(LIBSNDFILE_LIBS) -lexecinfo
  9. if HAVE_MEMFD
  10. libpulsecommon_@PA_MAJORMINOR@_la_SOURCES += \
  11. @@ -1280,6 +1280,9 @@ modlibexec_LTLIBRARIES += \
  12. module-oss.la
  13. endif
  14. +modlibexec_LTLIBRARIES += \
  15. + module-sndio.la
  16. +
  17. if HAVE_COREAUDIO
  18. modlibexec_LTLIBRARIES += \
  19. module-coreaudio-detect.la \
  20. @@ -1507,6 +1510,7 @@ SYMDEF_FILES = \
  21. module-x11-xsmp-symdef.h \
  22. module-x11-cork-request-symdef.h \
  23. module-oss-symdef.h \
  24. + module-sndio-symdef.h \
  25. module-alsa-sink-symdef.h \
  26. module-alsa-source-symdef.h \
  27. module-alsa-card-symdef.h \
  28. @@ -1828,6 +1832,12 @@ liboss_util_la_LIBADD = $(MODULE_LIBADD)
  29. module_oss_la_SOURCES = modules/oss/module-oss.c
  30. module_oss_la_LDFLAGS = $(MODULE_LDFLAGS)
  31. module_oss_la_LIBADD = $(MODULE_LIBADD) liboss-util.la
  32. +
  33. +# SNDIO
  34. +
  35. +module_sndio_la_SOURCES = modules/module-sndio.c
  36. +module_sndio_la_LDFLAGS = $(MODULE_LDFLAGS)
  37. +module_sndio_la_LIBADD = $(MODULE_LIBADD) -lsndio
  38. # COREAUDIO