HaikuPorts
  • Login
  • Preferences
  • Help/Guide
  • Wiki
  • Timeline
  • Roadmap
  • View Tickets
  • Search
  • Port Log
  • Blog

Context Navigation

  • Back to Ticket #517

Ticket #517: fluidsynth-1.1-midi-buffer.patch

File fluidsynth-1.1-midi-buffer.patch, 1.4 KB (added by michaelvoliveira, 4 years ago)

The same patch from 1.1.3 version

  • fluidsynth/CMakeLists.txt

    diff -Naur fluidsynth-1.1-midi-buffer/fluidsynth/CMakeLists.txt fluidsynth-1.1-midi-buffer-haiku/fluidsynth/CMakeLists.txt
    old new  
    166166    add_definitions ( -mms-bitfields ) 
    167167  endif  ( MINGW ) 
    168168else ( WIN32 ) 
    169 # Check PThreads, but not in Windows 
    170   find_package ( Pthreads REQUIRED ) 
    171   set ( HAVE_LIBPTHREAD ${PTHREADS_FOUND} ) 
    172   set ( LIBFLUID_LIBS "m" ) 
     169 
     170if (UNIX AND NOT BEOS) 
     171# Check PThreads, but not in Windows  
     172   find_package ( Pthreads REQUIRED ) 
     173   set ( HAVE_LIBPTHREAD ${PTHREADS_FOUND} ) 
     174   set ( LIBFLUID_LIBS "m" ) 
     175endif (UNIX AND NOT BEOS) 
     176 
     177if (BEOS) 
     178set ( LIBFLUID_LIBS "network") 
     179endif (BEOS) 
     180 
    173181endif ( WIN32 ) 
    174182 
    175183# IBM OS/2 
  • fluidsynth/src/utils/fluid_sys.h

    diff -Naur fluidsynth-1.1-midi-buffer/fluidsynth/src/utils/fluid_sys.h fluidsynth-1.1-midi-buffer-haiku/fluidsynth/src/utils/fluid_sys.h
    old new  
    335335    sample data. 
    336336 */ 
    337337 
    338 #if defined(HAVE_SYS_MMAN_H) && !defined(__OS2__) 
     338#if defined(HAVE_SYS_MMAN_H) && !defined(__OS2__) && !defined(__HAIKU__) 
    339339#define fluid_mlock(_p,_n)      mlock(_p, _n) 
    340340#define fluid_munlock(_p,_n)    munlock(_p,_n) 
    341341#else 

Download in other formats:

  • Original Format

Trac Powered

Powered by Trac 0.13dev-r10686
By Edgewall Software.

Visit the Trac open source project at
http://trac.edgewall.org/