Update to 0.1.b142

This commit is contained in:
Emanuel Haupt
2019-03-19 07:21:33 +00:00
parent effd6586da
commit 2de3148744
3 changed files with 16 additions and 16 deletions

View File

@@ -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

View File

@@ -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

View File

@@ -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);