From de582d652d7a853b876ea9c7dda86f888c01488c Mon Sep 17 00:00:00 2001 From: Pav Lucistnik Date: Fri, 3 Jun 2011 15:51:40 +0000 Subject: - Update to 0.9.0 PR: ports/156861 Submitted by: Kalten --- audio/denemo/files/patch-src__pitchentry.c | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 audio/denemo/files/patch-src__pitchentry.c (limited to 'audio/denemo/files/patch-src__pitchentry.c') diff --git a/audio/denemo/files/patch-src__pitchentry.c b/audio/denemo/files/patch-src__pitchentry.c new file mode 100644 index 000000000000..eb7c540f57f1 --- /dev/null +++ b/audio/denemo/files/patch-src__pitchentry.c @@ -0,0 +1,13 @@ +--- src/pitchentry.c.orig 2011-04-27 19:59:45.153923000 +0200 ++++ src/pitchentry.c 2011-05-07 11:02:38.000000000 +0200 +@@ -14,7 +14,9 @@ + #define DEFAULT_HIGH (4500.0) + #define DEFAULT_LOW (60.0) + #define DEFAULT_TIMER_RATE (50) +- ++#ifndef log2(x) ++ #define log2(x) (log(x)/log(2)) ++#endif + + static GtkWidget *PR_window = NULL;/* a top level window for controlling pitch-recognition entry. + We do not create one of these for each view (ie each DenemoGUI object, ie each score) because there is only one audio input source being used, so we would have to cope with resource contention issues, there is just no point. */ -- cgit v1.2.3