mirror of
https://codeberg.org/guix/guix.git
synced 2025-10-02 02:15:12 +00:00
gnu: audacity: Update to 2.4.2.
* gnu/packages/audio.scm (audacity): Update to 2.4.2. [source]: Add patch. Don't delete portaudio-v19, since only the bundled copy can be built. [build-system]: Switch to cmake-build-system. [inputs]: Remove portaudio. [arguments]: Adjust configure flags for CMake. Remove 'fix-sbsms-check phase. Add 'comment-out-revision-ident phase. * gnu/local.mk (dist_patch_DATA): Register patch. * gnu/packages/patches/audacity-add-include.patch: New file.
This commit is contained in:
parent
fc5f56eaf4
commit
3e6c114241
3 changed files with 36 additions and 55 deletions
15
gnu/packages/patches/audacity-add-include.patch
Normal file
15
gnu/packages/patches/audacity-add-include.patch
Normal file
|
@ -0,0 +1,15 @@
|
|||
Without <sys/time.h>, gettimeofday is undefined.
|
||||
|
||||
diff --git a/src/AudioIO.cpp b/src/AudioIO.cpp
|
||||
index 0187e3962..e15d55f4c 100644
|
||||
--- a/src/AudioIO.cpp
|
||||
+++ b/src/AudioIO.cpp
|
||||
@@ -479,6 +479,8 @@ time warp info and AudioIOListener and whether the playback is looped.
|
||||
#include "../lib-src/portmidi/porttime/porttime.h"
|
||||
#include "../lib-src/header-substitutes/allegro.h"
|
||||
|
||||
+#include <sys/time.h>
|
||||
+
|
||||
#define MIDI_SLEEP 10 /* milliseconds */
|
||||
// how long do we think the thread that fills MIDI buffers,
|
||||
// if it is separate from the portaudio thread,
|
Loading…
Add table
Add a link
Reference in a new issue