1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-24 04:33:24 +00:00
freebsd-ports/audio/rezound/files/patch-src_PoolFile_TPoolFile.cpp
Alexey Dokuchaev 44b1e2aafe - Resurrect `audio/rezound' as the days of gcc/libstdc++ mess are gone
(at least on tier-1 architectures)
- Update to version 0.13.1beta which includes many C++ related fixes
  (unfortunately, a number of issues still remain to be patched)
- Let the compiler handle template instantiation of ``TPoolFile'' [1]
- Use native atomics instead of pulling Boost header
- Convert few remaining sed(1) in-place editing to patch files
- Bump FOX toolkit version being used (1.4 -> 1.6)
- Get rid of absolute port origins when specifying dependencies
- Unbreak NLS option (and enable it back by default)

[1] http://bugs.gentoo.org/334797
2017-03-03 16:22:28 +00:00

24 lines
864 B
C++

--- src/PoolFile/TPoolFile.cpp.orig 2013-02-10 06:35:02 UTC
+++ src/PoolFile/TPoolFile.cpp
@@ -20,11 +20,9 @@
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA
*/
-/* this would be needed if I were utilizing gcc's implicit instantiation for TPoolFile
#ifndef __TPoolFile_H__CPP
#error this file must be included through TPoolFile.h NOT compiled on its own
#endif
-*/
/* ???
* There are places that I have to do: container.erase(container.begin+index);
@@ -575,7 +573,7 @@ template<class l_addr_t,class p_addr_t>
invalidateAllCachedBlocks(false,poolId);
// remove poolName with poolId of the parameter
- for(map<string,poolId_t>::const_iterator t=poolNames.begin();t!=poolNames.end();t++)
+ for(map<const string,poolId_t>::const_iterator t=poolNames.begin();t!=poolNames.end();t++)
{
if(t->second==poolId)
{