diff options
author | Daniel Stonier <d.stonier@gmail.com> | 2012-05-02 07:06:54 (GMT) |
---|---|---|
committer | Tony Theodore <tonyt@logyst.com> | 2012-05-02 07:06:54 (GMT) |
commit | 1940a74145dbbe86243068d63312667dd0b46111 (patch) | |
tree | 2b8a5ddb6e905d3278a991b3d47635b963b175f1 /src/log4cxx-3-warnings.patch | |
parent | ae7bd20d37d539dc35a2d9b549320321a1802264 (diff) | |
download | mxe-1940a74145dbbe86243068d63312667dd0b46111.zip mxe-1940a74145dbbe86243068d63312667dd0b46111.tar.gz mxe-1940a74145dbbe86243068d63312667dd0b46111.tar.bz2 |
new packages: apr, apr-util, log4cxx
Diffstat (limited to 'src/log4cxx-3-warnings.patch')
-rw-r--r-- | src/log4cxx-3-warnings.patch | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/src/log4cxx-3-warnings.patch b/src/log4cxx-3-warnings.patch new file mode 100644 index 0000000..c7f0890 --- /dev/null +++ b/src/log4cxx-3-warnings.patch @@ -0,0 +1,20 @@ +This file is part of mingw-cross-env. +See doc/index.html for further information. + +Already applied to log4cxx trunk. + +diff -NBaur vanilla/src/main/include/log4cxx/helpers/objectptr.h mingw_cross/src/main/include/log4cxx/helpers/objectptr.h +--- vanilla/src/main/include/log4cxx/helpers/objectptr.h 2008-04-01 07:34:26.000000000 +0900 ++++ mingw_cross/src/main/include/log4cxx/helpers/objectptr.h 2011-05-09 10:30:03.767560165 +0900 +@@ -28,9 +28,9 @@ + // switching between the initialization styles. + // + #if LOG4CXX_HELGRIND +-#define _LOG4CXX_OBJECTPTR_INIT(x) { exchange(x); ++#define _LOG4CXX_OBJECTPTR_INIT(x) : ObjectPtrBase() { exchange(x); + #else +-#define _LOG4CXX_OBJECTPTR_INIT(x) : p(x) { ++#define _LOG4CXX_OBJECTPTR_INIT(x) : ObjectPtrBase(), p(x) { + #endif + + namespace log4cxx |