diff --git a/mac/scripts/create_info_header.sh b/mac/scripts/create_info_header.sh index d53451c0a..15aa10999 100755 --- a/mac/scripts/create_info_header.sh +++ b/mac/scripts/create_info_header.sh @@ -20,7 +20,7 @@ done # cd ${TOPLEVEL} mkdir -p mac/build -eval $(gcc -E -dM src/Audacity.h | awk '/#define *AUDACITY_(VERSION|RELEASE|REVISION|MODLEVEL) /{print $2 "=" $3}') +eval $(g++ -E -dM src/Audacity.h | awk '/#define *AUDACITY_(VERSION|RELEASE|REVISION|MODLEVEL) /{print $2 "=" $3}') cat >mac/build/Info.plist.h <uniqueID, mAEffect->version, mAEffect->numParams}; + VstPatchChunkInfo info = {1, mAEffect->uniqueID, mAEffect->version, mAEffect->numParams, ""}; mHost->GetPrivateConfig(group, wxT("UniqueID"), info.pluginUniqueID, info.pluginUniqueID); mHost->GetPrivateConfig(group, wxT("Version"), info.pluginVersion, info.pluginVersion); mHost->GetPrivateConfig(group, wxT("Elements"), info.numElements, info.numElements); @@ -3130,7 +3130,8 @@ bool VSTEffect::LoadFXB(const wxFileName & fn) 1, wxINT32_SWAP_ON_LE(iptr[4]), wxINT32_SWAP_ON_LE(iptr[5]), - wxINT32_SWAP_ON_LE(iptr[6]) + wxINT32_SWAP_ON_LE(iptr[6]), + "" }; // Ensure this program looks to belong to the current plugin @@ -3324,7 +3325,8 @@ bool VSTEffect::LoadFXProgram(unsigned char **bptr, ssize_t & len, int index, bo 1, wxINT32_SWAP_ON_LE(iptr[4]), wxINT32_SWAP_ON_LE(iptr[5]), - wxINT32_SWAP_ON_LE(iptr[6]) + wxINT32_SWAP_ON_LE(iptr[6]), + "" }; // Ensure this program looks to belong to the current plugin