svn commit: r553324 - head/audio/hydrogen/files
Alexey Dokuchaev
danfe at FreeBSD.org
Mon Oct 26 08:23:42 UTC 2020
Author: danfe
Date: Mon Oct 26 08:23:41 2020
New Revision: 553324
URL: https://svnweb.freebsd.org/changeset/ports/553324
Log:
Unbreak the build against non-default LIBTAR option.
PR: 248721
Added:
head/audio/hydrogen/files/patch-src_gui_src_SoundLibrary_SoundLibraryExportDialog.cpp (contents, props changed)
Added: head/audio/hydrogen/files/patch-src_gui_src_SoundLibrary_SoundLibraryExportDialog.cpp
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/audio/hydrogen/files/patch-src_gui_src_SoundLibrary_SoundLibraryExportDialog.cpp Mon Oct 26 08:23:41 2020 (r553324)
@@ -0,0 +1,19 @@
+--- src/gui/src/SoundLibrary/SoundLibraryExportDialog.cpp.orig 2020-08-03 19:45:59 UTC
++++ src/gui/src/SoundLibrary/SoundLibraryExportDialog.cpp
+@@ -90,6 +90,7 @@ void SoundLibraryExportDialog::on_exportBtn_clicked()
+ Drumkit* pDrumkit = nullptr;
+
+ QDir qdTempFolder( Filesystem::tmp_dir() );
++ bool TmpFileCreated = false;
+
+ int componentID = -1;
+
+@@ -100,6 +101,8 @@ void SoundLibraryExportDialog::on_exportBtn_clicked()
+ QString temporaryDrumkitXML = qdTempFolder.filePath( "drumkit.xml" );
+ INFOLOG( "[ExportSoundLibrary]" );
+ INFOLOG( "Saving temporary file into: " + temporaryDrumkitXML );
++
++ TmpFileCreated = true;
+
+ for (std::vector<DrumkitComponent*>::iterator it = pDrumkit->get_components()->begin() ; it != pDrumkit->get_components()->end(); ++it) {
+ DrumkitComponent* pComponent = *it;
More information about the svn-ports-head
mailing list