view src/log4cxx-3-warnings.patch @ 5770:c23139e3560e

GraphicsMagick: Build upstream version of dcraw (bug #60664). * src/mingw-graphicsmagick-1-dcraw.patch: Add upstream version of dcraw (as of GraphicsMagick 1.3.36). * src/graphicsmagick.mk: Build (and install) dcraw. * dist-files.mk: Add new file to list.
author Markus Mützel <markus.muetzel@gmx.de>
date Fri, 04 Jun 2021 13:27:22 +0200
parents 51a4ed33302d
children
line wrap: on
line source

This file is part of MXE.
See 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