1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-21 04:06:46 +00:00
freebsd-ports/security/tripwire/files/patch-src-core-archive.cpp
Cy Schubert 25eef83f62 Fix build under clang and gcc 4.8.
Submitted by:	dim
2014-06-15 07:12:26 +00:00

14 lines
569 B
C++

--- src/core/archive.cpp.orig 2011-11-21 17:06:56.000000000 +0100
+++ src/core/archive.cpp 2014-06-15 01:45:01.000000000 +0200
@@ -886,8 +886,8 @@ void cLockedTemporaryFileArchive::OpenRe
catch( eFSServices& e)
{
TSTRING errStr = TSS_GetString( cCore, core::STR_BAD_TEMPDIRECTORY );
- eArchiveOpen e(strTempFile, errStr);
- throw e;
+ eArchiveOpen e2(strTempFile, errStr);
+ throw e2;
}
}
///////////////////////////////////////////////////////////////////////////////