mirror of
https://github.com/cookiengineer/audacity
synced 2026-01-12 15:45:54 +01:00
Make patch describing change in portaudio source at 38fd97b
This commit is contained in:
@@ -179,6 +179,8 @@ build system break. Not suitable for upstream, what is needed is more
|
|||||||
powerful autoconf features to pass the right options to portaudio's configure
|
powerful autoconf features to pass the right options to portaudio's configure
|
||||||
script, which suffers from the broken-ness of autoconf's subdirectory support
|
script, which suffers from the broken-ness of autoconf's subdirectory support
|
||||||
|
|
||||||
|
* linkage.patch allows compilation as C++ with correct "C" linkage of one function
|
||||||
|
|
||||||
portmidi
|
portmidi
|
||||||
-------
|
-------
|
||||||
http://portmedia.sourceforge.net/
|
http://portmedia.sourceforge.net/
|
||||||
|
|||||||
27
lib-src/portaudio-v19/linkage.patch
Normal file
27
lib-src/portaudio-v19/linkage.patch
Normal file
@@ -0,0 +1,27 @@
|
|||||||
|
diff --git a/lib-src/portaudio-v19/src/os/unix/pa_unix_util.c b/lib-src/portaudio-v19/src/os/unix/pa_unix_util.c
|
||||||
|
index 18f806c..7f4fd540 100644
|
||||||
|
--- a/lib-src/portaudio-v19/src/os/unix/pa_unix_util.c
|
||||||
|
+++ b/lib-src/portaudio-v19/src/os/unix/pa_unix_util.c
|
||||||
|
@@ -154,6 +154,10 @@ void PaUtil_InitializeClock( void )
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
+#ifdef __cplusplus
|
||||||
|
+extern "C" {
|
||||||
|
+#endif
|
||||||
|
+
|
||||||
|
PaTime PaUtil_GetTime( void )
|
||||||
|
{
|
||||||
|
#ifdef HAVE_MACH_ABSOLUTE_TIME
|
||||||
|
@@ -169,6 +173,10 @@ PaTime PaUtil_GetTime( void )
|
||||||
|
#endif
|
||||||
|
}
|
||||||
|
|
||||||
|
+#ifdef __cplusplus
|
||||||
|
+}
|
||||||
|
+#endif
|
||||||
|
+
|
||||||
|
PaError PaUtil_InitializeThreading( PaUtilThreading *threading )
|
||||||
|
{
|
||||||
|
(void) paUtilErr_;
|
||||||
|
|
||||||
Reference in New Issue
Block a user