summaryrefslogtreecommitdiff
path: root/audio/hydrogen/portmidi.patch
diff options
context:
space:
mode:
authorDavid Woodfall <dave@unrealize.co.uk>2010-05-13 00:57:27 +0200
committerDavid Somero <xgizzmo@slackbuilds.org>2010-05-13 00:57:27 +0200
commitf6000d97c08291c9f9d031a06589a3f6824c0c18 (patch)
tree36a8e6e06cb2d23bd3f7f3da8f22e077f5f4df22 /audio/hydrogen/portmidi.patch
parentab08c1b137d2e6b344ad34538a198d6c52bb6e4f (diff)
downloadslackbuilds-f6000d97c08291c9f9d031a06589a3f6824c0c18.tar.gz
audio/hydrogen: Added to 13.0 repository
Diffstat (limited to 'audio/hydrogen/portmidi.patch')
-rw-r--r--audio/hydrogen/portmidi.patch12
1 files changed, 12 insertions, 0 deletions
diff --git a/audio/hydrogen/portmidi.patch b/audio/hydrogen/portmidi.patch
new file mode 100644
index 0000000000..76eb1e83b1
--- /dev/null
+++ b/audio/hydrogen/portmidi.patch
@@ -0,0 +1,12 @@
+diff -ur hydrogen-0.9.4.orig/libs/hydrogen/src/IO/portmidi_driver.cpp hydrogen-0.9.4/libs/hydrogen/src/IO/portmidi_driver.cpp
+--- hydrogen-0.9.4.orig/libs/hydrogen/src/IO/portmidi_driver.cpp 2009-07-15 02:10:17.000000000 +0100
++++ hydrogen-0.9.4/libs/hydrogen/src/IO/portmidi_driver.cpp 2009-10-29 17:27:22.000000000 +0000
+@@ -31,7 +31,7 @@
+ #ifdef PORTMIDI_SUPPORT
+
+ #include <porttime.h>
+-#define TIME_PROC ((long (*)(void *)) Pt_Time)
++#define TIME_PROC ((PmTimestamp (*)(void *)) Pt_Time)
+ #define TIME_START Pt_Start(1, 0, 0) /* timer started w/millisecond accuracy */
+
+ #include <pthread.h>