Index: head/audio/fasttracker2/Makefile =================================================================== --- head/audio/fasttracker2/Makefile (revision 487742) +++ head/audio/fasttracker2/Makefile (revision 487743) @@ -1,56 +1,56 @@ # Created by: Emanuel Haupt # $FreeBSD$ PORTNAME= fasttracker2 -DISTVERSION= 0.1-b123 +DISTVERSION= 0.1-b124 CATEGORIES= audio MASTER_SITES= https://16-bits.org/ \ LOCAL/ehaupt DISTNAME= ft2clone-${PORTVERSION:C/.*b/b/}-code MAINTAINER= ehaupt@FreeBSD.org COMMENT= Fasttracker II clone LICENSE= BSD3CLAUSE CC-BY-NC-SA-4.0 LICENSE_COMB= multi LICENSE_FILE_BSD3CLAUSE= ${WRKSRC}/src/LICENSE.txt LICENSE_FILE_CC-BY-NC-SA-4.0= ${WRKSRC}/src/gfxdata/bmp/LICENSE.txt USES= dos2unix localbase:ldflags zip iconv:wchar_t USE_SDL= sdl2 WRKSRC= ${WRKDIR}/ft2-clone-code DESKTOP_ENTRIES="FastTracker II" \ "${COMMENT}" \ "${PREFIX}/share/pixmaps/ft2-clone.ico" \ "fasttracker2" \ "" \ false PLIST_FILES= bin/fasttracker2 share/pixmaps/ft2-clone.ico OPTIONS_DEFINE= ALSA OPTIONS_DEFAULT=ALSA LDFLAGS+= -lSDL2 -lpthread -lstdc++ -lm -liconv ALSA_LIB_DEPENDS= libasound.so:audio/alsa-lib ALSA_CFLAGS+= -D__LINUX_ALSA__ ALSA_LDFLAGS+= -lasound CFLAGS_i386+= -msse2 do-build: ${CC} ${CFLAGS} ${LDFLAGS} \ ${WRKSRC}/src/rtmidi/*.cpp ${WRKSRC}/src/gfxdata/*.c ${WRKSRC}/src/*.c \ -o ${WRKSRC}/${PORTNAME} do-install: @${MKDIR} ${STAGEDIR}${PREFIX}/share/pixmaps ${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin ${INSTALL_DATA} ${WRKSRC}/src/gfxdata/icon/ft2-clone.ico \ ${STAGEDIR}${PREFIX}/share/pixmaps .include Index: head/audio/fasttracker2/distinfo =================================================================== --- head/audio/fasttracker2/distinfo (revision 487742) +++ head/audio/fasttracker2/distinfo (revision 487743) @@ -1,3 +1,3 @@ -TIMESTAMP = 1545028571 -SHA256 (ft2clone-b123-code.zip) = 6bf9297bd8a9e454477dfe3115b33b7c8974c540feb354499a7d3d90322bfa3f -SIZE (ft2clone-b123-code.zip) = 3462067 +TIMESTAMP = 1545129265 +SHA256 (ft2clone-b124-code.zip) = 0b5b0955c0f49973d8b4f69260edf818ff750503976f49ff7eebb6bc2baee20e +SIZE (ft2clone-b124-code.zip) = 3462244 Index: head/audio/fasttracker2/files/patch-src_ft2__main.c =================================================================== --- head/audio/fasttracker2/files/patch-src_ft2__main.c (revision 487742) +++ head/audio/fasttracker2/files/patch-src_ft2__main.c (revision 487743) @@ -1,18 +1,18 @@ ---- src/ft2_main.c.orig 2018-11-27 19:40:20 UTC +--- src/ft2_main.c.orig 2018-12-18 11:08:11 UTC +++ src/ft2_main.c -@@ -187,15 +187,6 @@ int main(int argc, char *argv[]) - enterFullscreen(); - } +@@ -190,6 +190,7 @@ int main(int argc, char *argv[]) -- //benchmarkAudioChannelMixer(); /* for development testing */ -- -- /* 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) -- { -- cleanUpAndExit(); -- return (1); -- } + //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 */ ++#endif setupWaitVBL(); + while (editor.programRunning)