logo

overlay

My own overlay for experimentations, use with caution, no support is provided git clone https://hacktivis.me/git/overlay.git

portmidi-217-sndio.patch (1078B)


  1. diff --git a/pm_common/CMakeLists.txt b/pm_common/CMakeLists.txt
  2. index e171047..2f191f9 100644
  3. --- a/pm_common/CMakeLists.txt
  4. +++ b/pm_common/CMakeLists.txt
  5. @@ -78,9 +78,11 @@ if(UNIX)
  6. set(LINUXSRC pmlinuxalsa pmlinux finddefault)
  7. prepend_path(LIBSRC ../pm_linux/ ${LINUXSRC})
  8. + set(SNDIOSRC pmsndio)
  9. + prepend_path(LIBSRC ../pm_sndio/ ${SNDIOSRC})
  10. list(APPEND LIBSRC ../porttime/ptlinux)
  11. - set(PM_NEEDED_LIBS pthread asound)
  12. + set(PM_NEEDED_LIBS pthread asound sndio)
  13. endif(APPLE)
  14. else(UNIX)
  15. if(WIN32)
  16. diff --git a/pm_dylib/CMakeLists.txt b/pm_dylib/CMakeLists.txt
  17. index f693dd6..aa57173 100644
  18. --- a/pm_dylib/CMakeLists.txt
  19. +++ b/pm_dylib/CMakeLists.txt
  20. @@ -83,9 +83,11 @@ if(UNIX)
  21. set(LINUXSRC pmlinuxalsa pmlinux finddefault)
  22. prepend_path(LIBSRC ../pm_linux/ ${LINUXSRC})
  23. + set(SNDIOSRC pmsndio)
  24. + prepend_path(LIBSRC ../pm_sndio/ ${SNDIOSRC})
  25. list(APPEND LIBSRC ../porttime/ptlinux)
  26. - set(PM_NEEDED_LIBS pthread asound)
  27. + set(PM_NEEDED_LIBS pthread asound sndio)
  28. endif(APPLE)
  29. else(UNIX)
  30. if(WIN32)