]> git.sur5r.net Git - bacula/bacula/commitdiff
Add missing win32/patches/wxWidgets.patch to 2.4 repository.
authorKern Sibbald <kern@sibbald.com>
Thu, 12 Jun 2008 06:40:58 +0000 (06:40 +0000)
committerKern Sibbald <kern@sibbald.com>
Thu, 12 Jun 2008 06:40:58 +0000 (06:40 +0000)
git-svn-id: https://bacula.svn.sourceforge.net/svnroot/bacula/branches/Branch-2.4@7129 91ce42f0-d328-0410-95d8-f526ca767f89

bacula/src/win32/patches/wxWidgets.patch [new file with mode: 0644]
bacula/technotes-2.3

diff --git a/bacula/src/win32/patches/wxWidgets.patch b/bacula/src/win32/patches/wxWidgets.patch
new file mode 100644 (file)
index 0000000..64afc4d
--- /dev/null
@@ -0,0 +1,67 @@
+diff -ur wxWidgets-2.8.7-rel/build/msw/config.gcc wxWidgets-2.8.7/build/msw/config.gcc
+--- build/msw/config.mingw32   2007-11-21 13:42:45.000000000 +0100
++++ build/msw/config.mingw32   2008-03-11 15:45:30.000000000 +0100
+@@ -11,10 +11,10 @@
+ # -------------------------------------------------------------------------
+ # C compiler 
+-CC := gcc
++CC := mingw32-gcc
+ # C++ compiler 
+-CXX := g++
++CXX := mingw32-g++
+ # Standard flags for CC 
+ CFLAGS := 
+@@ -23,10 +23,10 @@
+ CXXFLAGS := 
+ # Standard preprocessor flags (common for CC and CXX) 
+-CPPFLAGS := 
++CPPFLAGS := -I../../../zlib
+ # Standard linker flags 
+-LDFLAGS := 
++LDFLAGS := -L../../../zlib
+ # The C preprocessor 
+ CPP := $(CC) -E
+@@ -44,7 +44,7 @@
+ MSLU := 0
+ # Type of compiled binaries [debug,release]
+-BUILD := debug
++BUILD := release
+ # Should debugging info be included in the executables? The default value
+ # "default" means that debug info will be included if BUILD=debug
+@@ -131,4 +131,3 @@
+ #     "3" ...... this is for Mingw 2.0 or newer (comes with gcc3)
+ #     "2.95" ... for Mingw 1.1 or any of the older versions [3,2.95]
+ GCC_VERSION := 3
+-
+diff -ur wxWidgets-2.8.7-rel/include/wx/string.h wxWidgets-2.8.7/include/wx/string.h
+--- include/wx/string.h        2007-11-21 13:41:54.000000000 +0100
++++ include/wx/string.h        2008-03-11 15:50:58.000000000 +0100
+@@ -235,7 +235,7 @@
+ #endif
+   // VC++ free must take place in same DLL as allocation when using non dll
+   // run-time library (e.g. Multithreaded instead of Multithreaded DLL)
+-#if defined(__VISUALC__) && defined(_MT) && !defined(_DLL)
++#if 1 || defined(__VISUALC__) && defined(_MT) && !defined(_DLL)
+   void  Unlock() { if ( !IsEmpty() && --nRefs == 0) Free();  }
+   // we must not inline deallocation since allocation is not inlined
+   void  Free();
+diff -ur wxWidgets-2.8.7-rel/src/common/string.cpp wxWidgets-2.8.7/src/common/string.cpp
+--- src/common/string.cpp      2007-11-21 13:41:57.000000000 +0100
++++ src/common/string.cpp      2008-03-11 15:53:17.000000000 +0100
+@@ -140,7 +140,7 @@
+ // wxStringData class deallocation
+ // ===========================================================================
+-#if defined(__VISUALC__) && defined(_MT) && !defined(_DLL)
++#if 1 || defined(__VISUALC__) && defined(_MT) && !defined(_DLL)
+ #  pragma message (__FILE__ ": building with Multithreaded non DLL runtime has a performance impact on wxString!")
+ void wxStringData::Free()
+ {
index ea6aaaab20520184b5e321b9c3faa6084e20130d..c9e32821e72339a3c5aa4ee506f1d657ef7a0455 100644 (file)
@@ -1,6 +1,9 @@
               Technical notes on version 2.2
 
 General:
+12Jun08
+kes  Add missing win32/patches/wxWidgets.patch to 2.4 repository.
+
 Release Version 2.4.0
 04Jun08
 kes  Update version to reflect the magnitude of the SD changes.