FreeBSD Bugzilla – Attachment 201668 Details for
Bug 233448
audio/fluidsynth: Update to 2.0.2
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
fluidsynth.diff
fluidsynth.diff (text/plain), 21.07 KB, created by
Tobias Kortkamp
on 2019-02-03 07:26:46 UTC
(
hide
)
Description:
fluidsynth.diff
Filename:
MIME Type:
Creator:
Tobias Kortkamp
Created:
2019-02-03 07:26:46 UTC
Size:
21.07 KB
patch
obsolete
>Index: audio/fluidsynth/Makefile >=================================================================== >--- audio/fluidsynth/Makefile (revision 491798) >+++ audio/fluidsynth/Makefile (working copy) >@@ -2,10 +2,14 @@ > # $FreeBSD$ > > PORTNAME= fluidsynth >-PORTVERSION= 1.1.11 > DISTVERSIONPREFIX= v >+DISTVERSION= 2.0.3 > CATEGORIES= audio > >+PATCH_SITES= https://github.com/${GH_ACCOUNT}/${PORTNAME}/commit/ >+PATCHFILES= 6ac6e5983f4169c7a418866319e5bde424d4434c.patch:-p1 \ >+ a92ba4528f0a848e355556010dcc9456b54cd705.patch:-p1 >+ > MAINTAINER= multimedia@FreeBSD.org > COMMENT= Real-time software synthesizer based on the SoundFont 2 specifications > >@@ -12,18 +16,16 @@ > LICENSE= LGPL21 > LICENSE_FILE= ${WRKSRC}/LICENSE > >-GH_ACCOUNT= FluidSynth >- > OPTIONS_DEFINE= JACK ALSA DBUS LADSPA LASH PORTAUDIO PULSEAUDIO READLINE \ > SNDFILE SNDIO > OPTIONS_DEFAULT= JACK READLINE > >-USES= cmake pkgconfig tar:bzip2 >+USES= cmake gnome pkgconfig > USE_GITHUB= yes >+GH_ACCOUNT= FluidSynth > USE_GNOME= glib20 > USE_LDCONFIG= yes >-CMAKE_ARGS= -Denable-ladcca:BOOL=FALSE \ >- -Denable-midishare:BOOL=FALSE >+CMAKE_OFF= enable-ladcca enable-midishare > LDFLAGS+= -lpthread > > JACK_LIB_DEPENDS= libjack.so:audio/jack >@@ -59,13 +61,5 @@ > > post-patch: > ${CP} ${FILESDIR}/fluid_sndio.c ${WRKSRC}/src/drivers/ >- @${REINPLACE_CMD} -e \ >- '/Linux/s|^|#| ; \ >- /_init_lib_suffix/s|"64"|""| ; \ >- /CMAKE_C_FLAGS_RELEASE/s|-O2|| ; \ >- s|enable_midishare|enable-midishare| ; \ >- s|$${LIB_INSTALL_DIR}$${LIB_SUFFIX}/pkgconfig|$${CMAKE_INSTALL_PREFIX}/libdata/pkgconfig|' ${WRKSRC}/CMakeLists.txt >- @${REINPLACE_CMD} -e \ >- 's|share/man|man|' ${WRKSRC}/cmake_admin/DefaultDirs.cmake >- >+ > .include <bsd.port.mk> >Index: audio/fluidsynth/distinfo >=================================================================== >--- audio/fluidsynth/distinfo (revision 491798) >+++ audio/fluidsynth/distinfo (working copy) >@@ -1,3 +1,7 @@ >-TIMESTAMP = 1527888754 >-SHA256 (FluidSynth-fluidsynth-v1.1.11_GH0.tar.gz) = da8878ff374d12392eecf87e96bad8711b8e76a154c25a571dd8614d1af80de8 >-SIZE (FluidSynth-fluidsynth-v1.1.11_GH0.tar.gz) = 634566 >+TIMESTAMP = 1549176844 >+SHA256 (FluidSynth-fluidsynth-v2.0.3_GH0.tar.gz) = 12c7ede220f54a6e52a7e7b0b1729c04a4282685569adf18d932a7dd3c10e759 >+SIZE (FluidSynth-fluidsynth-v2.0.3_GH0.tar.gz) = 1374835 >+SHA256 (6ac6e5983f4169c7a418866319e5bde424d4434c.patch) = fe87f16d9bcb3911e4bb3ac1810a89cea66466d81c9ae6683b17ee9a05878e30 >+SIZE (6ac6e5983f4169c7a418866319e5bde424d4434c.patch) = 3311 >+SHA256 (a92ba4528f0a848e355556010dcc9456b54cd705.patch) = bc0098e4e4e15a5da6f1c2d1a9ca4135ccd4f4fb630f2234e946a8456cd05792 >+SIZE (a92ba4528f0a848e355556010dcc9456b54cd705.patch) = 1787 >Index: audio/fluidsynth/files/fluid_sndio.c >=================================================================== >--- audio/fluidsynth/files/fluid_sndio.c (revision 491798) >+++ audio/fluidsynth/files/fluid_sndio.c (working copy) >@@ -66,7 +66,7 @@ > fluid_midi_parser_t *parser; > } fluid_sndio_midi_driver_t; > >-int delete_fluid_sndio_audio_driver(fluid_audio_driver_t* p); >+//void delete_fluid_sndio_audio_driver(fluid_audio_driver_t* p); > > /* local utilities */ > static void* fluid_sndio_audio_run(void* d); >@@ -76,7 +76,7 @@ > void > fluid_sndio_audio_driver_settings(fluid_settings_t* settings) > { >- fluid_settings_register_str(settings, "audio.sndio.device", "default", 0, NULL, NULL); >+ fluid_settings_register_str(settings, "audio.sndio.device", "default", 0); > } > > /* >@@ -109,7 +109,7 @@ > dev->data = NULL; > dev->cont = 1; > >- if (!fluid_settings_getstr(settings, "audio.sndio.device", &devname)) { >+ if (!fluid_settings_dupstr(settings, "audio.sndio.device", &devname)) { > devname = NULL; > } > >@@ -210,7 +210,7 @@ > dev->data = data; > dev->cont = 1; > >- if (!fluid_settings_getstr(settings, "audio.sndio.device", &devname)) { >+ if (!fluid_settings_dupstr(settings, "audio.sndio.device", &devname)) { > devname = NULL; > } > >@@ -286,19 +286,19 @@ > /* > * delete_fluid_sndio_audio_driver > */ >-int >+void > delete_fluid_sndio_audio_driver(fluid_audio_driver_t* p) > { > fluid_sndio_audio_driver_t* dev = (fluid_sndio_audio_driver_t*) p; > > if (dev == NULL) { >- return FLUID_OK; >+ return; > } > dev->cont = 0; > if (dev->thread) { > if (pthread_join(dev->thread, NULL)) { > FLUID_LOG(FLUID_ERR, "Failed to join the audio thread"); >- return FLUID_FAILED; >+ return; > } > } > if (dev->hdl) { >@@ -308,7 +308,7 @@ > FLUID_FREE(dev->buffer); > } > FLUID_FREE(dev); >- return FLUID_OK; >+ return; > } > > /* >@@ -372,10 +372,10 @@ > > void fluid_sndio_midi_driver_settings(fluid_settings_t* settings) > { >- fluid_settings_register_str(settings, "midi.sndio.device", "default", 0, NULL, NULL); >+ fluid_settings_register_str(settings, "midi.sndio.device", "default", 0); > } > >-int >+void > delete_fluid_sndio_midi_driver(fluid_midi_driver_t *addr) > { > int err; >@@ -382,7 +382,7 @@ > fluid_sndio_midi_driver_t *dev = (fluid_sndio_midi_driver_t *)addr; > > if (dev == NULL) { >- return FLUID_OK; >+ return; > } > dev->status = FLUID_MIDI_DONE; > >@@ -391,11 +391,11 @@ > err = pthread_cancel(dev->thread); > if (err) { > FLUID_LOG(FLUID_ERR, "Failed to cancel the midi thread"); >- return FLUID_FAILED; >+ return; > } > if (pthread_join(dev->thread, NULL)) { > FLUID_LOG(FLUID_ERR, "Failed to join the midi thread"); >- return FLUID_FAILED; >+ return; > } > } > if (dev->hdl != NULL) { >@@ -405,7 +405,7 @@ > delete_fluid_midi_parser(dev->parser); > } > FLUID_FREE(dev); >- return FLUID_OK; >+ return; > } > > void * >@@ -493,7 +493,7 @@ > } > > /* get the device name. if none is specified, use the default device. */ >- if (!fluid_settings_getstr(settings, "midi.sndio.device", &device)) { >+ if (!fluid_settings_dupstr(settings, "midi.sndio.device", &device)) { > device = NULL; > } > >Index: audio/fluidsynth/files/patch-CMakeLists.txt >=================================================================== >--- audio/fluidsynth/files/patch-CMakeLists.txt (revision 491798) >+++ audio/fluidsynth/files/patch-CMakeLists.txt (working copy) >@@ -1,22 +1,22 @@ >---- CMakeLists.txt.orig 2018-05-06 07:05:11 UTC >+--- CMakeLists.txt.orig 2019-02-03 07:13:31 UTC > +++ CMakeLists.txt >-@@ -68,6 +68,7 @@ option ( enable-midishare "compile MidiS >- option ( enable-oss "compile OSS support (if it is available)" on ) >+@@ -71,6 +71,7 @@ option ( enable-dsound "compile DirectSound support (i >+ option ( enable-winmidi "compile Windows MIDI support (if it is available)" on ) > option ( enable-pkgconfig "use pkg-config to locate fluidsynth's (mostly optional) dependencies" on ) > option ( enable-pulseaudio "compile PulseAudio support (if it is available)" on ) > +option ( enable-sndio "compile Sndio support (if it is available)" on ) > option ( enable-readline "compile readline lib line editing (if it is available)" on ) >+ option ( enable-threads "enable multi-threading support (such as parallel voice synthesis)" on ) > >- # Platform specific options >-@@ -358,6 +359,11 @@ else(NOT enable-pkgconfig) >+@@ -481,6 +482,11 @@ else(NOT enable-pkgconfig) >+ else ( enable-pulseaudio ) > unset_pkg_config ( PULSE ) > endif ( enable-pulseaudio ) >- >++ > + unset ( SNDIO_SUPPORT CACHE ) > + if ( enable-sndio ) > + set ( SNDIO_SUPPORT 1 ) > + endif ( enable-sndio ) >-+ >+ > unset ( ALSA_SUPPORT CACHE ) > if ( enable-alsa ) >- pkg_check_modules ( ALSA alsa>=0.9.1 ) >Index: audio/fluidsynth/files/patch-src_CMakeLists.txt >=================================================================== >--- audio/fluidsynth/files/patch-src_CMakeLists.txt (revision 491798) >+++ audio/fluidsynth/files/patch-src_CMakeLists.txt (working copy) >@@ -1,7 +1,7 @@ >---- src/CMakeLists.txt.orig 2012-08-16 04:01:13 UTC >+--- src/CMakeLists.txt.orig 2018-12-30 11:42:00 UTC > +++ src/CMakeLists.txt >-@@ -47,6 +47,11 @@ if ( PULSE_SUPPORT ) >- include_directories ( ${PULSE_INCLUDEDIR} ${PULSE_INCLUDE_DIRS} ) >+@@ -50,6 +50,11 @@ if ( PULSE_SUPPORT ) >+ include_directories ( ${PULSE_INCLUDE_DIRS} ) > endif ( PULSE_SUPPORT ) > > +if ( SNDIO_SUPPORT ) >@@ -11,16 +11,16 @@ > + > if ( ALSA_SUPPORT ) > set ( fluid_alsa_SOURCES drivers/fluid_alsa.c ) >- include_directories ( ${ALSA_INCLUDEDIR} ${ALSA_INCLUDE_DIRS} ) >-@@ -244,6 +249,7 @@ add_library ( libfluidsynth >+ include_directories ( ${ALSA_INCLUDE_DIRS} ) >+@@ -247,6 +252,7 @@ add_library ( libfluidsynth-OBJ OBJECT > ${fluid_oss_SOURCES} > ${fluid_portaudio_SOURCES} > ${fluid_pulse_SOURCES} > + ${fluid_sndio_SOURCES} >- ${fluid_windows_SOURCES} >+ ${fluid_dsound_SOURCES} >+ ${fluid_winmidi_SOURCES} > ${libfluidsynth_SOURCES} >- ${public_HEADERS} >-@@ -286,6 +292,7 @@ target_link_libraries ( libfluidsynth >+@@ -314,6 +320,7 @@ target_link_libraries ( libfluidsynth > ${JACK_LIBRARIES} > ${ALSA_LIBRARIES} > ${PULSE_LIBRARIES} >Index: audio/fluidsynth/files/patch-src_bindings_fluid__rtkit.c >=================================================================== >--- audio/fluidsynth/files/patch-src_bindings_fluid__rtkit.c (revision 491798) >+++ audio/fluidsynth/files/patch-src_bindings_fluid__rtkit.c (nonexistent) >@@ -1,39 +0,0 @@ >---- src/bindings/fluid_rtkit.c.orig 2012-08-16 04:01:13 UTC >-+++ src/bindings/fluid_rtkit.c >-@@ -34,7 +34,7 @@ >- #include "fluid_rtkit.h" >- >- >--#if defined(__linux__) || defined(__APPLE__) >-+#if defined(__linux__) || defined(__APPLE__) || defined(__FreeBSD__) >- >- #ifndef _GNU_SOURCE >- #define _GNU_SOURCE >-@@ -44,12 +44,27 @@ >- #include <string.h> >- #include <unistd.h> >- #include <sys/types.h> >-+#include <sys/time.h> >- #include <sys/syscall.h> >- #include <sys/resource.h> >-+#include <sys/param.h> >- >-+#if defined(__FreeBSD__) >-+#include <pthread_np.h> >-+#endif >- >- static pid_t _gettid(void) { >-+#if defined(__FreeBSD__) >-+#if __FreeBSD__version > 900030 >-+ return pthread_getthreadid_np(); >-+#else >-+ long tid; >-+ syscall(SYS_thr_self, &tid); >-+ return tid; >-+#endif >-+#else >- return (pid_t) syscall(SYS_gettid); >-+#endif >- } >- >- static int translate_error(const char *name) { > >Property changes on: audio/fluidsynth/files/patch-src_bindings_fluid__rtkit.c >___________________________________________________________________ >Deleted: fbsd:nokeywords >## -1 +0,0 ## >-yes >\ No newline at end of property >Deleted: svn:eol-style >## -1 +0,0 ## >-native >\ No newline at end of property >Deleted: svn:mime-type >## -1 +0,0 ## >-text/plain >\ No newline at end of property >Index: audio/fluidsynth/files/patch-src_config.cmake >=================================================================== >--- audio/fluidsynth/files/patch-src_config.cmake (revision 491798) >+++ audio/fluidsynth/files/patch-src_config.cmake (working copy) >@@ -1,8 +1,8 @@ >---- src/config.cmake.orig 2012-08-16 04:01:13 UTC >+--- src/config.cmake.orig 2018-12-30 11:42:00 UTC > +++ src/config.cmake >-@@ -178,6 +178,9 @@ >- /* Define to enable PulseAudio driver */ >- #cmakedefine PULSE_SUPPORT @PULSE_SUPPORT@ >+@@ -199,6 +199,9 @@ >+ /* Define to enable Windows MIDI driver */ >+ #cmakedefine WINMIDI_SUPPORT @WINMIDI_SUPPORT@ > > +/* Define to enable Sndio driver */ > +#cmakedefine SNDIO_SUPPORT @SNDIO_SUPPORT@ >Index: audio/fluidsynth/files/patch-src_drivers_fluid__adriver.c >=================================================================== >--- audio/fluidsynth/files/patch-src_drivers_fluid__adriver.c (revision 491798) >+++ audio/fluidsynth/files/patch-src_drivers_fluid__adriver.c (working copy) >@@ -1,54 +1,19 @@ >---- src/drivers/fluid_adriver.c.orig 2018-05-06 07:05:11 UTC >+--- src/drivers/fluid_adriver.c.orig 2018-12-30 11:42:00 UTC > +++ src/drivers/fluid_adriver.c >-@@ -64,6 +64,15 @@ int delete_fluid_oss_audio_driver(fluid_ >- void fluid_oss_audio_driver_settings(fluid_settings_t* settings); >- #endif >- >-+#if SNDIO_SUPPORT >-+fluid_audio_driver_t* new_fluid_sndio_audio_driver(fluid_settings_t* settings, >-+ fluid_synth_t* synth); >-+fluid_audio_driver_t* new_fluid_sndio_audio_driver2(fluid_settings_t* settings, >-+ fluid_audio_func_t func, void* data); >-+int delete_fluid_sndio_audio_driver(fluid_audio_driver_t* p); >-+void fluid_sndio_audio_driver_settings(fluid_settings_t* settings); >-+#endif >-+ >- #if COREAUDIO_SUPPORT >- fluid_audio_driver_t* new_fluid_core_audio_driver(fluid_settings_t* settings, >- fluid_synth_t* synth); >-@@ -122,6 +131,14 @@ int delete_fluid_file_audio_driver(fluid >+@@ -39,6 +39,16 @@ struct _fluid_audriver_definition_t > /* Available audio drivers, listed in order of preference */ > static const fluid_audriver_definition_t fluid_audio_drivers[] = > { > +#if SNDIO_SUPPORT >-+ { "sndio", >-+ new_fluid_sndio_audio_driver, >-+ new_fluid_sndio_audio_driver2, >-+ delete_fluid_sndio_audio_driver, >-+ fluid_sndio_audio_driver_settings }, >++ { >++ "sndio", >++ new_fluid_sndio_audio_driver, >++ new_fluid_sndio_audio_driver2, >++ delete_fluid_sndio_audio_driver, >++ fluid_sndio_audio_driver_settings >++ }, > +#endif > + > #if JACK_SUPPORT >- { "jack", >- new_fluid_jack_audio_driver, >-@@ -238,7 +255,9 @@ void fluid_audio_driver_settings(fluid_s >- FLUID_DEFAULT_AUDIO_RT_PRIO, 0, 99, 0, NULL, NULL); >- >- /* Set the default driver */ >--#if JACK_SUPPORT >-+#if SNDIO_SUPPORT >-+ fluid_settings_register_str(settings, "audio.driver", "sndio", 0, NULL, NULL); >-+#elif JACK_SUPPORT >- fluid_settings_register_str(settings, "audio.driver", "jack", 0, NULL, NULL); >- #elif ALSA_SUPPORT >- fluid_settings_register_str(settings, "audio.driver", "alsa", 0, NULL, NULL); >-@@ -272,6 +291,9 @@ void fluid_audio_driver_settings(fluid_s >- #if OSS_SUPPORT >- fluid_settings_add_option(settings, "audio.driver", "oss"); >- #endif >-+#if SNDIO_SUPPORT >-+ fluid_settings_add_option(settings, "audio.driver", "sndio"); >-+#endif >- #if COREAUDIO_SUPPORT >- fluid_settings_add_option(settings, "audio.driver", "coreaudio"); >- #endif >+ { >+ "jack", >Index: audio/fluidsynth/files/patch-src_drivers_fluid__adriver.h >=================================================================== >--- audio/fluidsynth/files/patch-src_drivers_fluid__adriver.h (nonexistent) >+++ audio/fluidsynth/files/patch-src_drivers_fluid__adriver.h (working copy) >@@ -0,0 +1,17 @@ >+--- src/drivers/fluid_adriver.h.orig 2019-02-03 07:07:02 UTC >++++ src/drivers/fluid_adriver.h >+@@ -90,6 +90,14 @@ fluid_audio_driver_t *new_fluid_portaudio_driver(fluid >+ void delete_fluid_portaudio_driver(fluid_audio_driver_t *p); >+ #endif >+ >++#if SNDIO_SUPPORT >++fluid_audio_driver_t *new_fluid_sndio_audio_driver(fluid_settings_t *settings, fluid_synth_t *synth); >++fluid_audio_driver_t *new_fluid_sndio_audio_driver2(fluid_settings_t *settings, >++ fluid_audio_func_t func, void *data); >++void delete_fluid_sndio_audio_driver(fluid_audio_driver_t *p); >++void fluid_sndio_audio_driver_settings(fluid_settings_t *settings); >++#endif >++ >+ #if JACK_SUPPORT >+ fluid_audio_driver_t *new_fluid_jack_audio_driver(fluid_settings_t *settings, fluid_synth_t *synth); >+ fluid_audio_driver_t *new_fluid_jack_audio_driver2(fluid_settings_t *settings, > >Property changes on: audio/fluidsynth/files/patch-src_drivers_fluid__adriver.h >___________________________________________________________________ >Added: fbsd:nokeywords >## -0,0 +1 ## >+yes >\ No newline at end of property >Added: svn:eol-style >## -0,0 +1 ## >+native >\ No newline at end of property >Added: svn:mime-type >## -0,0 +1 ## >+text/plain >\ No newline at end of property >Index: audio/fluidsynth/files/patch-src_drivers_fluid__mdriver.c >=================================================================== >--- audio/fluidsynth/files/patch-src_drivers_fluid__mdriver.c (revision 491798) >+++ audio/fluidsynth/files/patch-src_drivers_fluid__mdriver.c (working copy) >@@ -1,53 +1,18 @@ > $OpenBSD: patch-src_drivers_fluid_mdriver_c,v 1.1 2013/03/29 12:37:43 sthen Exp $ >---- src/drivers/fluid_mdriver.c.orig 2012-08-16 04:01:13 UTC >+--- src/drivers/fluid_mdriver.c.orig 2018-12-30 11:42:00 UTC > +++ src/drivers/fluid_mdriver.c >-@@ -46,6 +46,15 @@ fluid_midi_driver_t *new_fluid_jack_midi >- int delete_fluid_jack_midi_driver(fluid_midi_driver_t *p); >+@@ -52,6 +52,14 @@ static const fluid_mdriver_definition_t fluid_midi_dri >+ fluid_alsa_rawmidi_driver_settings >+ }, > #endif >- >-+/* SNDIO */ > +#if SNDIO_SUPPORT >-+fluid_midi_driver_t* new_fluid_sndio_midi_driver(fluid_settings_t* settings, >-+ handle_midi_event_func_t handler, >-+ void* event_handler_data); >-+int delete_fluid_sndio_midi_driver(fluid_midi_driver_t* p); >-+void fluid_sndio_midi_driver_settings(fluid_settings_t* settings); >++ { >++ "sndio", >++ new_fluid_sndio_midi_driver, >++ delete_fluid_sndio_midi_driver, >++ fluid_sndio_midi_driver_settings >++ }, > +#endif >-+ >- /* OSS */ >- #if OSS_SUPPORT >- fluid_midi_driver_t* new_fluid_oss_midi_driver(fluid_settings_t* settings, >-@@ -96,6 +105,12 @@ struct fluid_mdriver_definition_t { >- >- >- struct fluid_mdriver_definition_t fluid_midi_drivers[] = { >-+#if SNDIO_SUPPORT >-+ { "sndio", >-+ new_fluid_sndio_midi_driver, >-+ delete_fluid_sndio_midi_driver, >-+ fluid_sndio_midi_driver_settings }, >-+#endif > #if JACK_SUPPORT >- { "jack", >- new_fluid_jack_midi_driver, >-@@ -149,7 +164,9 @@ void fluid_midi_driver_settings(fluid_se >- FLUID_DEFAULT_MIDI_RT_PRIO, 0, 99, 0, NULL, NULL); >- >- /* Set the default driver */ >--#if ALSA_SUPPORT >-+#if SNDIO_SUPPORT >-+ fluid_settings_register_str(settings, "midi.driver", "sndio", 0, NULL, NULL); >-+#elif ALSA_SUPPORT >- fluid_settings_register_str(settings, "midi.driver", "alsa_seq", 0, NULL, NULL); >- #elif JACK_SUPPORT >- fluid_settings_register_str(settings, "midi.driver", "jack", 0, NULL, NULL); >-@@ -170,6 +187,9 @@ void fluid_midi_driver_settings(fluid_se >- fluid_settings_add_option(settings, "midi.driver", "alsa_seq"); >- fluid_settings_add_option(settings, "midi.driver", "alsa_raw"); >- #endif >-+#if SNDIO_SUPPORT >-+ fluid_settings_add_option(settings, "midi.driver", "sndio"); >-+#endif >- #if JACK_SUPPORT >- fluid_settings_add_option(settings, "midi.driver", "jack"); >- #endif >+ { >+ "jack", >Index: audio/fluidsynth/files/patch-src_drivers_fluid__mdriver.h >=================================================================== >--- audio/fluidsynth/files/patch-src_drivers_fluid__mdriver.h (nonexistent) >+++ audio/fluidsynth/files/patch-src_drivers_fluid__mdriver.h (working copy) >@@ -0,0 +1,18 @@ >+--- src/drivers/fluid_mdriver.h.orig 2019-02-03 07:13:59 UTC >++++ src/drivers/fluid_mdriver.h >+@@ -53,6 +53,15 @@ void delete_fluid_alsa_seq_driver(fluid_midi_driver_t >+ void fluid_alsa_seq_driver_settings(fluid_settings_t *settings); >+ #endif >+ >++/* SNDIO */ >++#if SNDIO_SUPPORT >++void fluid_sndio_midi_driver_settings(fluid_settings_t *settings); >++fluid_midi_driver_t *new_fluid_sndio_midi_driver(fluid_settings_t *settings, >++ handle_midi_event_func_t handler, >++ void *data); >++void delete_fluid_sndio_midi_driver(fluid_midi_driver_t *p); >++#endif >++ >+ /* JACK */ >+ #if JACK_SUPPORT >+ void fluid_jack_midi_driver_settings(fluid_settings_t *settings); > >Property changes on: audio/fluidsynth/files/patch-src_drivers_fluid__mdriver.h >___________________________________________________________________ >Added: fbsd:nokeywords >## -0,0 +1 ## >+yes >\ No newline at end of property >Added: svn:eol-style >## -0,0 +1 ## >+native >\ No newline at end of property >Added: svn:mime-type >## -0,0 +1 ## >+text/plain >\ No newline at end of property >Index: audio/fluidsynth/files/patch-src_drivers_fluid__oss.c >=================================================================== >--- audio/fluidsynth/files/patch-src_drivers_fluid__oss.c (revision 491798) >+++ audio/fluidsynth/files/patch-src_drivers_fluid__oss.c (nonexistent) >@@ -1,15 +0,0 @@ >---- src/drivers/fluid_oss.c.orig 2018-05-06 07:05:11 UTC >-+++ src/drivers/fluid_oss.c >-@@ -45,9 +45,9 @@ >- #define BUFFER_LENGTH 512 >- >- // Build issue on some systems (OSS 4.0)? >--#if !defined(SOUND_PCM_WRITE_CHANNELS) && defined(SNDCTL_DSP_CHANNELS) >-- #define SOUND_PCM_WRITE_CHANNELS SNDCTL_DSP_CHANNELS >--#endif >-+// #if !defined(SOUND_PCM_WRITE_CHANNELS) && defined(SNDCTL_DSP_CHANNELS) >-+// #define SOUND_PCM_WRITE_CHANNELS SNDCTL_DSP_CHANNELS >-+// #endif >- >- /** fluid_oss_audio_driver_t >- * > >Property changes on: audio/fluidsynth/files/patch-src_drivers_fluid__oss.c >___________________________________________________________________ >Deleted: fbsd:nokeywords >## -1 +0,0 ## >-yes >\ No newline at end of property >Deleted: svn:eol-style >## -1 +0,0 ## >-native >\ No newline at end of property >Deleted: svn:mime-type >## -1 +0,0 ## >-text/plain >\ No newline at end of property >Index: audio/fluidsynth/pkg-plist >=================================================================== >--- audio/fluidsynth/pkg-plist (revision 491798) >+++ audio/fluidsynth/pkg-plist (working copy) >@@ -3,11 +3,11 @@ > include/fluidsynth/audio.h > include/fluidsynth/event.h > include/fluidsynth/gen.h >+include/fluidsynth/ladspa.h > include/fluidsynth/log.h > include/fluidsynth/midi.h > include/fluidsynth/misc.h > include/fluidsynth/mod.h >-include/fluidsynth/ramsfont.h > include/fluidsynth/seq.h > include/fluidsynth/seqbind.h > include/fluidsynth/settings.h >@@ -18,7 +18,7 @@ > include/fluidsynth/version.h > include/fluidsynth/voice.h > lib/libfluidsynth.so >-lib/libfluidsynth.so.1 >-lib/libfluidsynth.so.1.7.2 >+lib/libfluidsynth.so.2 >+lib/libfluidsynth.so.2.1.0 > libdata/pkgconfig/fluidsynth.pc > man/man1/fluidsynth.1.gz
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 233448
:
199491
|
199492
|
199493
|
199520
|
201668
|
201669