aboutsummaryrefslogtreecommitdiff
path: root/audio/fasttracker2
diff options
context:
space:
mode:
authorEmanuel Haupt <ehaupt@FreeBSD.org>2019-03-19 07:21:33 +0000
committerEmanuel Haupt <ehaupt@FreeBSD.org>2019-03-19 07:21:33 +0000
commit2de3148744ab2a406af514eb5a221f32a12f1a80 (patch)
treeccb3bc857a8e9b1cf75705393a2434cff16b04c2 /audio/fasttracker2
parenteffd6586da9913bed51d43cb329529ef4c4adee4 (diff)
downloadports-2de3148744ab2a406af514eb5a221f32a12f1a80.tar.gz
ports-2de3148744ab2a406af514eb5a221f32a12f1a80.zip
Notes
Diffstat (limited to 'audio/fasttracker2')
-rw-r--r--audio/fasttracker2/Makefile2
-rw-r--r--audio/fasttracker2/distinfo6
-rw-r--r--audio/fasttracker2/files/patch-src_ft2__main.c24
3 files changed, 16 insertions, 16 deletions
diff --git a/audio/fasttracker2/Makefile b/audio/fasttracker2/Makefile
index 9487f5a63bb8..76b5fe1c3575 100644
--- a/audio/fasttracker2/Makefile
+++ b/audio/fasttracker2/Makefile
@@ -2,7 +2,7 @@
# $FreeBSD$
PORTNAME= fasttracker2
-DISTVERSION= 0.1-b141
+DISTVERSION= 0.1-b142
CATEGORIES= audio
MASTER_SITES= https://16-bits.org/ \
LOCAL/ehaupt
diff --git a/audio/fasttracker2/distinfo b/audio/fasttracker2/distinfo
index 09608519facc..6dd486450caa 100644
--- a/audio/fasttracker2/distinfo
+++ b/audio/fasttracker2/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1552545756
-SHA256 (ft2clone-b141-code.zip) = 7fd87a310d8e702e3d122b203efea3fafadd4be56e58a64c773b7b74b2515b70
-SIZE (ft2clone-b141-code.zip) = 3465021
+TIMESTAMP = 1552979648
+SHA256 (ft2clone-b142-code.zip) = eef18d60defde3c896b9b3690bc56b986501e202ca9d70e5941cd660d3968e8d
+SIZE (ft2clone-b142-code.zip) = 3454824
diff --git a/audio/fasttracker2/files/patch-src_ft2__main.c b/audio/fasttracker2/files/patch-src_ft2__main.c
index d1f092bf8c5d..6a27891e1f47 100644
--- a/audio/fasttracker2/files/patch-src_ft2__main.c
+++ b/audio/fasttracker2/files/patch-src_ft2__main.c
@@ -1,18 +1,18 @@
---- src/ft2_main.c.orig 2018-12-18 11:08:11 UTC
+--- src/ft2_main.c.orig 2019-03-19 07:15:21 UTC
+++ src/ft2_main.c
-@@ -190,6 +190,7 @@ int main(int argc, char *argv[])
+@@ -188,6 +188,7 @@ int main(int argc, char *argv[])
- //benchmarkAudioChannelMixer(); /* for development testing */
+ //benchmarkAudioChannelMixer(); // for development testing
+#ifndef __FreeBSD__
- /* set up MIDI input (in a thread because it can take quite a while on f.ex. macOS) */
- initMidiThread = SDL_CreateThread(initMidiFunc, "FT2 Clone MIDI Initialization Thread", NULL);
- if (initMidiThread == NULL)
-@@ -199,6 +200,7 @@ int main(int argc, char *argv[])
- return (1);
- }
- SDL_DetachThread(initMidiThread); /* don't wait for this thread, let it clean up when done */
+ // set up MIDI input (in a thread because it can take quite a while on f.ex. macOS)
+ initMidiThread = SDL_CreateThread(initMidiFunc, NULL, NULL);
+ if (initMidiThread == NULL)
+@@ -197,6 +198,7 @@ int main(int argc, char *argv[])
+ return (1);
+ }
+ SDL_DetachThread(initMidiThread); // don't wait for this thread, let it clean up when done
+#endif
- setupWaitVBL();
- while (editor.programRunning)
+ SDL_EventState(SDL_DROPFILE, SDL_ENABLE);
+