Audio plugin host https://kx.studio/carla
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

libgig_fix-build.patch 1.0KB

1234567891011121314151617181920212223242526272829
  1. diff --git a/src/DLS.h b/src/DLS.h
  2. index 065bfe6..6c9d76c 100644
  3. --- a/src/DLS.h
  4. +++ b/src/DLS.h
  5. @@ -515,10 +515,10 @@ namespace DLS {
  6. virtual void Save(const String& Path, progress_t* pProgress = NULL);
  7. virtual void Save(progress_t* pProgress = NULL);
  8. virtual ~File();
  9. - protected:
  10. typedef std::list<Sample*> SampleList;
  11. typedef std::list<Instrument*> InstrumentList;
  12. + protected:
  13. RIFF::File* pRIFF;
  14. std::list<RIFF::File*> ExtensionFiles;
  15. SampleList* pSamples;
  16. diff --git a/src/gig.cpp b/src/gig.cpp
  17. index 6a24f16..902e1ae 100644
  18. --- a/src/gig.cpp
  19. +++ b/src/gig.cpp
  20. @@ -4181,7 +4181,7 @@ namespace {
  21. * @param pGroup - script's new group
  22. */
  23. void Script::SetGroup(ScriptGroup* pGroup) {
  24. - if (this->pGroup = pGroup) return;
  25. + if (this->pGroup == pGroup) return;
  26. if (pChunk)
  27. pChunk->GetParent()->MoveSubChunk(pChunk, pGroup->pList);
  28. this->pGroup = pGroup;