Date: Sat, 7 Jul 2018 14:14:15 +0000 (UTC) From: Dmitry Marakasov <amdmi3@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r474088 - head/audio/spiralloops/files Message-ID: <201807071414.w67EEFa0051955@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: amdmi3 Date: Sat Jul 7 14:14:15 2018 New Revision: 474088 URL: https://svnweb.freebsd.org/changeset/ports/474088 Log: - Fix build with clang 6 Modified: head/audio/spiralloops/files/patch-SpiralLoops.C Modified: head/audio/spiralloops/files/patch-SpiralLoops.C ============================================================================== --- head/audio/spiralloops/files/patch-SpiralLoops.C Sat Jul 7 14:14:06 2018 (r474087) +++ head/audio/spiralloops/files/patch-SpiralLoops.C Sat Jul 7 14:14:15 2018 (r474088) @@ -1,6 +1,6 @@ ---- SpiralLoops.C.orig Thu Apr 19 13:48:11 2001 -+++ SpiralLoops.C Thu May 23 02:16:36 2002 -@@ -308,7 +308,7 @@ +--- SpiralLoops.C.orig 2001-04-19 20:48:11 UTC ++++ SpiralLoops.C +@@ -308,7 +308,7 @@ int Loops::LinkPlugin() Run = (Sample *(*)()) dlsym(handle, "Run__Fv"); @@ -9,3 +9,21 @@ { cerr<<"Error linking to plugin:"<<endl; fputs(error, stderr); +@@ -467,7 +467,7 @@ inline void Loops::cb_Load_i(Fl_Button* + { + char *fn=fl_file_chooser("Load a Workspace", "*.lws", NULL); + +- if (fn && fn!='\0') ++ if (fn && *fn!='\0') + { + ifstream inf(fn); + +@@ -504,7 +504,7 @@ inline void Loops::cb_Save_i(Fl_Button* + { + char *fn=fl_file_chooser("Save a Workspace", "*.lws", NULL); + +- if (fn && fn!='\0') ++ if (fn && *fn!='\0') + { + ofstream of(fn); +
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201807071414.w67EEFa0051955>