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.3.patch

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

patch to drop mlock/munlock, which are not implemented in Haiku (see bug #4224), and add libnetwork as dependency

  • CMakeLists.txt

    diff -Naur fluidsynth-1.1.3/CMakeLists.txt fluidsynth-1.1.3-haiku/CMakeLists.txt
    old new  
    152152  endif  ( MINGW ) 
    153153else ( WIN32 ) 
    154154# Check PThreads, but not in Windows  
     155 
     156if (UNIX AND NOT BEOS) 
     157# Check PThreads, but not in Windows  
    155158  find_package ( Pthreads REQUIRED ) 
    156159  set ( HAVE_LIBPTHREAD ${PTHREADS_FOUND} ) 
    157160  set ( LIBFLUID_LIBS "m" ) 
     161endif (UNIX AND NOT BEOS) 
     162 
     163if (BEOS) 
     164set ( LIBFLUID_LIBS "network") 
     165endif (BEOS) 
     166 
    158167endif ( WIN32 ) 
    159168 
    160169# IBM OS/2 
  • src/utils/fluid_sys.h

    diff -Naur fluidsynth-1.1.3/src/utils/fluid_sys.h fluidsynth-1.1.3-haiku/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/