diff options
author | Boris Nagaev <bnagaev@gmail.com> | 2015-08-30 16:50:47 (GMT) |
---|---|---|
committer | Boris Nagaev <bnagaev@gmail.com> | 2015-08-30 16:55:20 (GMT) |
commit | a913f5254d065c34c534355410c83c770410f040 (patch) | |
tree | 228d2708a4f2617368742ec243086429a2f2f8a5 /src/wt-1-fixes.patch | |
parent | 83f9075394a520b0645c5bd4d5c67d3470cb44cc (diff) | |
download | mxe-a913f5254d065c34c534355410c83c770410f040.zip mxe-a913f5254d065c34c534355410c83c770410f040.tar.gz mxe-a913f5254d065c34c534355410c83c770410f040.tar.bz2 |
update package wt from 3.3.1 to 3.3.4
* update WtFindSsl.txt patch
* remove WRasterImage.C patch: the file was removed
* remove fixes for boost: ported to upstream
* add patch for WCartesian3DChart (rename conflicting names)
Diffstat (limited to 'src/wt-1-fixes.patch')
-rw-r--r-- | src/wt-1-fixes.patch | 87 |
1 files changed, 3 insertions, 84 deletions
diff --git a/src/wt-1-fixes.patch b/src/wt-1-fixes.patch index 3b09f3a..057ed55 100644 --- a/src/wt-1-fixes.patch +++ b/src/wt-1-fixes.patch @@ -64,10 +64,10 @@ index cd1e640..b1bbe3d 100644 IF (PANGO_INCLUDE_DIR AND FT2_INCLUDE_DIR diff --git a/cmake/WtFindSsl.txt b/cmake/WtFindSsl.txt -index 3cc42d1..ae64671 100644 +index d99f1df..7c1f70b 100644 --- a/cmake/WtFindSsl.txt +++ b/cmake/WtFindSsl.txt -@@ -94,6 +94,11 @@ IF(WIN32) +@@ -109,6 +109,11 @@ IF(WIN32) AND SSL_LIB_DEBUG AND SSL_TOO_LIB_RELEASE AND SSL_TOO_LIB_DEBUG) @@ -76,90 +76,9 @@ index 3cc42d1..ae64671 100644 + SET(SSL_FOUND true) + SET(SSL_LIBRARIES optimized ${OPENSSL_LIBS}) + ENDIF(SSL_INCLUDE_DIRS AND OPENSSL_LIBS) - ELSE (WIN32) + ELSEIF(APPLE) FIND_LIBRARY(SSL_LIB NAMES -diff --git a/src/Wt/WRasterImage.C b/src/Wt/WRasterImage.C -index 415d27e..7f1ed17 100644 ---- a/src/Wt/WRasterImage.C -+++ b/src/Wt/WRasterImage.C -@@ -39,15 +39,6 @@ - #define M_PI 3.14159265358979323846 - #endif - --#ifdef WIN32 --namespace { -- double round(double x) -- { -- return floor(x + 0.5); -- } --} --#endif -- - namespace { - static const double EPSILON = 1E-5; - --- -1.9.3 (Apple Git-50) - - -From 0904c43ee23d0690d4a872efbbda22839b0ef686 Mon Sep 17 00:00:00 2001 -From: MXE -Date: Mon, 1 Dec 2014 23:28:45 +1100 -Subject: [PATCH 2/2] fixes for boost - -taken from: -http://redmine.emweb.be/issues/3551 - -diff --git a/src/Wt/Dbo/SqlQueryParse.C b/src/Wt/Dbo/SqlQueryParse.C -index abc2c5d..04c6d92 100644 ---- a/src/Wt/Dbo/SqlQueryParse.C -+++ b/src/Wt/Dbo/SqlQueryParse.C -@@ -20,7 +20,7 @@ - #include <boost/spirit/include/phoenix_core.hpp> - #include <boost/spirit/include/phoenix_operator.hpp> - #include <boost/spirit/include/phoenix_object.hpp> --#include <boost/spirit/home/phoenix/statement/throw.hpp> -+#include <boost/phoenix/statement/throw.hpp> - #include <boost/bind.hpp> - #include <iostream> - -diff --git a/src/Wt/Json/Parser.C b/src/Wt/Json/Parser.C -index ea0d3ad..bcc1a34 100644 ---- a/src/Wt/Json/Parser.C -+++ b/src/Wt/Json/Parser.C -@@ -24,7 +24,7 @@ - #include <boost/spirit/include/phoenix_core.hpp> - #include <boost/spirit/include/phoenix_operator.hpp> - #include <boost/spirit/include/phoenix_object.hpp> --#include <boost/spirit/home/phoenix/statement/throw.hpp> -+#include <boost/phoenix/statement/throw.hpp> - #include <boost/bind.hpp> - - #endif // JSON_PARSER -diff --git a/src/Wt/Render/CssParser.C b/src/Wt/Render/CssParser.C -index 4734d1d..48942bd 100644 ---- a/src/Wt/Render/CssParser.C -+++ b/src/Wt/Render/CssParser.C -@@ -34,7 +34,7 @@ using namespace Wt::Render; - #include <boost/fusion/include/adapt_struct.hpp> - #include <boost/variant/recursive_variant.hpp> - #include <boost/spirit/home/support/context.hpp> --#include <boost/spirit/home/phoenix.hpp> -+#include <boost/phoenix.hpp> - #include <boost/spirit/include/classic_file_iterator.hpp> - - #include <map> -@@ -157,8 +157,7 @@ struct fs_error_tag {}; - template< typename Iterator > - struct ErrorReporting - { -- template< typename, typename, typename, typename, typename > // Phoenix v2 -- struct result { typedef void type;}; -+ typedef void result_type; - - ErrorReporting(CssGrammer< Iterator >* grammer) - : grammer_(grammer) -- 1.9.3 (Apple Git-50) |